knowledge_save_page
Add a page, or replace one's text. Adding (collection_id, title, body): Add a page (Markdown) to a collection, optionally inside another page. sources: ids of pages it's based on. Or start it from a template (template_id, from knowledge_outline with templates=true, instead of body; title optional): it gets the template's text with its {{fill-ins}} for you to replace. Replacing (page_id, version, body, and title only to rename it): Replace a page's whole text. version: as you read it; if the page changed since, nothing is saved (read it again). Keep what you weren't asked to change exactly as it was. A heading may end with an id like {#h-3k9x2m4q}: what links to that heading point at. Keep each one at the end of its own heading exactly as written, even when you change the heading's words; never add, copy or move one, and never show it to anyone: quote and answer without it. reason: why, shown in the page's history.
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": {
"author": "<author>",
"reason": "<reason>"
},
"name": "knowledge_save_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| model | No | ||
| title | No | ||
| author | Yes | ||
| reason | Yes | ||
| page_id | No | ||
| sources | No | ||
| version | No | ||
| parent_id | No | ||
| template_id | No | ||
| collection_id | No |