api_get
Run a read-only GET API operation by api_find id, trimming list results with pick and max_items; rejects non-GET requests.
Instructions
Run a READ-ONLY (GET) operation from api_find by id. site_id is filled from the current site. Use pick / max_items to keep the result small. Refuses anything that is not a GET.
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": "api_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Operation id from api_find (preferred) | |
| path | No | Catalog path with :params, e.g. /api/v1/dashboard/site/:site_id/product_tags/all | |
| pick | No | Keep only these fields on each item of a list result (or on a single object) | |
| query | No | Query-string values | |
| method | No | With path, when id is not given | |
| max_items | No | Cap list results (default 50) | |
| path_params | No | Values for :params in the path; site_id defaults to the current site |