cacheserve
Fetch a URL with caching to avoid repeated requests. Returns cached version if recent, otherwise fetches and caches with configurable TTL.
Instructions
[$0.001 USDC] Fetch a URL with caching. Returns cached version if recent, otherwise fetches and caches. Use before any fetch that might be repeated.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "cacheserve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| ttl_seconds | No |