Interactive Release Create
gitlab_interactive_release_createCreate a GitLab release with step-by-step prompts, requiring explicit confirmation before API call. Ideal for human-in-the-loop publishing, abortable at any stage.
Instructions
Create a GitLab release through step-by-step prompts, with explicit confirmation before calling the GitLab API. Cancellation at any prompt aborts without creating the release.
After invocation, the tool elicits in order:
tag_name (string, required) — must reference an existing tag in the project; create it first via gitlab_tag (action='create').
name (string, optional) — release title; defaults to tag_name when left empty.
description (string, optional, multi-line, Markdown) — release notes; leave empty to skip.
confirm (boolean, required) — final yes/no review of the assembled summary.
When to use: human-in-the-loop release publishing. NOT for: CI/automated release creation — use gitlab_release (action='create') with all fields pre-supplied.
Requires the MCP client to support the elicitation capability. If unsupported, returns a structured error naming gitlab_release (action='create') as the alternative.
Behavior: each successful invocation publishes ONE new release after explicit user confirmation. NON-idempotent — re-running with the same tag returns 409 (release already exists). Cancellation/decline at any prompt aborts with no GitLab API call and no side effects. Side effects on success: GitLab fires release-created webhooks and may notify release subscribers.
Returns: JSON with the created release (tag_name, name, description, web_url).
See also: gitlab_release, gitlab_tag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or URL-encoded path where the release will be created |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next_steps | No | ||
| tag_name | Yes | ||
| name | Yes | ||
| description | Yes | ||
| description_html | No | ||
| created_at | Yes | ||
| released_at | Yes | ||
| author | No | ||
| commit_sha | No | ||
| upcoming_release | No | ||
| milestones | No | ||
| commit_path | No | ||
| tag_path | No | ||
| assets_count | No | ||
| assets_sources | No | ||
| assets_links | No | ||
| evidences | No | ||
| web_url | No |