analyze_dimension
Analyze a specific dimension of a repository, like git history, and return structured JSON data to reveal engineering culture and conventions for AI agents.
Instructions
Analyze a single DNA dimension of a repository and return it as JSON.
Args:
repo_url: Git URL or local path of the repository to analyze.
dimension: One of the dimensions from the list_dimensions tool.
history_depth: Number of commits to fetch for git history analysis.
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_url": "<repo_url>",
"dimension": "<dimension>"
},
"name": "analyze_dimension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_url | Yes | ||
| dimension | Yes | ||
| history_depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |