agents
Tool Results
```json { "type": "user", "toolUseResult": { "agentId": "3380c209", "usage": { "input_tokens": 2, "output_tokens": 787, "cache_read_input_tokens": 24989 }, "prompt": "You are implementing Task 1...", "content": [{"type": "text", "text": "..."}] } } ``` The `agentId` field links to subagent sessions, and the `usage` field contains token usage for that specific subagent invocation.
← 返回教程列表
AI8899 · 内容仅供学习参考