terminal_read
Read recent terminal output from a network device to inspect the current prompt, command results, interactive prompts, paging state, or errors.
Instructions
Capture recent terminal output for a device, so the caller can inspect
the current prompt, command output, a password/interactive prompt, paging
state, or unexpected errors. lines limits how much recent scrollback is
returned (default 100); the underlying tmux session retains a much larger
history buffer. The device must still be present in the active topology,
reloaded from disk on every call -- an already-open session does not
stay readable if the active topology changes to no longer include this
device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| device | Yes |