GitHub

ToolsWithCacheHint

API reference for ToolsWithCacheHint.

The result of McpClientService.list_tools_with_cache_hint.

Attributes

AttributeTypeDescription
toolslist[McpTool]
cache_hintListCacheHint | None

The whole list's hint (Effect's cacheHint): None before 2026-07-28, or when the server does not advertise tools.

Functions

__init__

__init__(tools, cache_hint) -> None
ParameterTypeDescription
toolslist[McpTool]
cache_hintListCacheHint | None