prime_operations
Check if a number is prime, find the next prime, or factorize an integer into prime factors.
Instructions
Check if a number is prime, find next prime, or factorize into primes.
Parameters:
operation — 'check' (default), 'next', or 'factors'.
value — Number to operate on.
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": {
"value": "<value>"
},
"name": "prime_operations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| operation | No | check |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |