List Projects Tool
list_projects_toolList GitLab projects accessible by API token, with search, visibility, ownership, membership filters, sorting, and pagination controls.
Instructions
List GitLab projects accessible by the API token.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_projects_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination (default: 1) | |
| sort | No | Sort direction (asc, desc) | desc |
| owned | No | Only list projects owned by the authenticated user | |
| search | No | Search for projects by name | |
| order_by | No | Order by field (created_at, updated_at, name, path) | created_at |
| per_page | No | Results per page, max 100 (default: 20) | |
| membership | No | Only list projects the user is a member of | |
| visibility | No | Filter by visibility (public, internal, private) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||