name: fmapi-codingagent-status description: Check FMAPI configuration health — OAuth session, workspace, and model settings user_invocable: true
FMAPI Status Check
Check the health of your Databricks Foundation Model API (FMAPI) configuration for Codex.
Instructions
- Run the status command:
setup-fmapi-codex status
Present the output to the user. The status dashboard shows:
- Green (active): OAuth session is valid. No action needed.
- Red (expired): OAuth session has expired. Suggest running
$fmapi-codingagent-reauthto re-authenticate, or$fmapi-codingagent-setupto reconfigure. - Routing: Shows whether Serving Endpoints (v1) or AI Gateway v2 (beta) is configured. When AI Gateway is enabled, also displays the workspace ID and base URL.
If the command exits with an error indicating no config was found, inform the user they need to run
$fmapi-codingagent-setupfirst.