read-session-output
Reads recent output from a named background SSH session, such as tailing log files, returning the last N lines for monitoring or troubleshooting.
Instructions
Read recent output from a background session (e.g., tail -f logs).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "read-session-output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Background session name | |
| lines | No | Number of recent lines to read | |
| profile | No | Profile name |