Prepare a Morpho vault withdrawal
prepare_morpho_vault_withdrawPrepare a direct Morpho Vault V2 withdrawal for an exact underlying-asset amount from a fixed vault. Current shares, liquidity, permissions, and vault state are established by direct agent discovery and exact wallet simulation.
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>",
"amount": "<amount>"
},
"name": "prepare_morpho_vault_withdraw"
}
}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 | |
| amount | Yes | Exact underlying-asset amount to withdraw in base units (positive decimal integer) | |
| sender | Yes | Wallet that will execute the Morpho action (address) | |
| 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 |