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

Function isToolPolicyAction

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

Source from the content-addressed store, hash-verified

504] as const satisfies readonly ToolPolicyAction[];
505
506export const isToolPolicyAction = (value: unknown): value is ToolPolicyAction =>
507 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