Create a space (import)
import_create_spaceCreate a space from a Confluence space using source_id; importing the same source again returns the existing space without changes.
Instructions
Needs a token with the import:write scope whose owner is a global admin. Nothing is emailed or notified, and no per-row audit events are written. Create a space from a Confluence space. Idempotent by source_id: if it was imported before it returns that space (created=false) and changes nothing. The key must be 2–50 characters, uppercase letter first, then uppercase letters or digits (Confluence keys may need adjusting). Add its people afterwards with import_add_member.
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": {
"source_id": "<source_id>",
"key": "<key>",
"name": "<name>",
"created_by_user_id": "<created_by_user_id>"
},
"name": "import_create_space"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Space key, e.g. ENG (uppercase letters and digits; see list_spaces). | |
| name | Yes | ||
| source_id | Yes | The id of this space (its Confluence space key) in Confluence. Importing the same source id again changes nothing. | |
| created_at | No | ISO 8601 date-time, e.g. 2023-05-02T10:11:12.000Z. | |
| description | No | ||
| created_by_user_id | Yes | Sophia user id (uuid) from import_find_users or import_ensure_user. |