Preview your draft
preview_draftRequires a TechFabric engineer's Microsoft sign-in (scope blog.write). Interactive: show one of your drafts here. Call it whenever the engineer asks to show, see or open the preview, to show it here, or what the draft looks like (for example: "show me the preview", "show it here", "can I see the draft", "open the preview", "what does it look like"). A read: the draft as techfabric.com renders it, with its last checks (each marked as one the engineer may publish past or one that must pass) and whether Publish may run, rendered inline as the draft app where the host shows MCP Apps. In any host its text starts with the preview link: show it to the engineer. Never fetch the preview link yourself or rebuild the page as an artifact or HTML: this is the preview.
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": {
"id": "<id>"
},
"name": "preview_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The idea id | |
| editing | No | The draft app only, never an agent: true while the engineer has unsaved edits in its Edit tab (takes or renews the app's edit hold), false when they save, discard or leave it (lets go). It changes no text; with it the answer is the hold, not the preview | |
| instance | No | The draft app only: its view's own id, with editing | |
| wait_seconds | No | While the preview builds: how long to wait for it before answering (default 0, most 25) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| why | No | With editing: why the hold was not taken | |
| held | No | With editing: whether the app holds the draft for the engineer's edit | |
| kind | No | ||
| state | No | ||
| steps | No | Where the draft is, step by step (the same steps the progress notifications name): done, active (under way now), pending or failed | |
| title | No | ||
| checks | No | The last check run on the draft, each item marked as one the engineer may publish past or one that must pass; null before any | |
| cockpit | No | The writing cockpit: one status, one next step, the to-do cards and any open redline | |
| editing | No | With editing (the draft app's hold): whether an edit is under way | |
| meaning | No | ||
| publish | No | Whether Publish may run now, and why not | |
| progress | No | Approved, merged, deployed (this version's deploy serves it), live_url (where it is or will be live: link it only once deployed), expected_at (when a deploy under way should land) and indexed, once it is on its way | |
| preview_url | No | The draft's preview (the live page once published): show it to the engineer | |
| preview_source | No | Which page the app shows: the published page, the draft's own preview, the live post standing in for a revision's, or none yet | |
| preview_current | No | False while a save is still being committed or its preview rebuilt |