Run a GraphQL query against the Snapshot hub
snapshot_queryRuns custom GraphQL queries against the Snapshot hub API to fetch proposals, votes, spaces, users, and strategies not covered by fixed read tools.
Instructions
Runs any GraphQL query against the Snapshot hub API — spaces, proposals, votes, follows, users, strategies, anything the schema exposes — for questions the fixed read tools do not cover (a space's full vote history, who follows it, strategy parameters, cross-space voter lookups). The tool only sends query operations — mutations and subscriptions are rejected. Use first/skip and select only the fields you need: responses over 1 MB are refused, and results over 50k characters are truncated. Schema reference: https://docs.snapshot.box.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | GraphQL query, e.g. "query { space(id: \"ens.eth\") { name followersCount } }" | |
| variables | No | Values for the query's $variables, if it declares any |