gitlab_project_get
Retrieve a GitLab project by ID or full path to resolve its canonical path for other tools and read its default branch.
Instructions
Get a project by id or path. Use it to turn a project name into the path the other tools take, and to read default_branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | project id ('42') or full path ('group/subgroup/app'); a path is URL-encoded for you |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| path | No | ||
| web_url | No | ||
| archived | No | ||
| visibility | No | ||
| default_branch | No | ||
| http_url_to_repo | No | ||
| path_with_namespace | No | full path, e.g. group/app - the value to pass as 'project' |