Left/Right Shift Calculator
calculator_shiftInteger left (<<) or right (>>) shift with non-negative shift amount.
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": {
"value": "<value>",
"shift": "<shift>",
"operation": "<operation>"
},
"name": "calculator_shift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shift | Yes | Non-negative shift amount. | |
| value | Yes | Integer to shift. | |
| operation | Yes | left or right. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| operation | No | ||
| expression | Yes |