run_flow
Execute multi-step workflows by submitting steps sequentially; each step auto-submits the next. Poll to monitor progress and retrieve results.
Instructions
分步流程执行引擎。创建 session 后逐步提交任务,每步完成后自动提交下一步。即发即返,通过 poll_session 跟踪流程进度。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | 工作目录的绝对路径 | |
| model | No | 模型标识符 | |
| steps | Yes | 步骤描述数组 | |
| policy | No | 任务策略: "read-only" / "safe-edit" / "full-access" / .yaml路径 | |
| thinking | No | 思考级别 | |
| auto_mode | No | 自动审批工具调用 | |
| from_session | No | 接续的前置 session ID。 | |
| memory_level | No | 冷启动内存注入级别。 | standard |