get_page

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

added 2026-10-08

Get a page: title, parent, breadcrumbs, url, base_rev (update_page takes it), version, who/when, and the body as the exact Markdown update_page expects (include body, default). Also include backlinks (issues and pages linking here), versions (newest first; cursor / limit page the one list asked for), comments (threads as in get_issue_details: ids for add_comment reply_to / resolve_thread; comments_cursor). version=N: that past version's body. Lists are paged: backlinks.cursor / versions.cursor go back as cursor, comments.cursor as comments_cursor (a missing cursor means the last page). Answers are compact JSON; pass format="text" for a readable Markdown answer.

  • comments_cursorstringoptional
    comments.cursor of an earlier get_page: the next older threads
  • comments_limitintegeroptional
    Comment threads shown (default 5)
  • cursorstringoptional
    Next-page cursor of the backlinks or versions list
  • formatenumoptional
    Answer format: "json" (default) is one compact JSON document; "text" is a readable Markdown answer
    jsontext
  • includestring | string[]optional
    Sections: body (default), backlinks, versions, comments
  • limitintegeroptional
    Rows per list page (1–200, default 20)
  • pageintegerrequired
    Page number
  • projectstringrequired
    Project key
  • versionintegeroptional
    Return that past version's body

Returns

One of these shapes, depending on the arguments:

Shape 1

  • base_revintegerrequired
  • createdstringrequired
  • numberintegerrequired
  • projectstringrequired
  • titlestringrequired
  • updatedstringrequired
  • urlstringrequired
  • versionintegerrequired

Shape 2

    Optional fields, when present

    • backlinksobjectoptional
      Items {kind: issue or page, key or project + number, title}, count, total, cursor
    • bodystringoptional
      Markdown as update_page takes it
    • body_versionintegeroptional
    • breadcrumbsarray of objectoptional
    • childrenintegeroptional
    • commentsobjectoptional
      As get_issue_details comments: paging and threads newest first {id, author, created, body, quote, resolved, replies}
    • created_bystringoptional
    • notestringoptional
    • parentintegeroptional
    • updated_bystringoptional
    • versionsobjectoptional
      Newest first: items {version, by, at}, count, total, cursor
    • 2026-10-08 — New format argument: Answers are compact JSON by default ({project, number, title, parent, breadcrumbs, url, base_rev, version, created_by, created, updated_by, updated, body, backlinks / versions {count, total, cursor, items}, comments {threads, cursor}, note}); format="text" is the readable Markdown the tool answered before (SPD-849).