generate_indexer
Create subgraph code to index Arbitrum smart contracts for The Graph, enabling blockchain data querying and analysis.
Instructions
Generate subgraph code for indexing Arbitrum contracts with The Graph.
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": {
"prompt": "<prompt>"
},
"name": "generate_indexer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the indexing requirements | |
| template | No | Type of subgraph template to use | |
| contract_address | No | Contract address to index | |
| contract_abi | No | Contract ABI JSON string for custom events | |
| start_block | No | Block number to start indexing from | |
| network | No | Network to deploy the subgraph | arbitrum-sepolia |