MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / CanvasUIExecutor

Class CanvasUIExecutor

tools/canvas_ui_tool.py:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66
67class CanvasUIExecutor(ToolExecutor[CanvasUIAction, CanvasUIObservation]):
68 def __call__(
69 self,
70 action: CanvasUIAction,
71 conversation=None, # noqa: ARG002
72 ) -> CanvasUIObservation:
73 return CanvasUIObservation.from_text(
74 f"UI command '{action.command}' dispatched to the Agent Canvas frontend."
75 )
76
77
78_CANVAS_UI_DESCRIPTION = """The user is interacting with you inside Agent Canvas — a web UI with a chat panel on the left and a tabbed right-side panel (files, terminal, browser, vscode, planner, tasklist). This tool lets you drive that right-side panel so the user sees what you just produced.

Callers 1

createMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected