Edit a topic
cs_edit_topicEdit an existing Copilot Studio topic in place: rename, update description/triggers, adjust priority, append/insert/remove nodes while keeping header comment; validates file.
Instructions
Change an existing topic in place, keeping its comment header: rename, description, trigger phrases (set / add / remove), priority, append or insert nodes (same node spec as cs_add_topic), remove top-level nodes by id. Validates the file afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | Topic name, file stem or path | |
| rename | No | ||
| priority | No | null removes the priority | |
| workspace | No | Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory. | |
| description | No | ||
| appendActions | No | ||
| insertActions | No | ||
| removeActionIds | No | ids of top-level nodes (see cs_describe_workspace or the file) | |
| addTriggerPhrases | No | ||
| setTriggerPhrases | No | ||
| removeTriggerPhrases | No |