debug Diagnose why your AgentCore agent or environment isn't working correctly. When to use - Your agent is returning wrong answers or errors - Tool calls are failing or timing out - Agent works locally but fails after deploying - Logs aren't showing up in CloudWatch - The AgentCore CLI isn't working or environment seems broken - command not found or prerequisites are missing Do NOT use for: - Deploy failures (CDK errors, IAM during deploy) → use - Scaffolding a new project → use - Measuring quality or setting up monitoring → use Input is optional: Process Step 0: Determine problem type If th…