is_prime
Check if a given integer is prime, with optional rigorous verification for guaranteed accuracy.
Instructions
Test whether an integer is prime.
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": {
"n": "<n>"
},
"name": "is_prime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| rigorous | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||