GitHub

CacheHints

API reference for CacheHints.

A CacheHint per 2026-07-28 result kind: server/discover, tools/list, resources/list, resources/templates/list, prompts/list, and skills for the Skills extension's results. Omitted kinds, and resources/read, keep ttlMs: 0. Earlier revisions have no cache hints.

These are hints: the server caches nothing, and visibility checks still run on every request. A positive ttl lets a client keep showing a list after it changed, until the hint expires; a client shared between users may reuse one user's list for another.

Attributes

AttributeTypeDescription
discoverCacheHint
toolsCacheHint
resourcesCacheHint
resource_templatesCacheHint
promptsCacheHint
skillsCacheHint