Quote from plain English
quote_from_textGet a quote from a plain-English request like '25 USDC on solana to ETH on base' or 'swap 0.1 BTC for SOL'. Same output as get_quote.
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": {
"request": "<request>"
},
"name": "quote_from_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | e.g. '25 USDC on solana to ETH on base' | |
| referrer | No | Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same. |