tool | "brainstorm" | "analyze" | "explore" | "knowledge" | "preview" | "present" | — | Required. Embed tool. |
resourceId | string | — | Required. Canvas, dashboard, inquiry, document, or presentation id. |
params | Record<string, string | number | undefined> | — | Optional query params appended to the embed URL (e.g. page, chunkId for preview). |
title | string | — | iframe title attribute. |
className | string | — | Class name on the iframe. |
style | CSSProperties | — | Inline styles on the iframe (merged after the reset). |
navigationMode | "push" | "replace" | "replace" | How host-driven path changes update the iframe router. |
onArtifactOpen | (event: ArtifactOpenEvent) => void | — | Called when the user opens an artifact card in this iframe. Overrides the provider handler for this iframe. |
onLoad | () => void | — | Called when the iframe fires load. |
onError | (error: string) => void | — | Called when the embed URL cannot be built or the token is missing. |
renderLoading | () => ReactNode | — | Custom loading UI. Renders nothing by default. |
renderError | (error: string) => ReactNode | — | Custom error UI. Falls back to the error string. |