set_property
Set, add, or remove one property line on a part or terminal in an LTpowerPlanner tree, with units by key; set value to null to restore the default.
Instructions
Set, add or remove one property line of a part or terminal. The target is a part
(part_id, or a unique part_name) or a terminal (terminal, e.g. '2:Output:1');
give one. Units follow the key: Vout/VoutMin/VoutMax in
volts, Ipeak/Inom/IoutMax in amperes (scaled by IpeakU/InomU, a power-of-ten exponent),
NomEff in percent, Resstnce in ohms. value=null removes the line, which restores the
app's default for that key. Keys never seen for that part type fail with UNKNOWN_KEY
unless allow_unknown_key=true. Returns the stored old and new text.
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": {
"tree_id": "<tree_id>",
"key": "<key>",
"value": "<value>"
},
"name": "set_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| tab | No | ||
| value | Yes | ||
| part_id | No | ||
| tree_id | Yes | ||
| terminal | No | ||
| part_name | No | ||
| allow_unknown_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||