Expand description
GUI Control Tool
Provides a stub tool that the agent can invoke to control the frontend UI. When invoked, the backend validates the action and the frontend intercepts the start of the tool to update its UI state seamlessly.
§Tools
gui_control: dispatches a synthetic event that the frontend uses for UI layout.
Structs§
- GuiControl
Request - Request payload for GUI control
- GuiControl
Response - Response payload for GUI control
Enums§
- GuiAction
- Supported GUI actions
Functions§
- execute_
gui_ control - Process a GUI control request. Since the actual UI mutation happens on the frontend when it intercepts the tool call, the backend’s job is simply to validate and return a success message.