Skip to main content

is_allowed

Method
This is a method of the PermissionAllowlist class in the approval module.
Check if a tool is allowed.

Signature

Parameters

str
required
Name of the tool
Optional
Optional path to check against allowed paths

Returns

bool
True if tool is allowed (optionally for the given path)

Uses

  • normpath

Source

View on GitHub

praisonaiagents/approval.py at line 126