Format the tool-result JSON for one widget command outcome. A broker failure keeps its code; a result the widget returned in the wrong shape becomes action_failed.
action_failed
Format the tool-result JSON for one widget command outcome. A broker failure keeps its code; a result the widget returned in the wrong shape becomes
action_failed.