Create or update model
create_modelCreate a new model or update an existing model for a project. Provide project_id and name to create; add model_id to rename or change fields.
Instructions
Create or update a model (create-or-update: not idempotent).
Create: call with
project_idandname(and optionaldescription). Each call withoutmodel_idcreates another model.Update/rename: also pass
model_idplus the fields to change; this PATCHes the existing model.
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>",
"name": "<name>"
},
"name": "create_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| model_id | No | ||
| project_id | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||