ag_calc_unit_convert
Deterministic unit conversion (length, mass, time, data, temperature).
Converts between units within a dimension: length (m/km/mi/ft/in/...), mass (kg/lb/oz/...), time (ms/s/min/h/d/wk), data (b/kb/mib/...), temperature (c/f/k). Exact factors, no model arithmetic errors.
Deterministic, fixture-verified, free for guests (rate-limited; pass your Guild api_key to use your member budget). Returns the result plus a Guild-signed provenance envelope.
payload MUST match this JSON Schema:
{"type": "object", "properties": {"value": {"type": "number"}, "from": {"type": "string"}, "to": {"type": "string"}}, "required": ["value", "from", "to"], "additionalProperties": false}
Output schema: {"type": "object", "properties": {"value": {"type": "number"}, "from": {"type": "string"}, "to": {"type": "string"}, "result": {"type": "number"}, "dimension": {"type": "string"}}, "required": ["value", "from", "to", "result", "dimension"], "additionalProperties": false}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| payload | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||