get_setup_status
Verify whether a Redshift profile is configured without touching the database. Returns status fields and a next-step hint to guide proactive setup decisions.
Instructions
Read-only check of whether a profile is configured. Safe to call at any time including the very start of a session — does not touch Redshift, does not return any secrets.
Use at session start to decide proactively whether to call
setup_via_dialog (before triggering any DB tool's
not_configured error path), or to verify a setup_via_dialog
call succeeded from a fresh angle.
Returns:
profile— the queried profile namesource—"inline"when the server was launched in legacy inline mode (--host/--user/--dbname+REDSHIFT_ PASSWORDenv, e.g. the Claude Code plugin UI), else"profile". In inline mode the profile/keychain path is bypassed entirely, so don't go hunting for an active profile.configured— bool, equivalent to has_fields && has_passwordhas_fields— whether config.toml has this profile's non-secret fields (host / port / user / dbname); in inline mode, True (the fields came from launch args)has_password— whether a password is available (OS keychain in profile mode;REDSHIFT_PASSWORD/--passwordin inline mode). NEVER returns the password itselfhost/port/user/dbname— present only when has_fields=True (these are non-secret)next_step— present only when configured=False; actionable hint pointing at the right mechanism for the mode
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||