fomo_request_swap_quote
Request a swap quote by specifying input token, output token, and amount in base units. Returns the expected output amount for the token pair.
Instructions
Quote a swap. Token ids are :, amount in base units
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": {
"inTokenId": "<inTokenId>",
"outTokenId": "<outTokenId>",
"amount": "<amount>"
},
"name": "fomo_request_swap_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| inTokenId | Yes | ||
| outTokenId | Yes |