head
Displays the first n lines of a file to quickly preview its contents. Useful for inspecting log files or configuration files without loading the entire file.
Instructions
Eerste n regels van een bestand (onder ALLOWED_READ_DIRS).
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": {
"path": "<path>"
},
"name": "head"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||