ai.tools.Toolbox

class in the ai package.

Reference version

Signature

class ai.tools.Toolbox

Source:<builtin>/ai/ns_tools/tools.bamlbytes 38214555

Fields

Static methods

function

new

(tools: ai.tools.Tool[]) -> ai.tools.Toolbox throws baml.errors.InvalidArgument

Rejects duplicate names, so a toolbox is well-formed on construction.

Instance methods

function

is_empty

(self) -> bool