feat(tools): add remove_issue_link and harden delete_issue (YTMCP-25) #33
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/ytmcp-25-remove-link-delete-issue"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expose the inverse of the create/link tools so duplicate or erroneous issues
and stale links can be cleaned up entirely through the MCP.
Rename the unreleased
unlink_issuestool toremove_issue_linkto match theissue's proposed name, and have both
link_issuesandremove_issue_linkreturn
linkedIssueCounts(the source issue's per-verb link counts after thechange) so a caller can confirm a specific count dropped, e.g. a
depends oncount going from 2 to 1 after removing one link. Counts are derived from
list_issue_linksvia a purebuild_linked_issue_countshelper covered by unittests.
Strengthen the
delete_issuetool description to state that deletion isirreversible, that the caller owns confirming intent, and that it accepts real,
database, or draft issue ids. The delete capability itself already existed;
this makes the guardrail explicit. Both tools surface YouTrack API errors
(permissions, not-found) through the MCP's standard
internal_errorpath.Update the README tool list to name
remove_issue_link.#YTMCP-25