Skip to main content

update_document

Update document metadata (title and description). This does not create a new HTML version — use publish_document to change content.

Parameters

ParameterTypeRequiredDescription
document_iduuidYesThe document to update
titlestringNoNew title (1–500 characters)
descriptionstringNoNew description (up to 2000 characters), or null to clear
At least one of title or description must be provided.

Returns

JSON document object as text (same shape as PATCH /api/v1/documents/:id).

Example

Tool call: update_document
  document_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  title: "Q3 Sales Proposal — Acme Corp (revised)"
  description: "Updated after legal review"

Notes

  • Maps to PATCH /api/v1/documents/:id on the REST API.
  • Does not change what recipients see on the share link — only the published HTML does.

publish_document