Create group deploy token
gitlab_create_group_deploy_tokenCreate a deploy token for a GitLab group and retrieve its secret once at creation; store it immediately, as later reads do not return the token.
Instructions
Create a deploy token for a group.
Returns a secret: the new token string is returned once, at creation, and never by any read call. Store it now.
Args: **kwargs: Additional parameters for the request (e.g., group_id, name, scopes).
Returns: Response: A wrapper containing the original response and a DeployToken model.
Raises: ParameterError: If invalid parameters are provided. MissingParameterError: If required parameters are missing.
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": "gitlab_create_group_deploy_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| page | No | ||
| token | No | ||
| scopes | No | ||
| group_id | No | ||
| per_page | No | ||
| username | No | ||
| max_pages | No | ||
| expires_at | No | ||
| project_id | No |