Send a contract call
send_transactionSend a raw contract call from the agent wallet; Holdfast checks it against owner policy before signing.
Instructions
Send a raw contract call from the agent wallet (calldata already encoded). Prefer transfer_token or send_native for simple transfers. Every transaction is checked by Holdfast against the owner's policy before it is signed. If a request is blocked, do not retry it in a different form or split it up; tell the user what was blocked and why.
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": {
"to": "<to>",
"data": "<data>"
},
"name": "send_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Contract address | |
| data | Yes | 0x-prefixed calldata | |
| value | No | ETH to attach, e.g. "0.01" (default 0) | |
| max_spend_usd | No | The most this should cost in USD. Holdfast blocks it if it would cost more. Always set this when the calldata came from an API or website. |