models-publish
models-publishPublish a draft Case Plan Model to make it active, with the option to archive prior published versions in a single call.
Instructions
Publishes a Case Plan Model (draft -> published). If other published versions of the same model exist, they are listed in the response as prior_published_versions with a hint to archive them. Pass archive_version_ids to publish AND archive in one call.
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": {
"model_id": "<model_id>"
},
"name": "models-publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive_version_ids | No | Optional list of model IDs to archive when publishing. Use to archive prior published versions of the same model. | |
| model_id | Yes | Model ID (@rid format) |