context

abstract fun context(): TContext(source)

Returns the context for the current AI agent execution session. The context provides access to essential details such as environment, input, execution state, configuration, and other metadata required for the AI agent's operations.

Return

The AIAgentContext instance associated with the current execution session.