Skip to main content

add_tool

Method
This is a method of the PermissionAllowlist class in the approval module.
Add a tool to the allowlist.

Signature

Parameters

str
required
Name of the tool to allow
Optional
Optional list of allowed paths (empty = all paths)
bool
default:"False"
If True, permission expires with session

Uses

  • ToolPermission
  • add

Used By

Source

View on GitHub

praisonaiagents/approval.py at line 96

Tools Concept

Create Custom Tools

Tool Development