Validate workspace YAML
cs_validateValidates Copilot Studio agent files against authoring schema and cross-file rules to catch broken properties, IDs, placeholders, Power Fx prefixes, variables, connections, and redirects before push.
Instructions
Structural validation of every component file against the Copilot Studio authoring schema (kinds, unknown/missing properties, duplicate ids, placeholders, Power Fx prefixes, variable scopes) plus cross-file checks (connection references, topic redirects). Answers 'is anything broken in these files?'; it only reads them and sends nothing anywhere. cs_push runs it itself and blocks on errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Validate a single file (relative to workspace) | |
| workspace | No | Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory. |