Sign-in status
cs_login_statusCheck if cloud tools are signed in by reviewing cached MSAL accounts and any pending browser or device-code sign-in, including its URL or code. Optionally wait for sign-in to complete.
Instructions
Answer 'am I signed in?' for the cloud tools: the cached MSAL accounts, and whether a browser or device-code sign-in is still pending, with its URL or code; optionally wait for it to complete. For the separate pac sign-in, cs_auth_who.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Block until the pending sign-in completes (up to 10 minutes) | |
| tenantId | No | Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID. | |
| workspace | No | Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory. |