Skip to content

WorkflowToolInvocation

junjo.plugins.openai_agents.WorkflowToolInvocation

Kind: Class

SDK version: 0.67.0

Documentation channel: Stable release

WorkflowToolInvocation(workflow: Workflow, correlation: ExecutionCorrelation | None = None, cleanup: Cleanup | None = None)

View source

Fresh Workflow and application-owned lifecycle for one tool call.

workflow must be a fresh invocation definition whose Store state is isolated from other tool calls. correlation is passed through to the native execution. cleanup releases only invocation-scoped application resources after success, failure, or cancellation.