confluence_getSpaceTemplateToFile
Download a Confluence space page template body storage to a local XML file. Provide space key and template ID or name to save the file.
Instructions
Download a space page template body.storage to a local XML file. Requires spaceKey (GET by id alone 404s on DC). Identify by templateId and/or exact/partial name.
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>",
"filePath": "<filePath>"
},
"name": "confluence_getSpaceTemplateToFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Template name or substring, e.g. CR-XXX-BRD | |
| filePath | Yes | Absolute path to write storage XML | |
| spaceKey | Yes | Space key, e.g. TempStream | |
| templateId | No | Space template ID, e.g. 227016711 for CR-XXX-BRD |