Show project
show_projectShow the project in the chat as a live preview that plays and follows every edit; a multi-page project turns its pages in the preview. Call it once per project, right after creating or opening it; later edits appear in the preview without calling again. Answers { name, pages, placards, durationSeconds, editorUrl }. Its result also carries one picture per page, a Morpha placard shaped like that page (up to 12, in page order), ready to show wherever a page is shown. The preview lasts 30 minutes; call again if the person comes back later. controls picks the player's controls: 'full' (the default: play, a scrub bar, the time, sound and fullscreen) or 'play' (the play button alone, for a preview that should look like a plain video). In a client that cannot render a preview, give the person the editorUrl instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "show_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| controls | No | Which controls the preview shows: 'full' (default) or 'play' for the play button alone. | |
| projectId | Yes | Id of the project to show. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the call succeeded. | |
| data | No | The payload, shaped by the tool. | |
| note | No | What to do next when not ready. | |
| error | No | Why it failed. | |
| status | No | For cache-backed readers: whether the answer was ready. | |
| editorUrl | No | Opens this project in the editor. |