Is Allowed • AI Agent SDK

is_allowed: API reference for PermissionAllowlist.is_allowed

is_allowed

Method

</div>

This is a method of the PermissionAllowlist class in the approval module.

Signature

python
def is_allowed(tool_name: str, path: Optional[str]) -> bool

Parameters

ParamField str

No description available.

ParamField Optional[str]

No description available.

Returns

ResponseField bool

The result of the operation.

Uses

  • normpath

Source

View on GitHub

praisonaiagents/approval/__init__.py at line 304