diff --git a/prompts/tools-cascade.md b/prompts/tools-cascade.md index b53f51d..04a3d93 100644 --- a/prompts/tools-cascade.md +++ b/prompts/tools-cascade.md @@ -8,14 +8,21 @@ Delegate mechanical subtasks to a cheaper/weaker model. Fire-and-forget: returns **Calling convention**: ``` -call_tool: cascade instruction="" [id=""] +call_tool: calls=[{tool: "cascade", args: [""]}] ``` -Parallel — issue multiple calls in the same step; they execute concurrently: +With explicit id: ``` -call_tool: cascade instruction="Read /src/a.go and list all exported functions" -call_tool: cascade instruction="Read /src/b.go and list all exported functions" -call_tool: cascade instruction="Read /src/c.go and list all exported functions" +call_tool: calls=[{tool: "cascade", args: ["", ""]}] +``` + +Parallel — consecutive cascade calls fan out automatically (annotation-based): +``` +call_tool: calls=[ + {tool: "cascade", args: ["Read /src/a.go and list all exported functions"]}, + {tool: "cascade", args: ["Read /src/b.go and list all exported functions"]}, + {tool: "cascade", args: ["Read /src/c.go and list all exported functions"]} +] ``` **Returns** (KV, one per line):