Skip to main content

Module script_tool

Module script_tool 

Source
Expand description

Runtime script tool executor for A.R.E.S.

This tool executes JavaScript or Python scripts configured via execution_config. Scripts receive tool arguments via parameter substitution ({{param}}) and as an args global variable.

§Execution environments

  • JavaScript — executed in-process via boa_engine (pure-Rust, sandboxed: no filesystem or network access).
  • Python — executed in a separate OS process with a restricted builtin set and configurable timeout / memory limits.

Structs§

ScriptTool
Runtime script tool that executes JavaScript or Python code.
ScriptToolConfig
Script-specific configuration parsed from execution_config JSONB.