feat: Add create_merge_request_thread tool for diff notes

- Implement new tool for creating MR threads with positioning support
- Create schemas to handle diff notes with file and line number positions
- Support optional created_at timestamp parameter
- Update README with the new tool information
This commit is contained in:
Nicholas Crum
2025-05-13 15:45:43 -06:00
parent 08ab1357a0
commit 026dd58887
3 changed files with 130 additions and 27 deletions

View File

@ -55,31 +55,32 @@ When using with the Claude App, you need to set up your API key and URLs directl
11. `get_merge_request_diffs` - Get the changes/diffs of a merge request (Either mergeRequestIid or branchName must be provided)
12. `update_merge_request` - Update a merge request (Either mergeRequestIid or branchName must be provided)
13. `create_note` - Create a new note (comment) to an issue or merge request
14. `mr_discussions` - List discussion items for a merge request
15. `update_merge_request_note` - Modify an existing merge request thread note
16. `list_issues` - List issues in a GitLab project with filtering options
17. `get_issue` - Get details of a specific issue in a GitLab project
18. `update_issue` - Update an issue in a GitLab project
19. `delete_issue` - Delete an issue from a GitLab project
20. `list_issue_links` - List all issue links for a specific issue
21. `get_issue_link` - Get a specific issue link
22. `create_issue_link` - Create an issue link between two issues
23. `delete_issue_link` - Delete an issue link
24. `list_namespaces` - List all namespaces available to the current user
25. `get_namespace` - Get details of a namespace by ID or path
26. `verify_namespace` - Verify if a namespace path exists
27. `get_project` - Get details of a specific project
28. `list_projects` - List projects accessible by the current user
29. `list_labels` - List labels for a project
30. `get_label` - Get a single label from a project
31. `create_label` - Create a new label in a project
32. `update_label` - Update an existing label in a project
33. `delete_label` - Delete a label from a project
34. `list_group_projects` - List projects in a GitLab group with filtering options
35. `list_wiki_pages` - List wiki pages in a GitLab project
36. `get_wiki_page` - Get details of a specific wiki page
37. `create_wiki_page` - Create a new wiki page in a GitLab project
38. `update_wiki_page` - Update an existing wiki page in a GitLab project
39. `delete_wiki_page` - Delete a wiki page from a GitLab project
40. `get_repository_tree` - Get the repository tree for a GitLab project (list files and directories)
14. `create_merge_request_thread` - Create a new thread on a merge request
15. `mr_discussions` - List discussion items for a merge request
16. `update_merge_request_note` - Modify an existing merge request thread note
17. `list_issues` - List issues in a GitLab project with filtering options
18. `get_issue` - Get details of a specific issue in a GitLab project
19. `update_issue` - Update an issue in a GitLab project
20. `delete_issue` - Delete an issue from a GitLab project
21. `list_issue_links` - List all issue links for a specific issue
22. `get_issue_link` - Get a specific issue link
23. `create_issue_link` - Create an issue link between two issues
24. `delete_issue_link` - Delete an issue link
25. `list_namespaces` - List all namespaces available to the current user
26. `get_namespace` - Get details of a namespace by ID or path
27. `verify_namespace` - Verify if a namespace path exists
28. `get_project` - Get details of a specific project
29. `list_projects` - List projects accessible by the current user
30. `list_labels` - List labels for a project
31. `get_label` - Get a single label from a project
32. `create_label` - Create a new label in a project
33. `update_label` - Update an existing label in a project
34. `delete_label` - Delete a label from a project
35. `list_group_projects` - List projects in a GitLab group with filtering options
36. `list_wiki_pages` - List wiki pages in a GitLab project
37. `get_wiki_page` - Get details of a specific wiki page
38. `create_wiki_page` - Create a new wiki page in a GitLab project
39. `update_wiki_page` - Update an existing wiki page in a GitLab project
40. `delete_wiki_page` - Delete a wiki page from a GitLab project
41. `get_repository_tree` - Get the repository tree for a GitLab project (list files and directories)
<!-- TOOLS-END -->