adaptix_agent_wait
Waits for beacons to check in, polling until an expected agent count is reached and optionally filtering by IP, hostname, or listener. Returns the count seen or a timeout result.
Instructions
Wait for beacons to check in, then return them. Polls GET /agent/list until at least expected agents are present — optionally only those whose record contains match (an IP, hostname or listener name) — and reports the count it reached. Meant for the multi-host case: generate and deliver an artifact per host, then one call here per host (expected 1, match ) or one call with expected N after a batch. A timeout returns ok:false with the count and the agents it did see, never a silent success.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "adaptix_agent_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | No | Only count agents whose JSON record contains this substring — the target IP or hostname you delivered to. | |
| expected | No | How many agents to wait for (default 1). | |
| timeout_s | No | Give up after this many seconds (default 60). | |
| interval_s | No | Poll interval in seconds (default 3). |