ava_plan_standing
Turn a request for REPEATED autonomous action into an envelope of bounds the user signs once. Use this instead of ava_plan_workflow when the request describes a cadence: "every hour, rotate my USDC into the best yield on Base using Aave and Morpho, never move more than 200 per rotation, never exceed 1000 total, stop after 30 days". Asking a human to approve each rotation would defeat the point, so the user authorizes LIMITS rather than a plan: allowed operations, venues, chains, per-move and cumulative caps, a minimum gain that stops the agent churning capital for fees, an expiry, and revocation. Every bound must come from the user: anything missing is returned in missing and the envelope is NOT signable until supplied. minGainBps is required from you because users say "the best yield" rather than a basis-point floor, and Ava must not choose how much of their money goes to gas. Returns the envelope unsigned; nothing is authorized until the user signs it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | ||
| message | Yes | The user's request, verbatim. | |
| minGainBps | No | Minimum improvement, in basis points, a rotation must beat to be worth its fees. Ask the user; do not invent it. |