Import Template Package
import_template_packageImport an uploaded portable template package using only uploadId and idempotencyKey. The reservation binds archive bytes and ownership; never supply storage keys, document bodies or provenance assertions. Optional destinationSlug/name creates an explicit fork. Updating an existing slug requires both expectedVersion and expectedDocumentSha256. Returns a durable library-import job; use get_template_job until ready. Read its destination templateId/templateVersion and package receipt. Organization-library operation; project-bound editor credentials are refused.
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": {
"body": "<body>"
},
"name": "import_template_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| commandId | No | Retry identity. A call repeated with the same commandId returns the first result instead of acting twice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| jobId | No | ||
| stage | No | ||
| status | No | ||
| package | No | ||
| createdAt | No | ||
| errorCode | No | ||
| projectId | No | ||
| updatedAt | No | ||
| templateId | No | ||
| templateRef | No | ||
| errorMessage | No | ||
| documentSha256 | No | ||
| sourceProjectId | No | ||
| templateVersion | No |