Call any Stockbit read endpoint
api_getRetrieve Stockbit data by calling one GET endpoint from the catalog by ID, filling path placeholders and query parameters; returns the endpoint's data field.
Instructions
Calls one GET endpoint from api_catalog by its id. Path parameters fill the {placeholders}; query parameters use the names api_catalog lists (for documented endpoints, unknown names are refused). Returns Stockbit's data field. Prefer a dedicated tool when one exists.
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": "api_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Query parameters; a list sends the key once per item. | |
| endpoint_id | Yes | The id from api_catalog, e.g. get_broker_summary_v2. | |
| path_params | No | Values for the {placeholders} in the path. |