Sign-in status
cs_login_statusCheck whether you are signed in to Microsoft Copilot Studio cloud tools by reading cached MSAL accounts and any pending browser or device-code sign-in, optionally waiting for it to finish.
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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cs_login_status"
}
}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. |