gitlab_project_info
Retrieve essential GitLab project metadata—ID, default branch, visibility, and counts—to identify a repository or check its access level.
Instructions
Return basic metadata about a project: ID, default branch, visibility, counts.
Examples:
- "What's the project ID and default branch" → default call
- "Is this repo public or private" → look at visibility
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": {
"project_path": "<project_path>"
},
"name": "gitlab_project_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | GitLab project path (e.g. 'my-org/my-repo'). Required by default. For legacy deployments only, set GITLAB_ALLOW_DEFAULT_PROJECT=true to use GITLAB_PROJECT_PATH when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| web_url | Yes | ||
| created_at | Yes | ||
| star_count | Yes | ||
| visibility | Yes | ||
| forks_count | Yes | ||
| default_branch | Yes | ||
| last_activity_at | Yes | ||
| open_issues_count | Yes | ||
| path_with_namespace | Yes |