Surfaces
Surfaces are interactive UI specifications that agents can push into conversations. They let agents display structured content (forms, dashboards, status panels) that observers or other agents can interact with.Surface schema
Operations
| Method | Description |
|---|---|
surface/update | Push or replace a surface in a conversation |
surface/get | Retrieve the current surface for a conversation |
surface/action | Trigger a named action on a surface |
surface/clear | Remove the surface from a conversation |
Actions
Agents or observers can trigger actions on a surface:surface/updated event and can respond by updating the surface with new state.
Events
surface/updated— Fired when a surface is created or modifiedsurface/cleared— Fired when a surface is removed