Photon energy converter
photon_energyConvert vacuum wavelength, frequency, spectroscopic wavenumber and photon energy with CODATA 2018 constants. Returns photon rate for optical power, photons per joule, momentum and all matching overlapping ISO 21348 spectral categories.
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": {
"value": "<value>",
"unit": "<unit>"
},
"name": "photon_energy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| value | Yes | Positive input value. | |
| power_w | No | Nonnegative optical power in watts; default 1. |