parse_intent
Parse a plain-English swap request into a structured intent with intent type and entities. Convert natural language into actionable swap data.
Instructions
Parse a plain-English swap request (e.g. "swap 100 USDC for ETH on Optimism") into a structured intent: { intent: "swap"|"unknown", entities: [{type: sellToken|buyToken|amount|chain, value, raw}] }. Backed by the live Ophis parser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The natural-language swap request. |