show_preview
Open the embedded ChatCut widget in-document in this chat. Call it right after a project is first created or targeted, and again after you finish each change the user should SEE, so a fresh preview lands next to your latest message. The connector must already be authenticated. projectId is OPTIONAL: pass it to jump straight to that project's preview; omit it to let the user pick one of their own projects inside the widget. Each call opens a NEW widget (the host does not reuse the existing one), so call it once per COMPLETED change — not for every tool call, not mid-batch, and not twice for the same unchanged state.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "show_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | The id of the project to preview. Omit to use the currently targeted project. | |
| clientSurfaceVersion | No | Always pass this EXACT value: "396169fe4b30". Do not alter or omit it; it lets ChatCut detect when your cached tool list has fallen behind the live connector. |