nth_prime
Calculate the nth prime number using efficient prime generation algorithms. Input an integer n to find the corresponding prime number in the sequence.
Instructions
Find the nth prime number (1-indexed). Uses efficient prime generation. (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": "nth_prime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |