solve
Computes a tab’s power budget like the app’s Calculate, returning total and per-part voltage, current, power, efficiency, display-rounded values, plus assumptions and blocked status.
Instructions
Compute the power budget of one tab the way the app's Calculate does. Returns totals
in watts (pin_w, pout_w, ploss_w) and percent (efficiency_pct) at full precision, and
display rounded to 2 decimals as the app shows them, plus per-part voltages (volts),
currents (amperes), power (watts) and each load's v/i/p. current_mode chooses the
load current: 'auto' follows each load's own radio (peak unless it selects nominal),
'peak' or 'nominal' force one. Always read assumptions (rules that are computed but
not fully confirmed, and keys that were read as GUI defaults) and blocked: when
complete is false some parts are unsupported and totals are partial. It never raises
for unsupported constructs, only CYCLE for a loop.
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>"
},
"name": "solve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | ||
| tree_id | Yes | ||
| current_mode | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||