add_or_update_signal
Create or update a CAN database (DBC) signal, optionally auto-packing it into the first free bit block and rejecting bit-overlapping writes.
Instructions
Create or update a signal; auto_pack=True finds the first free bit block. Rejects bit-overlapping writes.
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": {
"dbc_path": "<dbc_path>",
"message_id_or_name": "<message_id_or_name>",
"signal_name": "<signal_name>",
"length": "<length>"
},
"name": "add_or_update_signal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| scale | No | ||
| length | Yes | ||
| offset | No | ||
| dry_run | No | ||
| max_val | No | ||
| min_val | No | ||
| dbc_path | Yes | ||
| auto_pack | No | ||
| is_signed | No | ||
| mux_value | No | ||
| receivers | No | ||
| start_bit | No | ||
| byte_order | No | little_endian | |
| signal_name | Yes | ||
| value_table | No | ||
| mux_is_switch | No | ||
| message_id_or_name | Yes |