82trust / 100

Low Wattage Cooking

by solar.halowerk.com in Developer tools

x402 APIPassing, checked 57 min ago

Uses rated electrical power, food mass, start and target temperature, specific heat and an explicit efficiency range supplied by the caller. Optional vessel heat, evaporation and a caller-defined hold phase can be included. It contains no recipes, recipe text, food-specific cooking claims or hidden food database; the output separates the thermodynamic lower bound from the practical range and is not a food-safety clearance.

POST https://solar.halowerk.com/low-wattage-cooking

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
110 ms typical, 110 ms slowest 5%
Last check
57 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://solar.halowerk.com/low-wattage-cooking" \
  -H "content-type: application/json" \
  -d '{"device_power_w":300,"efficiency":{"expected":0.6,"high":0.75,"low":0.45},"food_mass_kg":1.2,"hold":{"minutes":20,"power_fraction":0.3},"specific_heat_kj_kg_k":4,"start_temperature_c":20,"target_temperature_c":90,"vessel":{"mass_kg":0.8,"specific_heat_kj_kg_k":0.9}}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsolar.halowerk.com%2Flow-wattage-cooking
const res = await pay("https://solar.halowerk.com/low-wattage-cooking", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"device_power_w":300,"efficiency":{"expected":0.6,"high":0.75,"low":0.45},"food_mass_kg":1.2,"hold":{"minutes":20,"power_fraction":0.3},"specific_heat_kj_kg_k":4,"start_temperature_c":20,"target_temperature_c":90,"vessel":{"mass_kg":0.8,"specific_heat_kj_kg_k":0.9}}),
});
console.log(await res.json());

Example input

{
  "device_power_w": 300,
  "efficiency": {
    "expected": 0.6,
    "high": 0.75,
    "low": 0.45
  },
  "food_mass_kg": 1.2,
  "hold": {
    "minutes": 20,
    "power_fraction": 0.3
  },
  "specific_heat_kj_kg_k": 4,
  "start_temperature_c": 20,
  "target_temperature_c": 90,
  "vessel": {
    "mass_kg": 0.8,
    "specific_heat_kj_kg_k": 0.9
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
57 min agoPassed402157 ms$0.003
6 h agoPassed402110 ms$0.003