start_duel
Run an artifact-building duel: two persona teams answer one brief, judges score both against a rubric, and the losing side files dissents; returns winner, tally, verdicts and archive id.
Instructions
Run a duel and return its result: two teams each build an artifact for the same brief (a web page, code, a Mermaid diagram or a text document), judges assess both against a rubric, and the losing side files dissents. The call runs the whole duel, which can take several minutes and sends a progress notification on every turn, artifact and verdict; the host's request timeout must be long enough or reset on progress. No room is opened. The result has the duel id, winner, tally, each team's artifact title, kind and ok flag, the judges' verdicts, the dissents, a usage summary and the archive id (duels/.json, replayable with roundtable duel --replay). It never includes artifact source.
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": {
"topic": "<topic>",
"team_a": "<team_a>",
"team_b": "<team_b>",
"judges": "<judges>"
},
"name": "start_duel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | What the teams build: web (a self-contained index.html, inline CSS, optional inline JS; default), code (source files, shown as read-only text and never executed), diagram (Mermaid source) or text (markdown or plain text). | |
| model | No | ||
| seats | No | Optional assignments keyed by exact persona identifier: {"designer":{"provider":"anthropic","model":"sonnet"}}. Each entry accepts agent, provider (a provider or explicit runtime name) and model. | |
| topic | Yes | The brief both teams answer, for example a landing page for a product, a module with a given interface, or a written policy. | |
| judges | Yes | Judge personas, 1 to 5. | |
| rounds | No | 1 (default) judges once; 2 lets a team the judges did not approve revise once and keeps the original tally. | |
| team_a | Yes | Team A personas, 1 to 4. The first writes the concept, the last builds, anyone between critiques the concept. A one-person team does both. | |
| team_b | Yes | Team B personas, 1 to 4. Same roles as team_a. No persona may appear twice across both teams and the judges. | |
| criteria | No | Judging rubric. Default: fit to the brief, quality, usability and accessibility, and risk or safety within the judge's own remit. | |
| provider | No | Omit or use auto for provider judgment (the router picks a healthy provider per seat and reports why in a routing block); otherwise the chosen provider is used as given. Options: auto; anthropic; openai; together (Together AI — any Together model id, e.g. zai-org/GLM-5.3 or Qwen/...); replicate (owner/name, owner/name:version, or https://replicate.com/owner/name); ollama (local, only when reachable); openai_compatible (any /v1/chat/completions server — set OPENAI_COMPATIBLE_BASE_URL or pass base_url). | |
| connectors | No | Optional names of configured MCP connectors (roundtable config set connector) that every seat may call as tools during its turn. Only read-only tools are offered unless the connector's config lists more; tool results are untrusted data and are scrubbed. Seats on providers without tool support (Replicate) speak without them. An unknown connector is an error before any provider call. | |
| page_check | No | Check web pages in local headless Chrome when available (default true). Set false to skip. | |
| max_seconds | No | Time limit for the whole duel before it moves to closings. Default 600, plus 120 per member beyond two on the larger team. Hosts need a request timeout longer than this, or one that resets on progress notifications. | |
| turn_timeout_s | No | Seconds allowed for each turn. Default 90 (builds get at least 240). | |
| seat_connectors | No | Optional per-seat limits, used with connectors: a map from a seat (agent) name to the subset of connectors that seat may call, e.g. {"ada": ["figma"], "bob": ["jira"]}. A seat not listed gets all of the session's connectors; an empty list gives that seat none. Every connector named must also be in connectors, and every seat must be at the table; otherwise the call fails before anything starts. |