Skip to main content

StartSubagentTaskResponseNotify

@codebolt/codeboltjs


Function: StartSubagentTaskResponseNotify()

function StartSubagentTaskResponseNotify(
content: any,
isError: boolean,
toolUseId?: string): void;

Defined in: packages/codeboltjs/src/notificationfunctions/agent.ts:75

Sends a response to a subagent task request

Parameters

ParameterTypeDefault valueDescription
contentanyundefinedThe response content (string or any object)
isErrorbooleanfalseWhether this is an error response (default: false)
toolUseId?stringundefinedOptional custom toolUseId, will be generated if not provided Requirements: 1.2 - WHEN I call codebolt.notify.agent.StartSubagentTaskResponseNotify() THEN the system SHALL send a StartSubagentTaskResponseNotification via WebSocket

Returns

void