get_file_context
Retrieve a file's summary with purpose, interfaces, dependencies, role, line and token counts for a given repository and file path.
Instructions
Return the Tier 2 file summary for a specific file.
Includes file purpose, public interfaces, dependencies, role classification, line count, and token count.
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": {
"repo_name": "<repo_name>",
"file_path": "<file_path>"
},
"name": "get_file_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| repo_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |