Implementation
gradeNot graded
gradeNot graded
set_dotAction
Set a single dot on/off in the 16x16 grid. Use this for small corrections after calling get_grid.
View tool JSON
{
"name": "set_dot",
"kind": "act",
"impl": "imperative",
"description": "Set a single dot on/off in the 16x16 grid. Use this for small corrections after calling get_grid.",
"inputSchema": {
"type": "object",
"properties": {
"row": {
"type": "integer",
"minimum": 0,
"maximum": 15,
"description": "Row index 0-15 (top to bottom)"
},
"col": {
"type": "integer",
"minimum": 0,
"maximum": 15,
"description": "Column index 0-15 (left to right)"
},
"on": {
"type": "boolean",
"description": "true to turn the dot on, false to turn it off"
}
},
"required": [
"row",
"col",
"on"
]
},
"page": "/WebMCP_demo/"
}set_dotsAction
Batch-update many dots in one call. Prefer this over repeated set_dot when drawing a shape (smiley, letter, pattern).
View tool JSON
{
"name": "set_dots",
"kind": "act",
"impl": "imperative",
"description": "Batch-update many dots in one call. Prefer this over repeated set_dot when drawing a shape (smiley, letter, pattern).",
"inputSchema": {
"type": "object",
"properties": {
"dots": {
"type": "array",
"description": "List of dot updates. Each item: {row:0-15, col:0-15, on:boolean}.",
"items": {
"type": "object",
"properties": {
"row": {
"type": "integer",
"minimum": 0,
"maximum": 15
},
"col": {
"type": "integer",
"minimum": 0,
"maximum": 15
},
"on": {
"type": "boolean"
}
},
"required": [
"row",
"col",
"on"
]
}
}
},
"required": [
"dots"
]
},
"page": "/WebMCP_demo/"
}get_gridAnswer
Render the current 16x16 grid as an ASCII map with row/column number headers. "#" means on, "." means off. Use this to verify what you just drew and locate errors by coordinate.
View tool JSON
{
"name": "get_grid",
"kind": "answer",
"impl": "imperative",
"description": "Render the current 16x16 grid as an ASCII map with row/column number headers. \"#\" means on, \".\" means off. Use this to verify what you just drew and locate errors by coordinate.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/WebMCP_demo/"
}