Build: create a prediction market
build_create_prediction_marketOpen a YES/NO market. The wallet seeds it with USDC liquidity (minimum 100) and names a solver — a different address that alone resolves it and stakes 1% as a bond. Trading runs until closeTime; the solver proposes after resolveAfter.
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>",
"question": "<question>",
"sector": "<sector>",
"closeTime": "<closeTime>",
"resolveAfter": "<resolveAfter>",
"solver": "<solver>",
"liquidityUsdc": "<liquidityUsdc>"
},
"name": "build_create_prediction_market"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sector | Yes | ||
| solver | Yes | the address that will resolve the market (not the wallet) | |
| wallet | Yes | the agent's wallet address — the one that will sign and send the calls | |
| question | Yes | a clear YES/NO question with its resolution source and time, e.g. "Will BTC close above $100,000 on Coinbase on Dec 31, 2026 (UTC)?" | |
| closeTime | Yes | ISO 8601 time trading stops, e.g. 2026-12-31T00:00:00Z | |
| resolveAfter | Yes | ISO 8601 earliest time the solver may propose the outcome (≥ closeTime) | |
| liquidityUsdc | Yes | USDC liquidity to seed (minimum 100), as a decimal string, e.g. "25" or "0.5" |