create_intent
Create a conversion or gas_topup intent; the executor pipeline plans and fills it under policy. Auth required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wallet": "<wallet>",
"kind": "<kind>",
"sell_token": "<sell_token>",
"buy_token": "<buy_token>",
"sell_amount": "<sell_amount>"
},
"name": "create_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| venues | No | optional venue override | |
| wallet | Yes | wallet address | |
| buy_token | Yes | ERC-20 address being bought | |
| sell_token | Yes | ERC-20 address being sold | |
| sell_amount | Yes | base units, decimal string | |
| max_slippage_bps | No | optional per-intent slippage cap |