query_aave_subgraph
Execute raw GraphQL queries against any AAVE subgraph to retrieve lending protocol or governance data not covered by pre-built tools.
Instructions
Use this when a pre-built tool doesn't cover the user's need — execute a raw GraphQL query against any AAVE chain's subgraph. Use get_aave_schema first to explore available entities and fields. Lending schema entities: reserves, userReserves, borrows, supplies (V3) / deposits (V2), repays, liquidationCalls, flashLoans, pool, protocol, reserveParamsHistoryItems. Governance schema entities: proposals, proposalVotes_collection, payloads, votingPortals, votingConfigs, proposalMetadata_collection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain identifier (includes 'governance') | |
| query | Yes | GraphQL query string | |
| variables | No | Optional GraphQL variables |