Amend a page
kb_amendPublish markdown content by creating or editing a page, then committing and pushing to the tracked branch. Use full content or targeted find/replace.
Instructions
Create or change one markdown page under content/, then commit it and push it to the tracked branch so it is published. Pass either content (the whole new page) or edit ({ find, replace }, where find must match exactly once). The message becomes the commit title. Pages are never deleted.
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": {
"path": "<path>",
"message": "<message>"
},
"name": "kb_amend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edit | No | A targeted change: find is replaced by replace. find must occur exactly once in the page. | |
| path | Yes | Page path under content/, ending in .md. | |
| content | No | The complete new text of the page. Use for new pages or full rewrites. | |
| message | Yes | Commit title describing the change, for example 'Expenses: raise meal limit to 60 EUR'. |