is_coprime
Check if two numbers are coprime by determining if their greatest common divisor equals 1. Use this tool to verify number theory relationships in mathematical computations.
Instructions
Check if two numbers are coprime (their greatest common divisor is 1). (Domain: arithmetic, Category: number_theory)
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": {
"a": "<a>",
"b": "<b>"
},
"name": "is_coprime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |