Call Real-Time Web Data Endpoint
call_endpointExecutes read-only AgentAPIGate endpoints by endpoint ID, with optional params and budget limit, returning compact LLM-ready output to reduce context tokens.
Instructions
Execute any read-only AgentAPIGate endpoint (e.g. search.google.web, web.extract.markdown, youtube.video.transcript) and return compact LLM-ready output (-60% to -88% context tokens).
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": {
"endpoint_id": "<endpoint_id>"
},
"name": "call_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output compression format ("md", "compact", or "json"). Defaults to "md". | md |
| params | No | Endpoint request arguments matching get_endpoint_schema, e.g. {"q":"MCP servers","limit":5}. | |
| endpoint_id | Yes | Target endpoint ID from search_endpoints, e.g. "search.google.web". | |
| max_cost_usd | No | Optional per-call USD ceiling, e.g. 0.005. |