Restore Todo
restore_todoRestores a previously completed GitLab to-do item to pending status using its numeric ID or full gid, so you can revisit tasks marked done by mistake.
Instructions
Restore a previously-marked-done to-do item back to pending state. Accepts the todo's ID (numeric or full gid://gitlab/Todo/N form).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"todoId": "<todoId>"
},
"name": "restore_todo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| todoId | Yes | Todo ID — accepts a bare numeric ID ("42") or a full gid ("gid://gitlab/Todo/42") | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |