Mod
Create a modular number or polynomial by specifying a value and a modulus, enabling modular arithmetic computations in number theory.
Instructions
Create a modular number or polynomial.
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": "Mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Value. | |
| b | Yes | Modulus (integer or polynomial). |