ctp-analyse-project
Analyze codebase statistics including token counts, line counts, and file type breakdowns to understand project structure and composition.
Instructions
Provides a detailed statistical analysis of a codebase, including token counts, line counts, and breakdowns by file type.
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": {
"root_path": "<root_path>"
},
"name": "ctp-analyse-project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_path | Yes | Root directory path of the project to analyse. | |
| include_patterns | No | Comma-separated glob patterns for files to include. | |
| exclude_patterns | No | Comma-separated glob patterns for files to exclude. | |
| respect_gitignore | No | Whether to respect .gitignore rules. | |
| top_n | No | Number of items to show in top lists. |