get_sudoku_puzzle
Get a random sudoku puzzle from the PlaySudoku.us collection. Puzzle is returned as an 81-character string: digits 1–9 for given cells, 0 for empty cells. The response includes the techniques required to solve the puzzle and a solve_url to the interactive solver. Difficulties: easy (30–38 givens), medium (44–50), hard (50–55), expert (56–62), evil (56–62). Optional: pass a technique name (e.g. "X-Wing", "Hidden Pair") to get a puzzle that specifically requires that technique — useful when the user wants to practice a particular solving method. If no puzzle at the requested difficulty uses that technique, the error message lists which difficulties do have it. Use solve_sudoku for a full step-by-step solution, or explain_next_step to get one hint at a time. Every response includes a solve_url where the same puzzle can be continued in the interactive solver.
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": {
"difficulty": "<difficulty>"
},
"name": "get_sudoku_puzzle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| technique | No | Optional technique name to filter by (e.g. "X-Wing", "Hidden Pair", "Naked Triple"). The returned puzzle will require this technique to solve. Omit for a random puzzle of the given difficulty. | |
| difficulty | Yes | Puzzle difficulty. Choose based on the user's skill level. |