Create space
create_spaceCreate a new top-level container for pages; the caller becomes owner with write permissions. Use to start a new space in the wiki.
Instructions
Create a space; the caller becomes its owner (write scope). slug is derived from name when omitted. Use to start a new top-level container of pages; to add a page inside an existing space use create_page, and to rename a space use update_space.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | space name (1-200 chars) | |
| slug | No | optional url slug; derived from name when omitted | |
| org_id | No | optional org id to own the space (caller must be a member); omit for a personal space | |
| idempotency_key | No | optional client-generated key; a retry with the same key returns the original result instead of creating a duplicate space (safe retries after a dropped connection) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | Yes |