peek
Returns an extractive summary of a file before reading it: first non-empty line and headings, capped near 300 tokens to preview structure and save context.
Instructions
Extractive summary of a file before reading it.
First non-empty line plus headings, capped at ~300 tokens.
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": "peek"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |