tail
Read the trailing portion of a file to inspect recent logs or outputs. Specify file path and number of lines to display.
Instructions
Display the end of a file
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": {
"file": "<file>"
},
"name": "tail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path | |
| lines | No | Number of lines |