craftos_touch_monitor
Click a monitor cell to emit a monitor_touch event as a specified player and return ok immediately; use when player identity matters, such as detectors or per-player menus.
Instructions
Click a monitor cell, producing a monitor_touch event like a player right-clicking it, and return "ok" at once. Prefer craftos_act with touch, which waits for the program to react; use this one when it matters which player touched (player detectors, per-player menus). Find the cell to touch with craftos_ui.
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>",
"monitor": "<monitor>",
"x": "<x>",
"y": "<y>"
},
"name": "craftos_touch_monitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Column, 1-based. | |
| y | Yes | Row, 1-based. | |
| id | Yes | Id returned by craftos_session_create. | |
| player | No | Who touches (default: the interacting player); a name not in the world is an error. | |
| monitor | Yes | Monitor peripheral name, e.g. "top" or "monitor_0". |