physics-calculators
v0.1.0Physics calculators that show their work, plus the CODATA 2022 constants.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_calculators List the calculators
Every UsePhysics calculator: id (slug), name, category, formula, inputs (key, unit, default) and page URL. Optional category filter.
| Parameter | Type | Description |
|---|---|---|
category | string | e.g. Mechanics, Energy, Electricity & Waves, Everyday Life |
calculate Run a calculator
Run one calculator by id with numeric inputs: every key from list_calculators, exactly as listed, in the listed units (an unknown or missing key is an error naming it; nothing takes a default). Returns every result with its unit, the formula, the Given → Formula → Substitute → Result working when the engine can derive it, and the URL of the solved page.
| Parameter | Type | Description |
|---|---|---|
calculator_id * | string | The calculator id (slug) from list_calculators, e.g. kinetic-energy |
inputs * | object | Every input key from list_calculators (e.g. {"m": 2, "v": 3}), in the listed units; an unknown or missing key is an error |
get_constant Look up a physical constant
One CODATA 2022 constant by id, symbol or name (e.g. 'c', 'speed of light', 'planck-constant'): value as NIST prints it, machine-readable value, standard uncertainty (null = exact), unit, note, page and NIST source.
| Parameter | Type | Description |
|---|---|---|
query * | string | id, symbol or name, e.g. 'c', 'speed-of-light-in-vacuum', 'Planck constant' |
list_constants List the physical constants
The CODATA 2022 constants UsePhysics keeps, grouped; optional group id filter. Values are NIST's.
| Parameter | Type | Description |
|---|---|---|
group | string | A group id from a previous answer, e.g. si-defining-constants |