factorize
Compute the prime factorization of a positive integer, returning factors with multiplicity. Supply an integer up to 10 digits to get its prime factors.
Instructions
When: prime factorization of a positive integer (not evaluate fact()). Params: n (positive integer, ≤10 digits). Example: n=12 → factors with multiplicity.
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": "factorize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |