A blocked tool call doesn’t fail a claude -p run: the exit code is 0. Read permission_denials and is_error in the JSON result instead. Script included, tested.
Need help?
Contact usA blocked tool call doesn’t fail a claude -p run: the exit code is 0. Read permission_denials and is_error in the JSON result instead. Script included, tested.