query_subgraph
Query any Predict.fun subgraph with a custom GraphQL query for advanced data not covered by other tools.
Instructions
Run a custom GraphQL query against any Predict.fun subgraph. Use this for advanced queries not covered by other tools.
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>",
"graphql_query": "<graphql_query>"
},
"name": "query_subgraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subgraph | Yes | Which subgraph to query | |
| graphql_query | Yes | The GraphQL query string |