{
  "slug": "column-math",
  "name": "gizza-ai/column-math",
  "version": "0.1.0",
  "title": "Column Math — Add, Subtract, Multiply & Divide Two Number Lists — gizza.ai",
  "description": "Element-wise math on two columns of numbers — add, subtract, multiply, or divide two lists row by row in your browser. Free, private, no sign-up.",
  "tags": [
    "column math",
    "element-wise",
    "add columns",
    "subtract columns",
    "multiply columns",
    "divide columns",
    "vector math",
    "number list calculator",
    "spreadsheet math",
    "batch arithmetic"
  ],
  "category": "math",
  "urls": {
    "page": "https://gizza.ai/tools/column-math/",
    "markdown": "https://gizza.ai/tools/column-math/index.md",
    "descriptor": "https://gizza.ai/tools/column-math/tool.json",
    "deep_link_example": "https://gizza.ai/tools/column-math/?a=1%0A2%0A3&b=4%0A5%0A6&operation=add"
  },
  "cli": "gizza tool column-math \"1\n2\n3\" 'b=4\n5\n6'",
  "tool": {
    "description": "Perform element-wise arithmetic between two equal-length numeric columns. Pass column A in 'a' and column B in 'b' (numbers separated by commas, spaces, or newlines), and choose operation='add' (default, A+B), 'subtract' (A-B), 'multiply' (A*B), or 'divide' (A/B). The columns must have the same number of values; a zero divisor on divide is an error. Returns the per-row results as a newline-separated list. Use it for spreadsheet-style column math — summing two columns, computing differences, scaling, or ratios.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "a": {
          "description": "Column A — the numbers, separated by commas, spaces, or newlines (one per line).",
          "type": "string"
        },
        "b": {
          "description": "Column B — the second set of numbers, same length as A, separated by commas, spaces, or newlines.",
          "type": "string"
        },
        "operation": {
          "default": "add",
          "description": "Element-wise operation to apply between A and B, row by row: 'add' (default) computes A+B, 'subtract' A-B, 'multiply' A*B, 'divide' A/B (a zero divisor is an error).",
          "enum": [
            "add",
            "subtract",
            "multiply",
            "divide"
          ],
          "type": "string"
        }
      },
      "required": [
        "a",
        "b"
      ],
      "type": "object"
    }
  }
}