Fix: Propagate isError flag from ScreenAsMcpTool to ToolsCall result
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -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> | ... | ... |
-
Please register or sign in to post a comment