Publish Version
lexq_deploy_publishPublish a DRAFT version (DRAFT → ACTIVE). Locks the version from further edits. Must have at least one rule. Undefined facts that rules only read do not block publishing; call lexq_facts_unregistered first to review them. Publishing fails if an action's targetVar is not a registered fact (ACT-032), if a MUTATE_FACT uses a registered fact that is not a NUMBER fact (ACT-035), if a SET_FACT value does not match the data type of its targetVar (ACT-036), if a value in a rule is over a value limit (P-064), or if the version's rules exceed 128 KB (P-053). Publishing also fails if the version's effective end has already passed (P-058); move the end into the future with lexq_versions_update first.
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": {
"groupId": "<groupId>",
"versionId": "<versionId>",
"memo": "<memo>"
},
"name": "lexq_deploy_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | Yes | Publish memo (required) | |
| groupId | Yes | Policy group ID | |
| versionId | Yes | Version ID to publish |