wait_for_spatial_state
Blocks until an entity reaches a spatial condition: exists, active, confidence above threshold, or in region. Polls periodically and returns when met or timeout occurs.
Instructions
Poll and wait until an entity reaches a specific spatial state (exists, becomes active, confidence exceeds threshold, or enters region).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Optional project identifier | |
| condition | Yes | Condition to wait for | |
| entity_id | Yes | Entity ID to monitor | |
| region_id | No | Target region ID for in_region condition | |
| threshold | No | Confidence threshold (default: 0.8) | |
| timeout_ms | No | Timeout in milliseconds (default: 10000) | |
| poll_interval_ms | No | Polling interval in milliseconds (default: 250) |