File summary
file_summaryThe generated summary of one file: its title, a description, and a nested outline of sections, each with a short summary and the line range it covers in read_file's content. Use it to decide whether a file is worth reading, or where in it to look (read_file takes startLine and lineCount). Returns status "none" for a file with no summary yet - they are generated in the background after a text or document file is added or changed, and never for data files, images or media.
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>",
"context": "<context>"
},
"name": "file_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full path of the source file including its filename, e.g. '/docs/report.pdf'. | |
| context | Yes | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| workspace_id | No | Which workspace to act in - a workspace id (whoami returns the id of your default workspace). Omit to use your default workspace. |