fix(mcp-actions-backend): return structured content and remove markdown formatting in tool responses
This change aligns the MCP tool execution responses with the specification by returning plain text in the 'content' array and providing the raw JSON in a new 'structuredContent' field. It also removes the unnecessary Markdown code block formatting that was previously added to tool results. Fixes #34052 Signed-off-by: Love Kumar Chauhan <lovechauhan6564@gmail.com> Co-authored-by: benjdlambert <3645856+benjdlambert@users.noreply.github.com> Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
committed by
benjdlambert
parent
381cf2ae10
commit
ca8951ae87
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-mcp-actions-backend': patch
|
||||
---
|
||||
|
||||
Fixed an issue where actions returned Markdown-formatted JSON instead of plain JSON and a `structuredContent` field for model context protocol responses.
|
||||
Reference in New Issue
Block a user