Calculates the depth of a subagent based on its namespace. Counts the number of "tools:" segments in the namespace.
calculateDepthFromNamespace(namespace: string[] | undefined): number| Name | Type | Description |
|---|---|---|
namespace* | string[] | undefined | The namespace array |