compare_energy
Compare the energy usage of two functionally equivalent commands to identify which consumes less power and by how much.
Instructions
Measure two commands and report which consumes less energy and by what margin.
Only meaningful if both commands are functionally equivalent (same outputs for the same inputs) — verify that separately before drawing conclusions.
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": {
"command_a": "<command_a>",
"command_b": "<command_b>"
},
"name": "compare_energy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repeats | No | ||
| command_a | Yes | ||
| command_b | Yes | ||
| idle_seconds | No |