Check solution
check_solutionCheck a grid against a puzzle's clues, using the same rule as the benchmark grader. Reports which rows and columns do not match.
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>",
"grid": "<grid>"
},
"name": "check_solution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Puzzle id from list_puzzles | |
| grid | Yes | Row-major string of 0 (empty) and 1 (filled), width × height characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| correct | Yes | ||
| rowViolations | Yes | ||
| columnViolations | Yes |