NAME

Claude::Agent::Permission::Result - Base class for permission results

DESCRIPTION

Base class for permission results in the Claude Agent SDK.

ATTRIBUTES

  • behavior - The permission behavior ('allow' or 'deny')

METHODS

to_hash

my $hash = $result->to_hash();

Convert the result to a hash for JSON serialization.

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).