fetch
Fetch a URL's content, optionally limiting response size or returning raw HTML. Results are inspected for prompt injection before reaching your agent.
Instructions
Calls the 'fetch' tool on the upstream MCP server. Pass arguments as keyword arguments matching the upstream tool's input schema. For the fetch tool: url (required, string) is the URL to retrieve; max_length (optional, int) limits response size; raw (optional, bool) returns HTML instead of markdown. Arc Gate inspects all results for prompt injection before they reach your agent. Policy: balanced. No authentication required. Blocked results return an error string.
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": {
"kwargs": "<kwargs>"
},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kwargs | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |