auth_status
Verify stored BYOK credentials for Reddit or YouTube and confirm they still work without modifying anything. Call before search to check connection health.
Instructions
Read-only check of whether BYOK credentials are already stored and still valid for a platform (equivalent to auditreach auth --platform <p> --verify --json). Call this before search to confirm credentials are configured and working, or whenever an agent needs to report connection health without touching the search API or the audit log. This tool deliberately exposes no way to set or clear credentials over MCP -- provisioning or wiping stored credentials stays a local, human-driven action via auditreach auth --platform <p> on the machine's own terminal, never something a calling agent can trigger remotely. Behaviorally, this is read-only: it makes a lightweight verification call against the platform's API to confirm the stored credential still works, but it never writes to the audit log and never mutates local credential storage. It is idempotent and safe to call repeatedly. Parameters: platform (required, 'reddit' or 'youtube'; any other value returns a structured unsupported-platform error rather than failing silently). Example calls: {"platform": "reddit"}; {"platform": "youtube"}. Returns a JSON object with success (bool) and exitCode (int); on success the payload confirms credentials are present and valid, on failure error explains what's missing (e.g. no credentials stored, or the stored credential was rejected by the platform).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |