Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

1.7 KB
Raw Blame
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_thought_chunk","messageId":"300f3be4-0775-4c16-9690-08b0387de3ef","content":{"type":"text","text":"The user wants me to delegate to a subagent: have it reply with exactly \"child answer 42\". Then tell what it said.\n\nSimple. Use subagent with run_in_background false since I need the result."}}}}
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"usage_update","used":7161,"size":1000000}}}
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"tool_call","toolCallId":"call_00_wlOVgO0Ys3iXV7Xv1rVg9261","title":"subagent","kind":"other","status":"in_progress","rawInput":{"description":"Reply exact phrase","prompt":"Reply with exactly the following text and nothing else, no quotes, no punctuation, no additional words:\n\nchild answer 42","run_in_background":false}}}}
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"tool_call_update","toolCallId":"call_00_wlOVgO0Ys3iXV7Xv1rVg9261","status":"completed","content":[{"type":"content","content":{"type":"text","text":"child answer 42"}}]}}}
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"agent_message_chunk","messageId":"271a084b-e62f-4b79-bc17-f4a315e11d76","content":{"type":"text","text":"The subagent said exactly:\n\n> child answer 42"}}}}
{"jsonrpc":"2.0","method":"session/update","params":{"sessionId":"{{sessionId}}","update":{"sessionUpdate":"usage_update","used":7197,"size":1000000}}}