From 03bb4fa6dc09f9841ad9bedc33dd2fbca590b88f Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Sun, 17 May 2026 13:42:38 +0200 Subject: [PATCH] tools-cascade.md: use actual call_tool JSON schema in examples --- prompts/tools-cascade.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) 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):