init_primes
Initialize a primes table up to a specified upper bound to enable quick prime lookups and number theory operations.
Instructions
Initialize the primes table up to M.
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": {
"M": "<M>"
},
"name": "init_primes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| M | Yes | Upper bound for primes. |