Expand description
Text shaping for tool results: bounded output and numbered line windows.
Functionsยง
- bounded
- Keep the head and tail of
byteswithinmax, marking the cut. Output is lossy UTF-8; the model sees text, never raw bytes. - numbered_
window - A window of numbered lines,
cat -nstyle, starting at 1-basedoffsetand at mostlimitlines long. Returns the text and whether more lines follow the window. - shell_
quote - Escape a string as a single-quoted POSIX shell word.