add_bus_label
Add bus labels to KiCad schematics to identify multi-bit signals with range notation, such as DATA[0..7] or RGB[R,G,B], at specified positions.
Instructions
Add a bus label to the schematic.
Bus labels identify multi-bit signals using range notation. Examples: "DATA[0..7]", "ADDR[0..15]", "RGB[R,G,B]"
Args: text: Label text with bus notation (e.g., "DATA[0..7]") position: Label position as (x, y) tuple in mm rotation: Label rotation in degrees (0, 90, 180, 270), defaults to 0 size: Text size in mm, defaults to 1.27 (KiCAD standard) ctx: MCP context for progress reporting (optional)
Returns: Dictionary with success status and bus label information
Examples: >>> # Add 8-bit data bus label >>> result = await add_bus_label( ... text="DATA[0..7]", ... position=(75.0, 48.0) ... )
>>> # Add RGB bus label
>>> result = await add_bus_label(
... text="RGB[R,G,B]",
... position=(100.0, 50.0)
... )Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| text | Yes | ||
| position | Yes | ||
| rotation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||