get_repo_status
Check if a repository is cloned and ready for analysis, view its clone and analysis status, active branch, and cache state without triggering any operations.
Instructions
Check if a repository is cloned and ready for analysis without triggering any operations.
USE THIS TO:
Check if a repository needs to be cloned
Verify if analysis is complete or in progress
See which branch is currently active
Understand the cache state before using other tools
RETURNS:
is_cloned: Whether the repository exists in cache
clone_status: Current state ('complete', 'cloning', 'failed', or None)
analysis_status: State of code analysis ('complete', 'building', or None)
current_branch: The active branch name
cache_strategy: Which strategy is being used
last_updated: When the repository was last accessed
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_path": "<repo_path>"
},
"name": "get_repo_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | ||
| repo_path | Yes | ||
| cache_strategy | No | shared |