Push a full problem into a draft
repovive_build_push_problemAdd problem metadata, statement, and optionally test cases to an existing draft. Test cases are appended to the draft's current content.
Instructions
Write a problem object into an existing draft: metadata, statement and (optionally) test cases. Test cases are APPENDED to whatever the draft already holds. For a complete import that also clears old cases and uploads the reference solution, editorial and validator, use repovive_build_author_complete_problem.
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>",
"problem_json": "<problem_json>"
},
"name": "repovive_build_push_problem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Build session id to write into | |
| problem_json | Yes | A problem object (as produced by repovive_generate_problem or matching repovive_new_problem_template) to write into the draft. | |
| include_testcases | No | Also upload the problem's test cases |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |