Prepare a Morpho vault redemption
prepare_morpho_vault_redeemPrepare a direct Morpho Vault V2 redemption for an exact share amount. Prefer redeem for full exits so the user's complete fresh share balance can be bound without asset/share rounding dust.
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": {
"chain_id": "<chain_id>",
"sender": "<sender>",
"vault": "<vault>",
"shares": "<shares>"
},
"name": "prepare_morpho_vault_redeem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | No | Vault-share owner; defaults to sender (address) | |
| vault | Yes | Exact Morpho Vault V2 address returned by get_morpho_vaults | |
| sender | Yes | Wallet that will execute the Morpho action (address) | |
| shares | Yes | Exact vault-share amount to redeem in base units (positive decimal integer) | |
| chain_id | Yes | Chain returned by get_morpho_vaults | |
| recipient | No | Underlying-asset recipient; defaults to sender (address) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |