wait_for_prompt
Wait for a pending command to finish, then get its output. Returns completed status with output, or pending/idle if still running or none active.
Instructions
Wait for the current pending command to complete (CDB prompt to appear).
Used after execute() returns pending, to continue waiting for command completion. If no command is pending, returns idle status.
Returns JSON: {"status": "completed", "output": "..."} -- command finished {"status": "pending", "output": "..."} -- still running, timed out again {"status": "idle", "output": ""} -- no command is executing
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |