prevprime
Find the largest prime number less than a given integer greater than 2.
Instructions
Find the previous prime before n.
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": "prevprime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Integer > 2. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |