Remove a component from the workspace
cs_remove_componentDelete a topic, knowledge source, tool, trigger, variable, or flow from Copilot Studio workspace files, with a dry run unless confirm is true.
Instructions
Delete a topic, knowledge source, tool, trigger, variable or flow from the workspace files (the live agent changes on the next cs_push). For tools, the connection reference is dropped too unless another tool uses it. Reports topics that still redirect to a removed topic. Deletes files: requires confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| 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. | |
| pruneConnectionReference | No |