ava_plan_workflow
Turn ONE natural-language DeFi request into the dependent actions it actually contains, across one chain or several. Example: "Supply 300 USDC to Morpho on Base, bridge no more than 200 to Avalanche, then supply what arrives to Aave" returns three legs with the third depending on the second and taking its amount from what the bridge actually delivered, not a plan-time guess. Same-chain works identically: "swap 100 USDC to WETH on Base then supply the WETH to Aave" records the swap OUTPUT token so the second leg is denominated in WETH. Plans nothing it cannot execute: a clause naming an unsupported operation, an unnamed venue, a zero or negative amount, or one amount split across venues comes back in unsupported with a reason rather than being guessed at. Signs nothing and moves nothing. Every leg reports executable so you can see what Ava could actually run today.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | ||
| message | Yes | The user's request, verbatim. Do not pre-parse it. |