contract_call
Execute smart contract functions on TRON by providing the contract address, function name, and parameters, with an optional fee limit.
Instructions
Call a smart contract function
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>"
},
"name": "contract_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feeLimit | No | Fee limit in SUN (optional) | |
| parameters | No | Function parameters | |
| functionName | Yes | Function name to call | |
| contractAddress | Yes | Smart contract address |