withdraw
Withdraw supplied assets from the Tydro lending protocol using asset symbol or address. Use 'max' to withdraw full balance.
Instructions
Withdraw supplied assets from Tydro. Use amount "max" to withdraw full balance. Requires PRIVATE_KEY env var.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset symbol or address to withdraw | |
| amount | Yes | Amount to withdraw in human units, or "max" to withdraw all |