Number Theory
analyze_number_theoryPerform number theory operations on integers: check primality, find prime factors, divisors, and compute Euler's totient.
Instructions
Number theory operations
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>",
"operation": "<operation>"
},
"name": "analyze_number_theory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Integer to analyze | |
| operation | Yes | Number theory operation (is_prime, prime_factors, divisors, totient) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||