get_file_by_path
Look up a tracked file by path, returning its metadata and ID for subsequent queries.
Instructions
Look up a tracked file by path — use BEFORE reading source files. Returns file metadata and ID for follow-up queries.
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": {
"file_path": "<file_path>"
},
"name": "get_file_by_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | File path to look up (e.g., 'src/calculator.py') |