get_subgraph_schema
Fetch the full GraphQL introspection schema for any Polymarket subgraph (main, activity, orderbook, etc.) to discover available entities and fields for querying prediction market data.
Instructions
Get the full GraphQL schema (introspection) for a Polymarket subgraph
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": "get_subgraph_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subgraph | Yes | Subgraph identifier: main, beefy_pnl, slimmed_pnl, activity, or orderbook |