Inspect repository
inspect_repositoryCheck a Git repository BEFORE deploying: is it reachable, public or private, does the branch exist, which framework is it and what build settings fit. Works for GitHub, GitLab and Bitbucket. For private repos pass pat_secret_name; the token is used server-side only and never returned.
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>"
},
"name": "inspect_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Branch or tag to check (default: the repo's default branch) | |
| ref_type | No | 'heads' = branches, 'tags' = tags | heads |
| repo_url | Yes | https://github.com/<owner>/<repo> (or gitlab.com / bitbucket.org) | |
| pat_secret_name | No | NAME of a stored Git token secret, for PRIVATE repos (see list_git_secrets) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |