ava_copilot_turn
Natural-language copilot turn: message → intent → plan → testnet quote. Example: Swap 10 USDC to SUI on sui with 50 bps slip. Returns actions with approve_execute + executionId. Optional agentId/agentCredential for KYA gate (fail closed on reject). Does NOT fill until ava_approve_execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| portal | No | ||
| userId | No | ||
| agentId | No | Optional agent id; uses a default testnet-scoped KYA credential when full agentCredential is omitted. | |
| message | Yes | ||
| agentCredential | No | Optional ava.kya.agent-credential.v1 object for KYA evaluation. |