prime_gap
Calculate the difference between a prime number and the next prime number in the sequence. This tool helps identify prime gaps for mathematical analysis and number theory applications.
Instructions
Calculate the gap between a prime and the next prime. (Domain: arithmetic, Category: prime_gaps)
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": {
"p": "<p>"
},
"name": "prime_gap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | Yes |