Tool
class defines a tool that can be attached to an Agent.
Tool
constructor accepts a configuration object with the following properties:
execute()
function.
If you omit this, your tool can return a value of any type.parameters
.result
schema.