wait_for_event
Waits until a regex matches a new line in Prism Launcher's latest.log or times out, letting automation detect game events such as user setting, backend startup, or stopping.
Instructions
Wait until a regex matches a new line in latest.log (e.g. 'Setting user|Backend library|Stopping!'), or timeout.
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>",
"pattern": "<pattern>"
},
"name": "wait_for_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| pattern | Yes | ||
| timeoutMs | No |