Validate a problem
repovive_validate_problemValidate a problem object against Repovive's schema to catch missing fields, invalid slugs, bad difficulty, non-positive limits, and malformed test cases before pushing a draft.
Instructions
Check a problem object against Repovive's schema and report every issue found: missing or empty fields, a non-URL-safe slug, bad difficulty, non-positive limits, and missing or malformed test cases. Run it before pushing a draft.
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": {
"problem_json": "<problem_json>"
},
"name": "repovive_validate_problem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| problem_json | Yes | A problem as a JSON object string |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |