Validate workspace YAML
cs_validateValidate Copilot Studio component files against the authoring schema and cross-file references to find broken kinds, missing properties, duplicate IDs, Power Fx errors, and bad 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. |