API Reference
resolveToolProviderExecutionPolicies()
Resolves tool provider execution policies.
Import
import { resolveToolProviderExecutionPolicies } from "@graphrefly/ts/orchestration";
Signature
function resolveToolProviderExecutionPolicies(opts: {
readonly request: AgentRequestIssued;
readonly routes?: readonly ExecutorRoute[];
readonly catalogs?: readonly ToolProviderCatalog[];
}): readonly ToolProviderPolicyResolution[]
Parameters
| Parameter | Type | Description |
|---|---|---|
opts | { readonly request: AgentRequestIssued; readonly routes?: readonly ExecutorRoute[]; readonly catalogs?: readonly ToolProviderCatalog[]; } | Options that configure the helper. |
Returns
The resolve tool provider execution policies result.
Example
import { resolveToolProviderExecutionPolicies } from "@graphrefly/ts/orchestration";
Source
packages/ts/src/orchestration/agent-runtime-tool-provider-policy.ts