/** * Configuration for extracting values from tool responses and assigning them to dynamic variables. */ export interface DynamicVariableAssignment { /** The source to extract the value from. Currently only 'response' is supported. */ source?: "response"; /** The name of the dynamic variable to assign the extracted value to */ dynamicVariable: string; /** Dot notation path to extract the value from the source (e.g., 'user.name' or 'data.0.id') */ valuePath: string; /** If true, this assignment's value will be removed from the tool response before sending to the LLM and transcript, but still processed for variable assignment. */ sanitize?: boolean; }