Push local changes
cs_pushUpload local topic, knowledge, flow, and connection changes into a Copilot Studio agent's draft so it matches your workspace, validating YAML first and blocking on conflicts.
Instructions
Send local file changes up into the agent's draft in Copilot Studio - topics, knowledge files, flows, connection references - so the draft matches your workspace (pac copilot push). This is the tool for 'upload', 'send my changes up' and 'sync my edits'. It only moves files into the draft; cs_publish is the separate step afterwards. Validates YAML first and blocks on errors unless force. The dry run also reports components changed in Copilot Studio since the last sync (quick drift check, needs a cached cs_login); when one of those also changed locally the push is blocked unless force. Changes the agent in Copilot Studio: requires confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Push even if validation reports errors or portal changes conflict with local edits | |
| confirm | No | Required to actually perform a change in a live environment. Without it the tool returns a dry run. | |
| workspace | No | Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory. |