Scaffold a cloud flow (experimental)
cs_add_flowGenerates a workflow for Copilot Studio agents with a call trigger and response, and can expose the flow as a reusable tool.
Instructions
EXPERIMENTAL: write workflows//metadata.yaml + workflow.json for a flow with the 'when an agent calls the flow' trigger and a response, optionally exposing it as a tool. Format follows the schema's CloudFlowDefinition and the Power Automate solution JSON; verify with cs_pack and in the portal after push.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| inputs | No | ||
| actions | No | Extra Power Automate actions (name -> definition) inserted before the response | |
| addTool | No | Also create actions/<name>.mcs.yml invoking this flow | |
| outputs | No | ||
| overwrite | No | ||
| workspace | No | Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory. | |
| description | No |