Skip to content

@sqlrooms/ai-core / AiToolExecutionContext

Type Alias: AiToolExecutionContext ​

AiToolExecutionContext = object

Properties ​

sessionId? ​

optional sessionId?: string


aiRunContext? ​

optional aiRunContext?: AiRunContext


getAiRunContext? ​

optional getAiRunContext?: () => AiRunContext | undefined

Returns ​

AiRunContext | undefined


setAiRunContext? ​

optional setAiRunContext?: (runContext) => void

Parameters ​

ParameterType
runContextAiRunContext | undefined

Returns ​

void


setPrimaryRunContextItem? ​

optional setPrimaryRunContextItem?: (item) => void

Parameters ​

ParameterType
itemAiRunContextItem

Returns ​

void