prime
Retrieve the nth prime number, where n is a 1-indexed position. Returns the prime at that index.
Instructions
Return the nth prime (1-indexed).
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": "prime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Which prime to return (1-indexed). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |