Call a vendor's API with your credentials
call_vendorInvokes a vendor API using the user's hidden credentials and returns the response; blocks data-changing requests unless writes are explicitly allowed. Large answers stay behind a handle for retrieval.
Instructions
Call a vendor's API with the user's credentials (never shown) and return its answer as sent. Writes are refused unless 'allow_writes' is true and the server allows them. A large answer stays behind the handle for 'fetch_raw'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "call_vendor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | For a raw call: the JSON body. | |
| host | No | For a raw call: one of the vendor's other named hosts, if not its main one. | |
| path | No | For a raw call: a path on the vendor's API, starting with '/'. | |
| query | No | For a raw call: query parameters. | |
| method | No | For a raw call. | |
| params | No | The endpoint's own inputs, named as vendor_endpoint lists them. An undeclared one is refused. | |
| vendor | No | For a raw call: the vendor's slug. | |
| endpoint | No | A catalog endpoint id, its inputs in 'params'; or give 'vendor', 'method' and 'path'. | |
| allow_writes | No | Required to change data. Ask the user first, and dry-run (validateOnly etc.) before. |