Start a session
cs_initChecks machine readiness for Copilot Studio: .NET/pac CLI, active auth, usable tokens, env vars, write policy, and workspace; reports next steps. Read-only; run at session start or after failures.
Instructions
Check whether this machine is ready to work: the pac CLI and .NET, which pac auth profile is active, which cloud resources have a usable token, the environment variables, the write policy in force, and the agent workspace it found, ending with the next steps for that workspace. Read-only. Call it once at the start of a session, and again when a tool fails and you need to know whether the CLI, the credentials or the workspace is the reason. It reports the state of the machine and nothing else: when the user asked for something specific - an agent, a flow, a solution, an environment, instructions - call the tool for that thing instead. cs_create_agent scaffolds or creates an agent; cs_guide explains a task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory. |