Method
This is a method of the PermissionAllowlist class in the approval module.Add a tool to the allowlist.
Signature
Parameters
Name of the tool to allow
Optional list of allowed paths (empty = all paths)
If True, permission expires with session
add_tool: Add a tool to the allowlist.
This is a method of the PermissionAllowlist class in the approval module.Add a tool to the allowlist.
def add_tool(tool_name: str, paths: Optional[List[str]], session_only: bool) -> None