Persistent context of the AI agent that calls the function. Same for all AI functions used by this agent.
Unique identifier for the AI agent making the call.
Context specific to each individual AI function call. Can contain parameters or data unique to the current function invocation or current function connection to the AI agent.
OptionalinstructionsInstructions of the calling AI agent, when the function runs an AI sub-agent that should honor them (e.g. formatting rules or domain conventions). For integration-connected functions this carries the integration's instructions instead (see AiConnectedIntegrationMetadata).
The session associated with this AI function call.
Context object passed as a second parameter to every AI function call, providing both agent-specific and function-specific context.