Skip to content

WorkflowToolInvocation

junjo.plugins.openai_agents.WorkflowToolInvocation

Kind: Class

SDK version: 0.69.0

Documentation channel: Stable release

WorkflowToolInvocation(workflow: Workflow, store: BaseStore[Any] | None = None, correlation: ExecutionCorrelation | None = None, cleanup: Cleanup | None = None)

View source

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

store can explicitly borrow an application Store. Omitting it uses the Workflow factory. correlation is passed through to the native execution. cleanup releases only invocation-scoped application resources after success, failure, or cancellation.

workflow: Workflow

View source

Public attribute.

store: BaseStore[Any] | None = None

View source

Public attribute.

correlation: ExecutionCorrelation | None = None

View source

Public attribute.

cleanup: Cleanup | None = None

View source

Public attribute.