Usage
/poll <interval_seconds> <tool_name> <condition_field> <expected_value>
Examples:
/poll 30 greptile:get_code_review status COMPLETED
/poll 60 gh:pr_checks conclusion success
Parameters
| Param | Description | Default | |-------|-------------|---------| | interval | Seconds between checks | Required | | tool | MCP tool to call | Required | | condition_field | JSON path to check | Required | | expected_value | Completion signal | Required | | max_iterations | Max poll attempts | 20 |
Behavior
- Call tool -> check condition_field == expected_value
- If not met, sleep interval seconds
- Repeat until met or max_iterations reached
Whitelisted in enforcement hooks to avoid call limits.