Skip to main content

Function: buildPendingExternalToolExecutionContext()

buildPendingExternalToolExecutionContext(pendingRequest, options?): ToolExecutionContext

Defined in: packages/agentos/src/api/runtime/resumeExternalToolRequestWithRegisteredTools.ts:104

Builds the ToolExecutionContext that a host should use when it wants to execute a persisted external tool pause against AgentOS's registered tool registry after restart.

Parameters​

pendingRequest​

AgentOSPendingExternalToolRequest

options?​

PendingExternalToolExecutionOptions = {}

Returns​

ToolExecutionContext