gcd_lcm_calc
Calculate the greatest common divisor and least common multiple for two or more integers by entering values or a comma-separated list.
Instructions
Calculate GCD and LCM of two or more integers.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gcd_lcm_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | First integer. | |
| b | No | Second integer. | |
| numbers | No | Comma-separated integers (or use a and b). |