fetch
Retrieve authenticated in-browser resources using relative, absolute, or blob URLs, and set save_path to write binary or PDF responses to disk without adding them to context.
Instructions
Execute an authenticated in-browser fetch (supports relative, absolute, and blob: URLs). Pass save_path to write binary/PDF responses to disk without entering 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": {
"url": "<url>"
},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | ||
| url | Yes | ||
| body | No | ||
| method | No | GET | |
| headers | No | ||
| save_path | No | ||
| max_length | No | ||
| timeout_ms | No | ||
| response_type | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |