bezout
Compute the Bezout identity for two integers, finding coefficients u and v such that gcd(a,b) = au + bv.
Instructions
Compute the Bezout identity: gcd(a,b) = au + bv.
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": "bezout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First integer. | |
| b | Yes | Second integer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |