Skip to content

Result Caching

Router mode supports in-memory caching of successful action=call responses.

{
"resultCache": {
"enabled": true,
"maxEntries": 100,
"defaultTtlMs": 300000,
"cacheTtl": {
"todoist:find-tasks": 60000
}
}
}
  • Cache key: server:tool:stableJson(params)
  • Errors are never cached
  • action=refresh clears cache
  • LRU eviction when maxEntries is reached

Use shorter TTLs for highly dynamic tools and longer TTLs for slow/expensive reads.