Attach wiki to site
site_attachLet a site work in one of the organization's wikis as the person signed in to it: read, and write pages and records where that person may. Pass capabilities ["read"] to attach it read-only; attaching again changes it. Requires an admin of the wiki or an organization owner. A published site picks up the change when it is next published.
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": {
"id": "<id>",
"wiki": "<wiki>",
"org": "<org>"
},
"name": "site_attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The site's short name (its name lowercased, other characters made hyphens, e.g. deal-flow), or its client id. | |
| 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. | |
| wiki | Yes | The wiki's name, e.g. general. | |
| capabilities | No | ["read"] attaches the wiki read-only; ["read", "write"], the default, lets the site write pages and records there, within what each person signed in may do. |