problem history
[Claude Agent SDK Python] can_use_tool callback returning bool/dict → TypeError 'Tool permission callback must return PermissionResult (PermissionResultAllow or PermissionResultDeny)'
Revision reasons are not recorded in this slice.