Get Template Job
get_template_jobRead exact durable template preparation status. For library-import or library-export, ready means a saved organization template and destination-owned package receipt; projectId remains null. Preserve templateId/templateVersion, documentSha256 and package receipt; refresh its URL with get_template_package_download. Export sourceProjectId identifies the original saved project; projectId remains null. For ordinary instantiation/apply, read the returned projectId. Failed/cancelled states include the retained reason. Do not treat preparing as successful import.
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": {
"jobId": "<jobId>"
},
"name": "get_template_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | jobId (path). |
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 |