create_r_introspect_tools: Create R Introspection Tools

View source: R/r_introspect_tools.R

create_r_introspect_toolsR Documentation

Create R Introspection Tools

Description

Build Tool objects that let an Agent enrich diagnostic context on its own.

Usage

create_r_introspect_tools()

Value

A list of two Tool objects: r_eval and r_session_state.

Examples

## Not run: 
tools <- create_r_introspect_tools()
agent <- create_agent(
  name = "Diagnostician",
  tools = tools,
  model = "openai:gpt-4o"
)

## End(Not run)

aisdk documentation built on May 29, 2026, 9:07 a.m.