OtherIntermediateClaude Agent SDK
Give each subagent 4 or 5 tools, not all 18
The more tools outside its role an agent has, the worse it chooses; give it only those of its specialty.
According to the guide, spreading 18 tools over a single agent lowers selection reliability compared with giving it 4 or 5. Limit each subagent with allowedTools to what its role needs, plus one or two commonly used ones. If a tool is too general (fetch_url), replace it with a narrow one (load_document).
Example
Search subagent: allowedTools = ["web_search", "load_document"] Synthesis subagent: allowedTools = ["verify_fact"] Coordinator: allowedTools = ["Task", ...]