isPrime
isPrimeCheck if a positive integer is a prime number. This tool determines whether a given number is divisible only by 1 and itself.
Instructions
判断一个正整数是否为素数
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": "isPrime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |