http_read
Retrieve cached HTTP response bodies, apply jq masks to extract specific fields, and save binary data to disk instead of inlining.
Instructions
Read a cached response body, optionally filtered through a jq mask. Tip: lead with length (e.g. mask: ".data | length") to learn the size before listing items. Required for binary bodies — pass save_to to stream the body to disk; binaries are never inlined into your context.
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": {
"cache_id": "<cache_id>"
},
"name": "http_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache_id | Yes | ||
| mask | No | jq expression; valid only for JSON bodies. | |
| output_mode | No | Default 'all'. | |
| save_to | No | Required for binary bodies. |