1Retrieves the current output from a background shell.
2
3<usage>
4- Provide the shell ID returned from a background bash execution
5- Returns the current stdout and stderr output
6- Indicates whether the shell has completed execution
7- Set wait=true to block until the shell completes or the request context is done
8</usage>
9
10<features>
11- View output from running background processes
12- Check if background process has completed
13- Get cumulative output from process start
14- Optionally wait for process completion (returns early on context cancel)
15</features>
16
17<tips>
18- Use this to monitor long-running processes
19- Check the 'done' status to see if process completed
20- Can be called multiple times to view incremental output
21- Use wait=true when you need the final output and exit status (or current output if the request cancels)
22</tips>