withdrawFromYearnVault
Withdraw tokens from a Yearn vault on Katana chain by specifying vault address and amount. Supports withdrawal by asset or share amount.
Instructions
Withdraw tokens from a Yearn vault on Katana chain
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": {
"vaultAddress": "<vaultAddress>",
"amount": "<amount>"
},
"name": "withdrawFromYearnVault"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of underlying tokens to withdraw (in token units, e.g., '1.5') | |
| vaultAddress | Yes | Address of the Yearn vault to withdraw from | |
| withdrawType | No | Whether to withdraw by asset amount or share amount | assets |