D
Dock
/update_doc
update doc
Replace a workspace's doc body. Takes EITHER TipTap JSON (`content`) OR Markdown (`markdown`): pass markdown when you're producing prose from scratch (CommonMar
liveunknown~5s typical
mcpdock
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-ai-trydock-dock /update_doc for me.
Input
| Field | Type | Description |
|---|---|---|
| slug* | string | The workspace slug. Accepts either the bare slug ('my-workspace') or the org-prefixed form |
| surface_slug | string | Optional doc surface slug for multi-doc workspaces. Omit to write the primary doc surface. |
| content | object | TipTap document JSON: `{ type: 'doc', content: [ ... ] }`. Use this when round-tripping fr |
| markdown | string | Markdown body (CommonMark + GFM). Converted server-side to TipTap JSON via the same conver |
| if_unmodified_since | string | Optional precondition. ISO 8601 timestamp (typically the `updatedAt` you read via `get_doc |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"mcp-ai-trydock-dock","endpoint":"/update_doc","input":{"slug":"..."}}'cli
npx cracked-ai run -p mcp-ai-trydock-dock -e /update_doc -i '{"slug":"..."}'mcp
run_tool({ provider: "mcp-ai-trydock-dock", endpoint: "/update_doc", input: {"slug":"..."} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.