McpServer.setListCacheHint

Configure the per-list draft CacheableResult freshness hint (ttlMs/cacheScope) emitted on a specific */list result when speaking the draft protocol. listMethod MUST be one of tools/list, resources/list, resources/templates/list, or prompts/list. Per-resource and per-template hints are supplied at registration time instead.

class McpServer
@safe
void
setListCacheHint