prime_factor
Computes the prime factorization of an integer from 2 up to 1 trillion, breaking it into its prime factors.
Instructions
Find the prime factorization of an integer.
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": "prime_factor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Integer to factorize (>= 2, max 1 trillion). |