Introspect a DeXe subgraph schema
dexe_graph_schemaIntrospect DeXe subgraph schemas to resolve valid GraphQL query fields, where filters, and orderBy values, returning ranked candidates when names are unknown.
Instructions
Read-only. Live introspection of a DeXe subgraph schema — the valid names for a GraphQL query, e.g. after "Type 'X' has no field 'Y'". Omit entity for the root query field map (each entity -> the field name to query it by); pass entity for that type's fields, '_filter' for valid where: keys, '_orderBy' for valid orderBy: values. An unknown name returns ranked candidates. chainId picks the endpoint (pools: 56, validators: 56, interactions: 56; default 56); the reply echoes indexedChainId, never another chain's rows.
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": "<subgraph>"
},
"name": "dexe_graph_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | No | Type name to expand, e.g. 'Proposal', 'VoterInPool', 'DaoPool_filter', 'Proposal_orderBy'. Omit for the root query field map. | |
| chainId | No | Chain to read from: 56 mainnet, 97 testnet. Needs an RPC for it. Default: the configured chain. | |
| subgraph | Yes | Which DeXe subgraph to introspect |