call_contract
Execute a smart contract function on the Rootstock blockchain by providing the contract address, function name, arguments, and ABI.
Instructions
Call a contract function on Rootstock Network
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": {
"contractAddress": "<contractAddress>",
"functionName": "<functionName>",
"abi": "<abi>"
},
"name": "call_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractAddress | Yes | The address of the contract to call | |
| functionName | Yes | The name of the function to call | |
| functionArgs | No | The arguments to pass to the function | |
| abi | Yes | The ABI of the contract |