NAME
Claude::Agent::Permission::Result::Allow - Permission result that allows a tool
DESCRIPTION
Permission result that lets the tool run, optionally with changed input or a permission rule update.
ATTRIBUTES
behavior
Always allow.
updated_input
The input the tool should run with. When not given, the CLI is sent the input it asked about.
updated_permissions
ArrayRef of permission updates for the CLI to apply, in the CLI's own PermissionUpdate shape.
METHODS
new
Takes a flat list of name/value pairs. Unknown names are ignored.
to_hash
my $hash = $result->to_hash;
{ behavior => 'allow', updatedInput => ..., updatedPermissions => ... } with only the attributes that were given.
AUTHOR
LNATION, <email at lnation.org>
LICENSE
This software is Copyright (c) 2026 by LNATION.
This is free software, licensed under The Artistic License 2.0 (GPL Compatible).