Afficher les dernières lignes d'un fichier
tail_fileDisplay the last lines of a remote file on an SFTP server to monitor logs or check recent file content changes.
Instructions
Équivalent de tail -n pour afficher les dernières lignes d'un fichier distant.
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": {
"alias": "<alias>",
"filepath": "<filepath>"
},
"name": "tail_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | Alias du serveur cible. | |
| filepath | Yes | Chemin absolu du fichier à lire. | |
| lines | No | Nombre de lignes à afficher. |