Quote a prediction trade
quote_prediction_tradeExact quote from the market maker: shares for a USDC buy, or USDC for a share sell, fees included.
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": {
"id": "<id>",
"side": "<side>",
"action": "<action>",
"amount": "<amount>"
},
"name": "quote_prediction_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | prediction market id | |
| side | Yes | ||
| action | Yes | ||
| amount | Yes | USDC to spend (buy) or shares to sell (sell), as a decimal string, e.g. "25" or "0.5" |