evm_call
Execute read-only smart contract calls on supported EVM chains without creating a transaction, enabling AI agents to query contract state.
Instructions
Execute a read-only contract call without creating a transaction
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": {
"chain": "<chain>",
"to": "<to>",
"data": "<data>"
},
"name": "evm_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Contract address | |
| data | Yes | Encoded function call data | |
| from | No | Sender address (optional) | |
| chain | Yes | ||
| value | No | Value to send in wei | |
| blockTag | No | Block number or "latest" |