models-update_definition
models-update_definitionUpdate a plan item definition in a draft model by merging template data. Adjust sequence order or parent placement to modify task type, description, status, or ordering.
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.
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: '...'}) |