job_output.md

Retrieves the current output from a background shell.

- Provide the shell ID returned from a background bash execution - Returns the current stdout and stderr output - Indicates whether the shell has completed execution - Set wait=true to block until the shell completes or the request context is done - View output from running background processes - Check if background process has completed - Get cumulative output from process start - Optionally wait for process completion (returns early on context cancel) - Use this to monitor long-running processes - Check the 'done' status to see if process completed - Can be called multiple times to view incremental output - Use wait=true when you need the final output and exit status (or current output if the request cancels)