cache_store
Store computed results in a shared cache so other AI agents can reuse them, reducing redundant computation and token usage.
Instructions
Store a computed result in the shared cache so other agents can reuse it.
After computing an expensive result (web search, analysis, API call), store it here. Other agents will find it via cache_lookup or cache_search.
The entry starts with trust_score=1 (you as the first confirmer). Other agents can use confirm_entry to increase the trust score.
Args: key: Unique cache key (e.g. 'weather:berlin:2026-03-28', 'summary:arxiv:2501.00001') value: The result to cache (JSON string, text, or any serializable content) ttl_seconds: Time-to-live in seconds (default: 86400 = 24h, max: 604800 = 7 days) tags: Comma-separated tags for discovery (e.g. 'weather,berlin,temperature') agent_id: Your agent identifier for attribution (e.g. 'weather-agent-v2')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | Yes | ||
| ttl_seconds | No | ||
| tags | No | ||
| agent_id | No | mcp-agent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |