prepare_token_send
Build an unsigned ERC-20 transfer transaction for sending tokens. Supports sending full balance with 'max' and resolves token symbol ambiguities between native and bridged variants.
Instructions
Build an unsigned ERC-20 transfer transaction. Pass amount: "max" to send the full balance (resolved at build time). If the user named the token by symbol, call resolve_token first to disambiguate native-vs-bridged variants (USDC vs USDC.e on Arbitrum/Polygon/Optimism, USDC vs USDbC on Base) and surface the warning to the user before committing to a contract.
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": {
"wallet": "<wallet>",
"token": "<token>",
"to": "<to>",
"amount": "<amount>"
},
"name": "prepare_token_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | ||
| chain | No | ethereum | |
| token | Yes | ||
| to | Yes | ||
| amount | Yes | Human-readable decimal amount, NOT raw wei/base units. Example: "10" for 10 USDC. Decimals resolved from the token contract. Pass "max" to send the full balance. |