json tool fix

This commit is contained in:
Nicolás Sánchez 2026-03-09 10:11:51 -03:00
parent 2d6dedaa5a
commit ed52cd3c19
1 changed files with 2 additions and 2 deletions

View File

@ -81,6 +81,8 @@ sessions_spawn(agentId="rss-operator", task="{\"project_name\":\"<project_na
**Task must always be a JSON string. Never an object, never a text description.** **Task must always be a JSON string. Never an object, never a text description.**
If you are unsure how to format the task, use `json.dumps({"project_name": project_name})` or equivalent — do not reason about escaping manually. If the tool returns `task: must be string`, it means you passed a dict/object; wrap it with `json.dumps()` and retry immediately without further analysis.
--- ---
## Step 3 — Await all responses ## Step 3 — Await all responses
@ -116,8 +118,6 @@ CORRECT — raw output, whatever shape the operator returned:
Note that `rss` returns an array and `github` returns an object — this is intentional. Do not normalize them to a common shape. Note that `rss` returns an array and `github` returns an object — this is intentional. Do not normalize them to a common shape.
DO NOT return the url-operator response in this step.
Return: Return:
``` ```
{ {