List Groups Tool
list_groups_toolLists GitLab groups available to the API token, with options to filter owned or top-level groups, search by name, and paginate results.
Instructions
List GitLab groups 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_groups_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1) | |
| sort | No | Sort direction (asc, desc) | asc |
| owned | No | Only list groups owned by the authenticated user | |
| search | No | Search for groups by name | |
| order_by | No | Order by field (name, path, id) | name |
| per_page | No | Results per page, max 100 (default: 20) | |
| top_level_only | No | Only list top-level groups |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||