Create site
site_createAdd a site to a wiki, its home: whoever can read that wiki may sign in to the site, and the wiki's admins and organization owners manage it. Requires an admin of the wiki or an organization owner. With no source it gets a code tree of its short name, made if the organization has none. Its short name must be free in the organization.
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": {
"wiki": "<wiki>",
"name": "<name>",
"org": "<org>"
},
"name": "site_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | slug of the organization whose trees and sites to use. Required on every call, even when only one organization is listed; a path never names it. | |
| name | Yes | The site's name; its short name and address come from it. | |
| wiki | Yes | The name of the site's home wiki, e.g. general. | |
| source | No | code:<tree>, a code tree of the organization's. Leave it out for a tree of the site's short name. | |
| capabilities | No | What the site may do in its home wiki. ["read"] is read-only; ["read", "write"], the default, lets the site write pages and records there, within what each person signed in may do. |