Query graphql
query-graphqlExecute a read-only GraphQL query against the extensions endpoint.
WHEN TO USE:
For typed reads of extensions data (roboledger, roboinvestor)
After get-graphql-schema, which lists the fields to query and returns any type in full
PARAMETERS:
query: the GraphQL query string. Mutations and subscriptions are rejected.graph_id is set from context — never pass it as a query argument. The schema already reflects the graph_id from the URL.
RETURNS: The query result, shaped by the fields requested.
NOTES: A minimal query looks like { fiscalCalendar { closedThrough closeTarget } }.
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": {
"query": "<query>"
},
"name": "query-graphql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | GraphQL query string to execute. | |
| variables | No | Optional variable values for the query. | |
| operationName | No | Optional operation name for multi-operation documents. |