factor_int
Decompose an integer into prime factors. Specify the integer and optionally choose a factorization method.
Instructions
Factor an integer into prime factors.
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": "factor_int"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| method | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||