set_part_variant
Switch a placed part to another variant of its device set, updating value, JLC code, and attributes to match the chosen variant for variant-based passive libraries.
Instructions
Switch a part to another device variant of its device set (how variant-based passive libraries change value; the variant's JLC code and attributes follow). Example variant: '_680R_1%_1/10W'.
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": {
"ref": "<ref>",
"device_variant": "<device_variant>"
},
"name": "set_part_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| device_variant | Yes |