跳转到内容

invalidateServerToolsCache

此内容尚不支持你的语言。

function invalidateServerToolsCache(serverName): Promise<void>;

Remove cached tools for the given server so the next lookup fetches fresh data.

Parameter Type Description

serverName

string

Name of the MCP server whose cache should be cleared.

Promise<void>