Write record
wiki_setWrite a data record: on a table (a page with a declared key) add or replace the row with that key; on a log add an entry. Read the page's declarations first. To update a row, read it with wiki_get and supply its _v as ifVersion. The result's problems name the links in the record that point at nothing; fix them unless the page they name is about to be written.
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>",
"value": "<value>",
"org": "<org>"
},
"name": "wiki_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ISO-8601 record time for an unkeyed page; defaults to now. | |
| org | Yes | slug of the organization whose wiki to use. Required on every call, even when only one organization is listed; a path never names it. | |
| path | Yes | The wiki's name, a colon, then the page's dot-separated path (general:docs.deploy). | |
| value | Yes | The complete record object, including the declared key field. Must match the page's schema. System fields beginning with _ and pk/sk are reserved. | |
| ifVersion | No | Expected existing row version from _v. |