Get a page
get_pageRead a wiki page's title, breadcrumbs, and Markdown body to edit it, with version history and offset-based continuation for long content.
Instructions
Read a page: title, version, URL, breadcrumbs and the body as Sophia Markdown (exact text, to edit and send back with update_page). Long bodies are cut at max_chars: continue with offset, and never save a cut body. With version, reads that older version; with history, lists all versions. Body = GitHub-flavoured Markdown (tables, task lists, fenced code). Raw HTML is NOT rendered (shown as text), so convert it. Sophia syntax: files ; mentions @[Name](user:<uuid>); panels = blockquote whose first line is > [!INFO], > [!NOTE], > [!SUCCESS], > [!WARNING] or > [!ERROR]; internal links [Title](/sophia/spaces/<KEY>/pages/<pageId>); Kanbio ticket keys written as plain text (e.g. PROJ-12; not inside code or links) link automatically. Links may only point to http(s), mailto, /site-paths or #anchors; images only to attachment: or http(s).
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": {
"page_id": "<page_id>"
},
"name": "get_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Start of the body slice, in characters. | |
| history | No | Also list every version (number, date, author, title). | |
| page_id | Yes | Sophia page id (uuid), from get_page_tree, search_pages or recent_pages. | |
| version | No | An older version to read instead of the current one. | |
| max_chars | No | Longest body slice returned. |