mcp: add ttl for list results (SEP-2549) (#1008)

Fixes #994
This commit is contained in:
Guglielmo Colombo 2026-06-18 15:20:21 +02:00 • committed by GitHub
commit 6333aa7c63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,6 +64,8 @@ inc
"jsonrpc": "2.0",
"id": 2,
"result": {
"ttlMs": 0,
"cacheScope": "public",
"tools": [
{
"description": "say hi",
@ -169,6 +171,8 @@ inc
"jsonrpc": "2.0",
"id": 3,
"result": {
"ttlMs": 0,
"cacheScope": "public",
"resources": []
}
}
@ -176,6 +180,8 @@ inc
"jsonrpc": "2.0",
"id": 4,
"result": {
"ttlMs": 0,
"cacheScope": "public",
"prompts": []
}
}