sympy_isprime
Check if an integer is prime using symbolic mathematics.
Instructions
Check if n is prime.
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": "sympy_isprime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Integer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |