ssh_tail_file
Read the last lines of a remote log file by specifying the server alias and path. Get recent log entries with a 30-second timeout and capped output.
Instructions
Read the last lines of a remote log file on the selected server. Output is capped and the timeout is 30 seconds. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias.
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": {
"server": "<server>",
"path": "<path>"
},
"name": "ssh_tail_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| lines | No | ||
| server | Yes | Exact configured server alias returned by ssh_list_servers. |