Expand description
The runtime-provided background-command tool: the state of a shell command that was moved
to the background, a wait for it, or a stop of it, named by the work id its shell call
returned.
The commands themselves are kept by [crate::detached::DetachedRegistry]; this module holds
what the model reads: the description, the input schema, the input parser and the result.
Constants§
- BACKGROUND_
COMMAND_ TOOL - The runtime-provided tool an agent capsule has when it can run a shell command.
- INPUT_
SCHEMA background-command’s input schema.- MAX_
WAIT_ SECS - The longest one
waitblocks, in seconds, and what it blocks for whenwait_secsis absent.
Functions§
- description
background-command’s description, the same on both transports.- effective_
wait - How long a
waitblocks:wait_secs, at mostMAX_WAIT_SECS, which is also what an absentwait_secsgives.