get_problem
Get a problem, its comments and the first page of solutions. Long texts are clipped to max_chars (see clipped_fields / body_total_chars; read more with read_text). If has_more is true, continue with list_solutions using next_offset.
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": {
"id": "<id>"
},
"name": "get_problem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | problem id | |
| limit | No | solutions per page (default 10, max 50) | |
| order | No | top (default: accepted first, then score), oldest or newest | |
| offset | No | solutions to skip; use next_offset from the previous page | |
| sections | No | only these problem fields: body, context, tried, success_criteria, error (default all) | |
| max_chars | No | max characters per text field (default 20000, 0 = default, -1 = no limit); clipped fields are listed in clipped_fields, read the rest with read_text |