MCPcopy Index your code
hub / github.com/coder/mux / answerDelegatedToolCall

Method answerDelegatedToolCall

src/node/services/workspaceService.ts:7784–7792  ·  view source on GitHub ↗
(workspaceId: string, toolCallId: string, result: unknown)

Source from the content-addressed store, hash-verified

7782 }
7783
7784 answerDelegatedToolCall(workspaceId: string, toolCallId: string, result: unknown): Result<void> {
7785 try {
7786 delegatedToolCallManager.answer(workspaceId, toolCallId, result);
7787 return Ok(undefined);
7788 } catch (error) {
7789 const errorMessage = getErrorMessage(error);
7790 return Err(`Failed to answer delegated tool call: ${errorMessage}`);
7791 }
7792 }
7793
7794 clearQueue(workspaceId: string, options?: { cancelReason?: string }): Result<void> {
7795 try {

Callers 2

routerFunction · 0.80

Calls 4

OkFunction · 0.90
getErrorMessageFunction · 0.90
ErrFunction · 0.90
answerMethod · 0.45

Tested by

no test coverage detected