Skip to content

AgentToolInvocation

junjo.plugins.openai_agents.AgentToolInvocation

Kind: Class

SDK version: 0.69.0

Documentation channel: Stable release

AgentToolInvocation(agent: Agent[AgentInputT, AgentOutputT, DependenciesT, StateT, StoreT], input: AgentInputT, dependencies: DependenciesT, store: StoreT | None = None, history: tuple[AgentMessage, ...] = (), correlation: ExecutionCorrelation | None = None, cleanup: Cleanup | None = None)

View source

Fresh native Junjo Agent invocation for one OpenAI function-tool call.

The application supplies the typed input, dependencies, optional history, correlation, and invocation-scoped cleanup. The adapter does not share private Agent runtime state between OpenAI tool calls. The application chooses whether to borrow a Store or use the Agent factory.

agent: Agent[AgentInputT, AgentOutputT, DependenciesT, StateT, StoreT]

View source

Public attribute.

input: AgentInputT

View source

Public attribute.

dependencies: DependenciesT

View source

Public attribute.

store: StoreT | None = None

View source

Public attribute.

history: tuple[AgentMessage, ...] = ()

View source

Public attribute.

correlation: ExecutionCorrelation | None = None

View source

Public attribute.

cleanup: Cleanup | None = None

View source

Public attribute.