openbrain.tools.tool_simple_calculator

Functions

on_tool_error([agent_config, agent_input])

on_tool_start(agent_config, input_str, **kwargs)

Function to run during callback handler's on_llm_start event.

Classes

OBToolSimpleCalculator([context])

Operator(value)

An enumeration.

SimpleCalculatorAdaptor(*, operation, left_value)

The schema for the tool's input.

SimpleCalculatorTool(*, name, description, ...)