Gcf Lcm Tool
gcf-lcmCompute the greatest common factor (GCF/GCD) or least common multiple (LCM) of two or more numbers. Requires a math.tools API token (numbers:* ability).
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": {
"op": "<op>",
"numbers": "<numbers>"
},
"name": "gcf-lcm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | Which operation to perform. | |
| numbers | Yes | Comma-separated list of integers, e.g. '12,18,24'. At least two values. |