Read the Small Local File
read_local_fileRead the complete content of a specific small-sized file in a local Git repository. Get full code context needed for writing accurate documentation.
Instructions
Reads the entire content of a specific small sized file. Crucial for understanding the full context of the code before writing documentation.
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": {
"repoPath": "<repoPath>",
"filePath": "<filePath>"
},
"name": "read_local_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Relative file path to the file (e.g., src/index.ts) | |
| repoPath | Yes | Github repository base path |