check_permission_prereqs
Verify API key permissions to read audit logs with a minimal test request. Resolves authentication and permission errors by providing pass/fail status, explanation, and remediation steps.
Instructions
Verify the configured API keys can actually read the audit log.
Makes one minimal audit-log request and reports pass/fail with a plain explanation and remediation steps. Run this first when another tool returns an authentication or permission error. No secret material is echoed - the access key is shown with only its last 4 characters.
Returns:
A dict with ok, a human-readable message, remediation when
failing, plus configuration and local-state diagnostics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||