wait_for
Pause automation until a saved on-screen template appears, or until it disappears with gone=true. Returns match location, score, and captured frame.
Instructions
Wait until a saved template appears on screen (or disappears, with gone=true).
Matching is normalised cross-correlation over the whole frame; score 1.0 is identical. Returns where it was found, the score and the frame.
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": {
"template": "<template>"
},
"name": "wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gone | No | ||
| template | Yes | ||
| min_score | No | ||
| timeout_ms | No |