ava_lend_execute
Execute a REAL lend against one of your mandates. Routes Ava has already settled a mainnet transaction on: Morpho Blue on Base, and Aave v3 on Monad, BNB Chain and Avalanche. Aave v3 on Arbitrum One is wired through the identical pipeline and address-verified, but nothing has ever settled there, so do not describe it as proven. Aave v3 on Optimism and Base, and Compound v3 on Base and Arbitrum, are wired and address-verified but operator-disabled until each settles a real transaction, so calls on those routes refuse at the capability gate. This is the only MCP tool that moves live capital. Two-phase by design: call it once WITHOUT previewHash to receive the exact artifact a human must approve plus its hash, show that to the human, then call again WITH that previewHash. Your call is never treated as the human's confirmation, because you are not the person whose money moves. Only a settlement verified against the venue's own on-chain event returns a txHash; anything else has no txHash field at all, so a draft can never be narrated as a fill.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | Supply into the venue or withdraw from it. Defaults to supply. | |
| venue | No | Venue selector for chains carrying more than one wired lend venue. Absent keeps the chain's default: Base -> Morpho, every Aave v3 chain -> Aave v3. On Base, name aave_v3 or compound to reach those routes; naming a venue the chain does not carry refuses rather than rerouting. | |
| amount | No | Human decimal amount of the mandate's asset. Defaults to the mandate's full capital when omitted. | |
| portal | No | ||
| userId | Yes | ||
| mandateId | Yes | The mandate authorising this capital. Required: Ava will not choose which of the user's authorisations to spend. From ava_create_mandate or ava_list_mandates. | |
| previewHash | No | The hash returned by the first call, after a human approved that exact artifact. Omit on the first call. | |
| idempotencyKey | No | Your own key for this economic action. Supply the SAME key when retrying: a fresh key per attempt makes every retry look new, which is exactly what defeats single-flight protection. Required for the compound route, whose reservation is durable. |