Ohm's law calculator
ohms_lawOhm's law and power: give exactly two of voltage, current, resistance and power; the other two are calculated.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ohms_law"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| i | No | Current (A). Optional. | |
| p | No | Power (W). Optional. | |
| r | No | Resistance (Ω). Optional. | |
| v | No | Voltage (V). Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| url | Yes | ||
| code | Yes | ||
| rows | Yes | ||
| table | No | ||
| inputs | Yes | ||
| summary | Yes |