postGraphQL
Execute GraphQL queries and mutations on Centia schemas with dynamic variables and operation selection.
Instructions
Run a GraphQL query or mutation.
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": {
"schema": "<schema>",
"query": "<query>"
},
"name": "postGraphQL"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Schema name. | |
| query | Yes | GraphQL query string. Queries read data; mutations modify data. | |
| variables | No | Variables object for the GraphQL query. | |
| operationName | No | Operation name to execute when the document contains multiple operations. |