Wiki source code of Edit or Create Pages

Last modified by Vincent Massol on 2026/09/04 19:19

Show last authors
1 Have a connected assistant change a page or create one, where an administrator has enabled the write tools. The assistant saves as you, so the change carries your name (see [[Agent Authentication>>doc:documentation.extensions.user.llm.mcp-server.agent-authentication.WebHome]]).
2
3 1. Ask the assistant to make a change: {{code}}"add a paragraph about backups to the getting-started page"{{/code}}. It reads the page first, then applies exact find-and-replace edits and reports the version it saved.(((
4 {{image reference="assistant-edit-result.png" size="extra" alt="A terminal session in which the assistant calls the edit_document tool on a page and reports that it saved version 1.2, highlighted"/}}
5 )))
6 1. Ask it to create a page where you need a new one: {{code}}"create a new page in Sandbox called weekly-status for the team updates"{{/code}}.
7 1. Open the page's history and check the change: it is saved under your own name, and its summary is stamped {{code}}[AI]{{/code}} so you can tell it apart and compare it with earlier versions.(((
8 {{image reference="ai-edit-history.png" size="extra" alt="The history of the edited page, with the AI-stamped summary of version 1.2 highlighted in the Summary column"/}}
9 )))

Get Connected