Math
Tool for the math API.
- Base URL:
https://api.math.tools - Auth:
header:X-Mathtools-Api-Secret(pass your key via theapiKeyinput)
Operations
get_numbers_base— GET /numbers/base — Convert a given number from one base to another baseget_numbers_base_binary— GET /numbers/base/binary — Convert a given number to binaryget_numbers_base_hex— GET /numbers/base/hex — Convert a given number to hexadecimalget_numbers_base_octal— GET /numbers/base/octal — Convert a given number to octalget_numbers_cardinal— GET /numbers/cardinal — Get the cardinal of the given numberget_numbers_currency— GET /numbers/currency — Spells out the number as a currency
Inputs
apiKey— your math API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_numbers_base
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: get_numbers_base, get_numbers_base_binary, get_numbers_base_hex, get_numbers_base_octal, get_numbers_cardinal, get_numbers_currency |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |