680
// chat, so they keep a compact prompt/model summary.
681
if (params.item.tool === 'spawnAgent') {
683
>
{
684
>
type: ActionType.ChatToolCallStart,
685
>
turnId: params.turnId,
686
>
toolCallId,
687
>
toolName,
688
>
displayName: labels.displayName,
689
>
},
690
>
{
691
>
type: ActionType.ChatToolCallReady,
692
>
turnId: params.turnId,
693
>
toolCallId,
694
>
invocationMessage: labels.present,
695
>
confirmed: ToolCallConfirmationReason.NotNeeded,
696
>
},
697
>
];
698
>
}
699
const inputParts: string[] = [];
700
if (params.item.prompt) {