models-update_definition
models-update_definitionUpdate a plan item definition in a draft model by merging template data or changing order and parent placement. Modify task type, description, status, or structure.
Instructions
Updates a plan item definition in a draft model. Merges template_data with existing values. Can also change the top-level sequence_order and parent_definition_id without touching template_data. Use to change task_type, description, status, ordering, or parent placement.
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": {
"definition_id": "<definition_id>",
"model_id": "<model_id>"
},
"name": "models-update_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| definition_id | Yes | Definition ID (@rid format) | |
| model_id | Yes | Model ID (@rid format) | |
| name | No | New name for the definition | |
| parent_definition_id | No | New top-level parent definition ID (@rid format) — moves the definition to a different parent stage | |
| sequence_order | No | New top-level sequence_order for the definition (used by the model UI for display ordering) | |
| template_data | No | Template data to merge with existing (e.g., {task_type: 'process', description: '...'}) |