batch_calculate
Process multiple calculations in one request using the specified operation (add, subtract, multiply, divide) for efficient batch computation.
Instructions
Perform multiple calculations in a single request
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| calculations | Yes | 
Input Schema (JSON Schema)
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "calculations": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "a": {
            "type": "number"
          },
          "b": {
            "type": "number"
          },
          "op": {
            "enum": [
              "add",
              "subtract",
              "multiply",
              "divide"
            ],
            "type": "string"
          }
        },
        "required": [
          "a",
          "b",
          "op"
        ],
        "type": "object"
      },
      "maxItems": 100,
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "calculations"
  ],
  "type": "object"
}