Base swap quote
base_swap_quoteBase (EVM) swap via 0x with the app fee included. Returns status 'coming_soon' while Base trading is switched off. With a taker it returns a firm quote with an UNSIGNED transaction for the agent's own wallet.
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": {
"sellToken": "<sellToken>",
"buyToken": "<buyToken>",
"sellAmount": "<sellAmount>"
},
"name": "base_swap_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taker | No | Optional PUBLIC 0x address of the signing wallet | |
| buyToken | Yes | ||
| sellToken | Yes | ||
| sellAmount | Yes | Amount in the input token's base units (integer string) | |
| slippageBps | No | Max slippage in basis points |