6deeabc8 by Ean Schuessler

Fix: Propagate isError flag from ScreenAsMcpTool to ToolsCall result

1 parent 5b1380c7
...@@ -500,7 +500,7 @@ ...@@ -500,7 +500,7 @@
500 500
501 result.result = [ 501 result.result = [
502 content: content, 502 content: content,
503 isError: false 503 isError: serviceResult?.result?.isError ?: false
504 ] 504 ]
505 return 505 return
506 } 506 }
...@@ -1596,4 +1596,4 @@ ${truncatedOutput} ...@@ -1596,4 +1596,4 @@ ${truncatedOutput}
1596 1596
1597 <!-- NOTE: handle#McpRequest service removed - functionality moved to screen/webapp.xml for unified handling --> 1597 <!-- NOTE: handle#McpRequest service removed - functionality moved to screen/webapp.xml for unified handling -->
1598 1598
1599 </services>
...\ No newline at end of file ...\ No newline at end of file
1599 </services>
......