next_prime
Find the next prime number greater than any given integer for mathematical calculations and number theory applications.
Instructions
Find the next prime number greater than the given number. (Domain: arithmetic, Category: number_theory)
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": "next_prime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |