List discussions
gitlab_list_discussionsRetrieve threaded discussions for an issue, merge request, or commit, including code-review threads with file/line position and resolved state.
Instructions
Threaded discussions, including code-review threads with their file/line position and resolved state.
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": {
"target_type": "<target_type>",
"iid": "<iid>"
},
"name": "gitlab_list_discussions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iid | Yes | iid or commit SHA | |
| page | No | Page number (default 1) | |
| limit | No | Cap for all_pages (default 500) | |
| per_page | No | Items per page, max 100 (default 20) | |
| all_pages | No | Follow pagination and return up to `limit` items across pages | |
| project_id | No | Project id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID. | |
| target_type | Yes |