Skip to contents

Add a tool to an agent

Usage

add_tool(x, tool, ...)

Arguments

x

An object

tool

A tool created with mcpr::new_tool

...

Additional arguments passed to methods

Value

The modified object