withdraw_compound
Withdraw supplied assets from Compound V3 Comet USDC market. Specify token address and amount, or use 'max' for full withdrawal.
Instructions
Withdraws a previously supplied asset from Compound V3 (Comet USDC market). Pass "max" as the amount to withdraw your entire balance.
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": {
"asset": "<asset>",
"amount": "<amount>"
},
"name": "withdraw_compound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | ERC-20 token address to withdraw. | |
| amount | Yes | Amount to withdraw. Use "max" to withdraw entire balance. | |
| chain_id | No | Chain ID. Default: 1 (Ethereum mainnet). |