confluence_createSpaceTemplateFromFile
Create a new space page template from a local XML file to add a Create-from-template entry for BSA templates, avoiding duplicates by failing if the template name already exists.
Instructions
Create a new space page template from a local storage XML file via POST /rest/experimental/template. Use after a new BSA заготовка exists and needs a TempStream Create-from-template entry. Fails if a template with the same name already exists.
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": {
"spaceKey": "<spaceKey>",
"name": "<name>",
"filePath": "<filePath>"
},
"name": "confluence_createSpaceTemplateFromFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New template name, e.g. SRS-XXX-DB-01 Модель данных | |
| labels | No | Optional label names (global prefix) | |
| filePath | Yes | Absolute path to storage XML (usually dumped from BSA page) | |
| spaceKey | Yes | Space key, e.g. TempStream | |
| description | No | Template description shown in Create from template |