List Live Survey Tests
listSurveyRunsList the survey tests that are holding a number now, plus numbers: how many survey numbers the workspace owns and how many are busy and free. Each run has a runId, configId, agentE164 (the nopaque number the survey should be sent to), endUserE164 (the number the survey should come from), state (waiting, in_progress, complete or timed_out), live, channel (sms_chat or phone_call, once the survey arrives), expectedTurns, answersGiven, startedAt, engagedAt and expiresAt (epoch seconds). Takes no parameters. Use when: the user asks whether a survey test is waiting or under way, or why a new one cannot start (each test occupies one number for its whole window, so no free numbers means it is refused). Finished tests drop off this list: for what happened in them use listSurveyResults. Read-only. Needs testing:read.
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": "listSurveyRuns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | Yes | ||
| numbers | Yes | Concurrency, made visible. A run occupies a number for its window, so this is what to check before starting another test. |