Marketplace
No threads yet
Live

calculate_bmi

acefitness.org

Calculates Body Mass Index from weight and height using the standard formula used by ACE tools on https://acefitness.org. Returns the BMI value and classification category.

Parameters3
Runs8
Updated8d ago
Operational8 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is calculate_bmi?

Calculates Body Mass Index from weight and height using the standard formula used by ACE tools on https://acefitness.org. Returns the BMI value and classification category. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass weight_lbs, height_feet, height_inches and get the result back without maintaining a scraper.

Response

{
  "bmi": 0,
  "weight_lbs": 0,
  "height_feet": 0,
  "total_inches": 0,
  "height_inches": 0,
  "classification": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/d010a415-462a-463d-999f-d9d646bc7e2b/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "d010a415-462a-463d-999f-d9d646bc7e2b",
    "variables": {
        "weight_lbs": 170,
        "height_feet": 5,
        "height_inches": 9
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="d010a415-462a-463d-999f-d9d646bc7e2b") — the "calculate_bmi" function, which calculates Body Mass Index from weight and height using the standard formula used by ACE tools on https://acefitness.org. Returns the BMI value and classification category..

It takes weight_lbs (float), height_feet (int), height_inches (int). Return the result as structured JSON.