prime_operations
Check if a number is prime, find the next prime, or factorize a number into prime factors.
Instructions
Check if a number is prime, find next prime, or factorize into primes.
Parameters:
operation — 'check' (default), 'next', or 'factors'.
value — Number to operate on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| operation | No | check |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |