Skip to content

Support MCP tools caching #178

Description

@NicoleMGomes

Describe the Problem

When listing tools, cache should be enabled and evicted when case consumer want.

Note: It should use similar approach for what is already in place for token caching

Propose a Solution

# caches MCP tools for 600 ms and resets in case callback_to_evict is called
options = { ttl="600", envict=callback_to_evict }
agw_client.list_tools(cache=options)

Describe Alternatives

No response

Affected Development Phase

Development

Impact

No Impact

Timeline

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions