update_page

A tool of the Sprintree MCP server. All MCP docs · Back to the tool list

added 2026-10-08can overwrite data

Change a page's title and/or whole body (edit access). markdown needs the base_rev you read from get_page: if the page changed since, nothing is written and the answer shows the diff; merge, retry with the new base_rev. Send the body as get_page gives it; "" clears it.

  • base_revintegeroptional
    base_rev of get_page (needed with markdown)
  • markdownstringoptional
    The whole new body; ![title](https://sysdraw.app/s/<token>) = sysdraw view link; a ```mermaid block is drawn as a diagram
  • pageintegerrequired
    Page number
  • projectstringrequired
    Project key
  • titlestringoptional
    New title

Returns

  • base_revintegerrequired
    Next update_page's base_rev
  • changedbooleanoptional
  • numberintegerrequired
  • titlestringrequired
  • urlstringrequired
  • versionintegerrequired
  • 2026-10-09 — The markdown of a page takes what descriptions take: a sysdraw view link written as an image line, ![title](https://sysdraw.app/s/<22-character token>), and a fenced ```mermaid code block, which the web app draws as a diagram (the source stays in the body and get_page gives it back unchanged). Config directives (%%{init: ...}%%), front matter (a leading --- block) and image shapes are not drawn, and neither is a diagram over about 20 000 characters or 500 lines.