await_url
Block agent execution until a URL responds with the expected HTTP status code, optionally checking response body for a specific string.
Instructions
Block agent execution until a URL returns the expected HTTP status code. Optionally check that the response body contains a specific string. The agent is stuck on this call until the condition is met or timeout.
Example: await_url(url="http://localhost:3000/health", expected_status=200)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to poll. | |
| body_contains | No | If set, response body must contain this string for success. | |
| expected_status | No | Expected HTTP status code. Default 200. | |
| timeout_seconds | No | Max wait in seconds. Default 3600. | |
| interval_seconds | No | Check interval in seconds. Default 30. |