tools-cascade.md: use actual call_tool JSON schema in examples
This commit is contained in:
parent
1c578191fa
commit
03bb4fa6dc
|
|
@ -8,14 +8,21 @@ Delegate mechanical subtasks to a cheaper/weaker model. Fire-and-forget: returns
|
|||
|
||||
**Calling convention**:
|
||||
```
|
||||
call_tool: cascade instruction="<fully self-contained task description>" [id="<optional-name>"]
|
||||
call_tool: calls=[{tool: "cascade", args: ["<fully self-contained task description>"]}]
|
||||
```
|
||||
|
||||
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: ["<instruction>", "<id>"]}]
|
||||
```
|
||||
|
||||
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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue