summarize_file
Reads a file from the workspace and returns raw content for AI summarization before storing the summary as codebase memory.
Instructions
Read a file from the codebase and return its raw content (LLM should summarize and then call store_memory)
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": "summarize_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to workspace root | |
| max_lines | No | Max lines to return; default 500 |