Skip to main content

Function: buildRegisteredExternalToolExecutionContext()

buildRegisteredExternalToolExecutionContext(input, context, options?): ToolExecutionContext

Defined in: packages/agentos/src/api/runtime/processRequestWithRegisteredTools.ts:68

Builds the ToolExecutionContext for a host-managed external tool call that should execute against AgentOS's registered tool registry during a live processRequest(...) stream.

Parameters​

input​

AgentOSInput

context​

Pick<AgentOSExternalToolHandlerContext, "requestChunk" | "toolCall">

options?​

RegisteredExternalToolExecutionOptions = {}

Returns​

ToolExecutionContext