Process a tool message to complete a subagent.
processToolMessage(
toolCallId: string,
content: string,
status: "error" | "success" = "success"
)| Name | Type | Description |
|---|---|---|
toolCallId* | string | The tool call ID from the tool message |
content* | string | The result content |
status | "error" | "success" | Default: "success"Whether the tool execution was successful |