transfer_tokens
Transfer tokens to a specified recipient account on Hedera. Validates OTP codes for secure transactions when two-factor authentication is enabled.
Instructions
Step 2: Execute the token transfer. If OTP is enabled on your key (default), provide otpCode and transactionRef from request_transfer_otp. If OTP is disabled, these fields are not required.
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": {
"tokenId": "<tokenId>",
"recipientAccountId": "<recipientAccountId>",
"amount": "<amount>"
},
"name": "transfer_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to transfer (same as request_transfer_otp) | |
| otpCode | No | 6-digit OTP code from email | |
| tokenId | Yes | Hedera token ID (same as request_transfer_otp) | |
| tokenSymbol | No | Optional token symbol | |
| transactionRef | No | Transaction reference from request_transfer_otp response | |
| recipientAccountId | Yes | Recipient identifier (same as request_transfer_otp) |