sftp_ultimas_linhas
Retrieve the last lines of a remote text file over SFTP without reading the entire file, useful for quickly checking console.log or error.log tail output.
Instructions
Ultimas linhas de um arquivo de texto (console.log, error.log), sem ler o arquivo inteiro.
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": {
"perfil": "<perfil>",
"caminho": "<caminho>"
},
"name": "sftp_ultimas_linhas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| linhas | No | ||
| perfil | Yes | ||
| caminho | Yes | ||
| encoding | No |