Attach draft to a contest
repovive_build_add_to_contestAttach a verified draft to a contest as a real problem, publishing it only with explicit user approval.
Instructions
Publish a draft by attaching it to a contest as a real problem. This is the step that makes authored work visible on the platform — never call it without the user's explicit approval. Verify the draft builds cleanly first.
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": {
"session_id": "<session_id>",
"body_json": "<body_json>"
},
"name": "repovive_build_add_to_contest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body_json | Yes | JSON body for add-to-contest, e.g. {"contestId": "<24-hex>"} | |
| session_id | Yes | Build session id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |