OptionalartifactOptional ID of the artifact to snapshot. When omitted, the host defaults to the most recently attached output artifact on the conversation (typical for single-artifact conversations).
OptionalfollowupOptional follow-up text the host should pass back to the agent after the snapshot is attached, so the agent knows what question to answer. If omitted, the host may resume with the most recent user message.
OptionaliconOptional Font Awesome icon class to display on the button. Commonly: "fa-camera" or "fa-image".
Button label shown to the user. Should be clear about the action (e.g., "Capture & Submit Data Snapshot", "Share my current view").
Command type identifier
Command requesting the host UI capture a Data Snapshot of the user's current view of an artifact, submit it as a
Data Snapshotinput artifact on the conversation, and resume the conversation so the agent can analyze it.Use this when an analysis-class agent needs the user's on-screen state (filters, drill, sort, selection, scroll position, etc.) to answer accurately but no
Data Snapshotartifact is attached to the request. The agent emits this command alongsidenextStep: 'Chat'and a briefmessageexplaining why; the chat UI renders a button; on click the host captures the snapshot from the currently-viewed artifact, persists it as a Data Snapshot artifact, attaches it as anInputto the next conversation turn, and resumes.Any artifact type that supports snapshotting can be captured this way — the artifact viewer plugin produces the snapshot via its standard contract.
Example