Raw GraphQL Query
graphql_queryRun an arbitrary GraphQL query against the Unraid API and return raw JSON for fields not covered by dedicated tools; documents are schema-validated before sending.
Instructions
Advanced escape hatch. Runs an arbitrary GraphQL query operation against the Unraid API and returns the raw JSON data, for API fields no dedicated tool covers yet (registration, the flash drive, rclone remotes, Unraid Connect, share details, ...). Prefer the dedicated tools when one exists: they encode server quirks this passthrough does not. Only query operations are accepted; mutations must go through graphql_mutation and subscriptions are unsupported. Every document is validated against the vendored schema before it is sent (typos get did-you-mean hints); pass dry_run: true to validate only. The schema is in this package's schema/unraid.graphql. Results are subject to the API key's permissions; oversized results are head-truncated, so narrow the selection or page.
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": "graphql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | GraphQL document containing exactly one `query` operation. | |
| dry_run | No | `true` validates the document against the vendored schema and returns without sending it. | |
| variables | No | Values for the variables the document declares, keyed by name without the `$`. |