Skip to contents

Returns every built-in tool except ask_user, which you can add with tools_interactive(). That includes run_r_code and run_bash, which run with your user account's access and are not sandboxed. The default permissions deny them and the web tools; permissions_full() allows everything.

Usage

tools_all(env = NULL)

Arguments

env

The names of other environment variables the code may read, such as c("HTTPS_PROXY", "NO_PROXY") behind a proxy. Proxy settings match in either case, so "HTTPS_PROXY" passes https_proxy too. "inherit" passes your whole environment, including every key it holds.

Value

A list of tools.

Examples

if (FALSE) { # \dontrun{
# Allow every tool
agent <- Agent$new(
  chat = ellmer::chat("openai/gpt-6-luna"),
  tools = tools_all(),
  permissions = permissions_full()
)
} # }