MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isToolPolicyAction

Function isToolPolicyAction

packages/core/sdk/src/core-schema.ts:368–369  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

366] as const satisfies readonly ToolPolicyAction[];
367
368export const isToolPolicyAction = (value: unknown): value is ToolPolicyAction =>
369 typeof value === "string" && (TOOL_POLICY_ACTIONS as readonly string[]).includes(value);

Callers 1

policiesCreateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected