greatest_common_divisor
Calculate the greatest common divisor (GCD) of two integers within the safe integer range.
Instructions
Finds the greatest common divisor (GCD) of two safe integers
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": {
"first": "<first>",
"second": "<second>"
},
"name": "greatest_common_divisor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first | Yes | ||
| second | Yes |