Create market
pax.composer_proposal_submitCreate a market from your own question. On success the market is created and its market_id and status are returned. A creator deposit (deposit_amount, USDT) is debited from the platform balance; if it is too low the error DEPOSIT_REQUIRED states the minimum.
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": {
"title": "<title>",
"rules_text": "<rules_text>",
"resolution_rule": "<resolution_rule>",
"primary_source_url": "<primary_source_url>",
"cutoff_time_ms": "<cutoff_time_ms>",
"resolution_deadline_ms": "<resolution_deadline_ms>",
"deposit_amount": "<deposit_amount>"
},
"name": "pax.composer_proposal_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The market question as users will see it | |
| category | No | Category for the market (default Creator) | |
| rules_text | Yes | Resolution rules: exactly what makes YES and what makes NO | |
| description | No | Optional background for traders | |
| cutoff_time_ms | Yes | Trading closes at this time, epoch milliseconds (must be in the future) | |
| deposit_amount | Yes | Creator deposit in USDT, debited from your platform balance | |
| edge_cases_text | No | Optional handling of edge cases (delays, ties, revised data) | |
| idempotency_key | No | Optional. Defaults to a key derived from your account, title and cutoff_time_ms, so the same market is not created twice | |
| resolution_rule | Yes | The condition that resolves the market, in one sentence | |
| backup_source_urls | No | Optional fallback sources, same rules as primary_source_url | |
| primary_source_url | Yes | https:// URL of the source that decides the outcome; must be an established public data publisher | |
| resolution_deadline_ms | Yes | The outcome is known by this time, epoch milliseconds (after cutoff_time_ms) |