cb_tool_describe_state: Create a tool returning the current cohort state

View source: R/ai_tools.R

cb_tool_describe_stateR Documentation

Create a tool returning the current cohort state

Description

Returns a cb_tool whose function takes no arguments and returns a structured text summary of all steps, filters, their active status, and pending state.

Usage

cb_tool_describe_state(cohort)

Arguments

cohort

A Cohort object.

Value

A cb_tool object.


cohortBuilder documentation built on July 3, 2026, 9:07 a.m.