Learn R Programming

aisdk (version 1.1.0)

create_delegate_tool: Create a Delegate Tool for an Agent

Description

Internal function to create a Tool that delegates to an Agent.

Usage

create_delegate_tool(agent, flow = NULL, session = NULL, model = NULL)

Value

A Tool object.

Arguments

agent

The Agent to wrap.

flow

Optional Flow object for context tracking.

session

Optional ChatSession for shared state.

model

Optional model ID for execution.