Get subgraph schema (paid)
get_subgraph_schemaDiscover a subgraph's root queryable entities via GraphQL introspection. Determine available queries before composing a real query.
Instructions
List a subgraph's root queryable entities via GraphQL introspection (a paid x402 query). Use to learn what's queryable before composing a real query.
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": {
"subgraph_id": "<subgraph_id>"
},
"name": "get_subgraph_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subgraph_id | Yes | Subgraph ID |