intentApprove
Create an intent to approve token spending for a specified spender and amount on Ethereum-based networks.
Instructions
Creates an intent to approve token spending
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": {
"token": "<token>",
"amount": "<amount>",
"spender": "<spender>"
},
"name": "intentApprove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The token address | |
| amount | Yes | The amount to approve | |
| spender | Yes | The spender address to approve | |
| chainId | No | Optional specific chain to use |