codebreaker_get_problem
Fetches a Codebreaker problem's full statement, constraints, subtasks, and editorials. Handles HTML and PDF formats, providing cached PDF path for deeper parsing.
Instructions
Read a problem statement plus constraints.
Statements come in two shapes: HTML problems return statement_markdown (+ best-effort samples); PDF-only problems return statement_text (pypdf extraction) and statement_pdf_path — a locally cached PDF file you can hand to a mineru MCP for deeper parsing — plus statement_pdf_url. No images are extracted. Also returns subtasks, editorials (when visible), and has_attachment (use codebreaker_get_attachment for the zip).
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_id": "<problem_id>"
},
"name": "codebreaker_get_problem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| problem_id | Yes |