rtos_object_write
Add, update, or delete RTOS objects (tasks, queues, timers, semaphores, mutexes, events) with schema and unique-name validation, then reload and re-save the CubeMX project so the .ioc stays canonical.
Instructions
Add / update / delete an RTOS object (task, queue, timer, semaphore, mutex, event) with schema validation and the GUI's unique-name rule, then let CubeMX reload and re-save the project so the .ioc is canonical.
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": {
"op": "<op>",
"object_type": "<object_type>"
},
"name": "rtos_object_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | Operation | |
| api | No | RTOS API label (default: detected) | |
| index | No | Object index for update/delete | |
| fields | No | Field overrides, keyed by field id (name, priority, stackSize, entry, allocationType…) | |
| project_id | No | Project id | |
| object_type | Yes | Data id, e.g. tasks / queues / timers / binarySems / mutexes |