set_component_value
Sets a component's value text and/or existing attribute values in a LibrePCB project by component designator or UUID.
Instructions
Set a component's value text and/or values of its existing attributes.
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": {
"project_path": "<project_path>",
"component": "<component>"
},
"name": "set_component_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | New value text | |
| component | Yes | Component designator (e.g. 'R1') or UUID | |
| attributes | No | Existing attribute name -> value, e.g. {'RESISTANCE': '330'} | |
| project_path | Yes | Path to the project's *.lpp file or its directory |