Custom REST Write
execute_rest_writePerform arbitrary write operations (POST/PUT/PATCH/DELETE) on GitLab REST API. Caution: DELETE is destructive and irreversible.
Instructions
Execute an arbitrary POST/PUT/PATCH/DELETE request against the GitLab REST API at /api/v4. Open-ended escape hatch for write endpoints not covered by a dedicated tool. Destructive — DELETE is permitted, so check the path before invoking. For reads, use execute_rest_read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | HTTP method. DELETE is destructive and not reversible. | |
| path | Yes | Path under /api/v4, beginning with "/" (e.g. "/projects/42/issues" or "/projects/foo%2Fbar/merge_requests/3/merge"). Must not include host, "/api/v4" prefix, or "?" query string. | |
| body | No | Request body — JSON-serialized as application/json. Omit for endpoints that don't take a body (most DELETE / some PUT). | |
| query | No | Query string parameters. Most write endpoints take their args in the body, but a few mix. | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |