Register new subagent(s) from AI message tool calls.
Called when an AI message is received with tool calls. Creates pending subagent entries for each subagent tool call.
registerFromToolCalls(toolCalls: __type[], aiMessageId: string | null)| Name | Type | Description |
|---|---|---|
toolCalls* | __type[] | The tool calls from an AI message |
aiMessageId | string | null | The ID of the AI message that triggered the tool calls |