toolProviderPolicyResolutionProjector()
Creates a tool provider policy resolution projector.
Import
Section titled “Import”import { toolProviderPolicyResolutionProjector } from "@graphrefly/ts/orchestration";Signature
Section titled “Signature”function toolProviderPolicyResolutionProjector( graph: Graph, opts: { readonly name?: string; readonly requestFacts: Node<AgentRequestFact>; readonly executorRoutes?: readonly Node<ExecutorRoute>[]; readonly toolProviderCatalogs?: readonly Node<ToolProviderCatalog>[]; },): ToolProviderPolicyResolutionBundleParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | { readonly name?: string; readonly requestFacts: Node<AgentRequestFact>; readonly executorRoutes?: readonly Node<ExecutorRoute>[]; readonly toolProviderCatalogs?: readonly Node<ToolProviderCatalog>[]; } | Options that configure the helper. |
Returns
Section titled “Returns”A node bundle that emits the projected records.
Example
Section titled “Example”import { toolProviderPolicyResolutionProjector } from "@graphrefly/ts/orchestration";Source
Section titled “Source”packages/ts/src/orchestration/agent-runtime-tool-provider-policy.ts