Try to match a subgraph to a pending subagent by description. Creates a mapping from namespace ID to tool call ID if a match is found.
Uses a multi-pass matching strategy:
matchSubgraphToSubagent(namespaceId: string, description: string): string | undefined| Name | Type | Description |
|---|---|---|
namespaceId* | string | The namespace ID (pregel task ID) from the subgraph |
description* | string | The description from the subgraph's initial message |