Search Unraid GraphQL schema
searchDiscover Unraid GraphQL operations by writing JavaScript code against the schema index.
Instructions
Search the Unraid GraphQL schema by writing JavaScript.
The sandbox is read-only — no network. Use this tool to discover what to call before invoking execute.
Globals
index—{ namespace, title, version, sourceUrl, operations[], types }. Each operation is the compact form:{ kind: 'query'|'mutation', namespace: 'local', name, description, args, returnType, returnTypeFields, deprecated }.unraid.local— same shape asindexfor parity with the execute tool. May benullif no spec is loaded.searchOperations(query, limit?)— text-ranked search across name, description, args, and return type.getOperation(name)— full operation info including arg types and return-type field hints.findOperationsByName(substring)— list operations whose name contains the substring (case-insensitive).getType(typeName)— full named-type info (fields for OBJECT/INTERFACE/INPUT_OBJECT, members for UNION, enumValues for ENUM).console.log()— captured into the tool output.
Examples
// All queries that mention "docker"
searchOperations('docker', 20).map(function (op) { return op.name; });// Full detail on the `info` query
getOperation('info');// Inspect the Array type to see its fields
getType('Array');Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | JavaScript code to execute against the operation index. The final expression is returned. |