Loading
Allow MCP save_note tool to update existing notes
What does this MR do and why?
Allows the MCP save_note tool to edit an existing comment via method: 'update_note' or when note_id is passed, routing to the updateNote GraphQL mutation (Mutations::Notes::Update::Note) instead of requiring agents to post a duplicate comment.
- Adds
update_notetoSaveNoteService::METHOD_PARAMS(required: %i[body note_id]) andinput_schema. - Defaults
methodto'update_note'whennote_idis provided withoutmethodordiscussion_id. - Adds
app/graphql/queries/mcp/notes/update_note.mutation.graphqland routesSaveNoteTooltoupdateNotewith bare or Global IDnote_idsupport.
Closes #632622