Agent Node Docs

Calculator Basic Local Tool Node

Performs basic arithmetic operations on two numbers

Calculator Basic Local Tool Node

The Calculator Local Node is responsible for performs basic arithmetic operations on two numbers. This node allows the agent to provide informative data directly sourced from Calculator Local.

Input Parameters

  • operation: The arithmetic operation to perform (add, subtract, multiply, divide).
  • operand1: The first number.
  • operand2: The second number.

Output

dict: A dictionary containing the operation, operands, result, and any error messages.

Calculator Basic Local Tool Node