input.json 785 B

1234567891011121314151617181920212223
  1. {
  2. "steps": [
  3. {
  4. "op": "initialize"
  5. },
  6. {
  7. "op": "newSession"
  8. },
  9. {
  10. "op": "promptAndWaitForAgentMessage",
  11. "text": "Follow these steps exactly, then stop. 1. Call the subagent tool once with run_in_background set to true, description 'Report a finding', and prompt 'Call the report tool once with output exactly CHILD_REPORT_OK, then stop.'. 2. Reply with the single word STARTED. Do not use the bash tool.",
  12. "waitForText": "STARTED"
  13. },
  14. {
  15. "op": "waitForSubagentTurnEnd"
  16. },
  17. {
  18. "op": "promptAndWaitForAgentMessage",
  19. "text": "Repeat back, verbatim, the exact output the background subagent reported to you. Reply with only that text. Do not use any tools.",
  20. "waitForText": "CHILD_REPORT_OK"
  21. }
  22. ]
  23. }