read_codebase
Reads all code files in a directory while respecting .gitignore rules, returning structured content for AI analysis of project structures.
Instructions
Reads the full content of all code files in a directory respecting .gitignore rules and returns in a structured format. WARNING: This tool can generate very large responses, use on smaller directories or specific subdirectories.
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": "read_codebase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the codebase directory to read |