Skip to content

fix: an article created by the MCP tool comes back with its link EXO-90676 - #945

Merged
bmestrallet merged 1 commit into
feature/ai-contributionfrom
bugfix/EXO-90676-news-tool-returns-link
Sep 29, 2026
Merged

bmestrallet merged 1 commit into
feature/ai-contributionfrom
bugfix/EXO-90676-news-tool-returns-link

Conversation

@bmestrallet

Copy link
Copy Markdown
Contributor

An article created by the MCP tool comes back with its link as url. Tribe: EXO-90676.

Why

create_news already returned the article's page, but as access_url (plus edit_url). Consumers that look for the common url or link field did not find it: after an approved "Create an article" mail-filter suggestion (EXO-90659), the card had no "Open".

How

  • NewsModel gets a final url component, holding the same page URL as access_url (domain + news.getUrl()), or null when that is blank.
  • access_url, edit_url and the tool's arguments are unchanged.

Tests

  • NewsMcpToolTest: 50/50 pass. The creation test asserts the url.
  • Mutation check: dropping the url fails the test.
  • Deployed on the local rig: the classes were patched into the rig's content-service.jar, cherry-picked on its deployed revision.

Classification: N2

A change to an MCP tool's answer only. It adds no permission, writes nothing and changes no schema.

Knowledge: none — a tool result field.

🤖 Generated with Claude Code

…90676

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@bmestrallet
bmestrallet merged commit fa3d109 into feature/ai-contribution Sep 29, 2026
6 checks passed
@bmestrallet
bmestrallet deleted the bugfix/EXO-90676-news-tool-returns-link branch September 29, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant