modular
Perform modular arithmetic operations including addition, multiplication, and exponentiation with a specified modulus.
Instructions
Perform modular arithmetic operations.
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": {
"operation": "<operation>",
"a": "<a>"
},
"name": "modular"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | ||
| a | Yes | ||
| b | No | ||
| mod | No | ||
| power | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||