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
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": "wait_for_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |