add_pcb_text
Add text labels to PCB layers such as silkscreen or fab. Specify content, position, layer, and rotation to annotate your board.
Instructions
Add text to the PCB (silkscreen, fab layer, etc.).
Args:
text: Text content
x: X position
y: Y position
layer: Layer (e.g. "F.SilkS", "B.SilkS", "F.Fab")
rotation: Rotation in degrees
pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.
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": {
"text": "<text>",
"x": "<x>",
"y": "<y>"
},
"name": "add_pcb_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| text | Yes | ||
| layer | No | F.SilkS | |
| pcb_path | No | ||
| rotation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |