Extracts the tool call ID from a namespace path.
Namespaces follow the pattern: ["tools:call_abc123", "model_request:xyz", ...] This function extracts "call_abc123" from the first "tools:" segment.
extractToolCallIdFromNamespace(namespace: string[] | undefined): string | undefined| Name | Type | Description |
|---|---|---|
namespace* | string[] | undefined | The namespace array from stream events |