create_pack_revision
Create a draft Pack Revision from an accepted behavior candidate. Use only after the preceding resource and authority prerequisites are satisfied; inspect the server receipt before continuing. Required fields: organizationId, projectId, environmentId, id, packKey, version, behaviorRevisionCandidateId. The authenticated MCP session supplies the tenant scope; any supplied scope identifiers must match it. Unknown fields are rejected. This changes governed state and remains fail-closed behind server authorization and an auditable receipt.
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": {
"id": "<id>",
"packKey": "<packKey>",
"version": "<version>",
"behaviorRevisionCandidateId": "<behaviorRevisionCandidateId>"
},
"name": "create_pack_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Documented id input for create_pack_revision; use the published type and keep customer data within the authenticated scope. | |
| packKey | Yes | Immutable packKey reference used to bind this create_pack_revision operation to the correct released or persisted resource. | |
| version | Yes | Documented version input for create_pack_revision; use the published type and keep customer data within the authenticated scope. | |
| projectId | No | Authenticated customer scope identifier; must match the API key scope and is never inferred from model text. | |
| environmentId | No | Authenticated customer scope identifier; must match the API key scope and is never inferred from model text. | |
| organizationId | No | Authenticated customer scope identifier; must match the API key scope and is never inferred from model text. | |
| behaviorRevisionCandidateId | Yes | Immutable behaviorRevisionCandidateId reference used to bind this create_pack_revision operation to the correct released or persisted resource. |