Number Facts Tool
number-factsGet a trivia fact about a specific number, a batch of random integers, or today's curated number of the day. Requires a math.tools API token (numbers:* ability).
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": {
"action": "<action>"
},
"name": "number-facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | For action 'random': maximum value, inclusive. | |
| min | No | For action 'random': minimum value, inclusive. | |
| total | No | For action 'random': how many numbers to return (capped server-side). | |
| action | Yes | Which lookup to perform. 'fact' needs number; 'random' returns one or more random integers; 'number-of-the-day' returns today's curated pick. | |
| number | No | Required when action is 'fact' — the number to look up. | |
| category | No | For action 'number-of-the-day': the category shortname. Defaults to the site's default category. |