Create AI execution context
create_execution_context
function creates a new execution context for AI operations, establishing a session for agent interactions.
agent_id
: ID of the AI agent to use (required)workflow_id
: ID of the workflow (optional)user_id
: ID of the user initiating the context (optional)session_id
: Unique session identifier (optional)context
: Custom context data as JSON (optional)Result<AiExecutionContext>
containing the created execution context details.