prime_check
Determine whether a non-negative integer up to 1 trillion is prime, retrieve its prime factorization, and identify adjacent primes for number theory and validation tasks.
Instructions
Check if a number is prime, get its factorization, and find adjacent primes.
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": {
"number": "<number>"
},
"name": "prime_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Non-negative integer to check (max 1 trillion). |