Programming Tools

Programming tools provide code execution, development, and computational capabilities within BroxiAI workflows.

Python REPL Tool

The Python REPL Tool provides an interactive Python environment for code execution and development.

Usage

Interactive Python capabilities including:

  • Real-time code execution

  • Variable persistence across calls

  • Package imports and usage

  • Data analysis and visualization

  • Algorithm development and testing

Inputs

Name
Display Name
Info

code

Python Code

Python code to execute in the REPL

Outputs

Name
Display Name
Info

result

Result

Execution output and results

error

Error

Error messages if execution fails

Python Code Structured Tool

The Python Code Structured Tool provides advanced Python code execution with structured input/output handling.

Usage

Advanced Python execution featuring:

  • Structured data input/output

  • Type validation and conversion

  • Enhanced error handling

  • Function parameter mapping

  • Return value processing

Inputs

Name
Display Name
Info

code

Code

Python function or code block to execute

parameters

Parameters

Structured parameters for the code

imports

Imports

Required Python imports

Outputs

Name
Display Name
Info

result

Result

Structured execution results

output_type

Output Type

Type information for the returned data

Calculator Tool

The Calculator Tool provides mathematical computation capabilities for numerical operations.

Usage

Mathematical operations including:

  • Basic arithmetic operations

  • Advanced mathematical functions

  • Expression evaluation

  • Scientific calculations

  • Formula processing

Inputs

Name
Display Name
Info

expression

Expression

Mathematical expression to evaluate

Outputs

Name
Display Name
Info

result

Result

Calculated result of the expression

Usage Notes

  • Interactive Development: Real-time code execution and testing

  • Persistent State: Variables and imports persist across executions

  • Error Handling: Comprehensive error reporting and debugging support

  • Mathematical Computing: Advanced calculation capabilities

  • Structured I/O: Type-safe input and output handling

  • Package Support: Access to the full Python ecosystem

Last updated