callback_wait
Wait for a new HTTP or DNS callback at the local catcher, with configurable timeout and type filtering.
Instructions
Wait for a new callback to arrive at the local catcher.
Polls the callback catcher until a new entry appears or the timeout is reached. Checks every 2 seconds.
Args: timeout_seconds: Maximum time to wait in seconds (default 60). callback_type: Wait for a specific type: 'http', 'dns', or 'all' (default 'all').
Returns: The new callback entry if one arrived, or a timeout message.
Example: callback_wait() callback_wait(timeout_seconds=120, callback_type='http')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| callback_type | No | all | |
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |