Wait for the next message from the window
wait_for_messageWait for a user message or edit from the layout-debug window, then return the comment, element anchors, and live-edit measurements; call open_window first.
Instructions
Wait until the user sends a message or an edit from the layout-debug window, then return it: the comment, the element (anchors for finding it in code) and the live-edit measurements. Returns before common tool timeouts; a timeout result is normal, call it again. Call open_window first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wait_for_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeoutSec | No | How long to wait, in seconds (default 40) |