Set Project Champion
set_project_championSets a model as its project's champion by copying missing target, event, and variable metadata to the project, so Model Manager accepts and publishes it.
Instructions
Make a model its project's champion, preparing the project as Model Manager's UI does.
The champion is the model a project publishes and monitors. Model Manager refuses a champion until the project has its target fields and its variables, which PROC REGISTERMODEL does not set, so this first copies the model's target, event and event probability variable to the project where they are missing, and adds the model's input and output variables the project lacks. Fields already set are kept.
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": {
"project_id": "<project_id>",
"model_id": "<model_id>"
},
"name": "set_project_champion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | A model in that project. | |
| project_id | Yes | The project's ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||