AgentToolInvocation
junjo.plugins.openai_agents.AgentToolInvocation
Kind: Class
SDK version: 0.69.0
Documentation channel: Stable release
Signature
Section titled “Signature”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)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.
Members
Section titled “Members”agent: Agent[AgentInputT, AgentOutputT, DependenciesT, StateT, StoreT]Public attribute.
input: AgentInputTPublic attribute.
dependencies
Section titled “dependencies”dependencies: DependenciesTPublic attribute.
store: StoreT | None = NonePublic attribute.
history
Section titled “history”history: tuple[AgentMessage, ...] = ()Public attribute.
correlation
Section titled “correlation”correlation: ExecutionCorrelation | None = NonePublic attribute.
cleanup
Section titled “cleanup”cleanup: Cleanup | None = NonePublic attribute.