| create_permission_hook | R Documentation |
Create a hook that enforces a permission mode for tool execution.
create_permission_hook(
mode = c("implicit", "explicit", "escalate"),
allowlist = c("search_web", "read_resource", "read_file")
)
mode |
Permission mode:
|
allowlist |
List of tool names that are auto-approved in "escalate" mode. Default includes read-only tools like "search_web", "read_file". |
A HookHandler object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.