first_n_primes
Generate the first n prime numbers using the Sieve of Eratosthenes algorithm for mathematical calculations and number theory applications.
Instructions
Generate the first n prime numbers using the Sieve of Eratosthenes algorithm. (Domain: arithmetic, Category: number_theory)
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": "first_n_primes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |