--- description: Use maximum parallel tool calls by default to accommodate tree-of-reasoning alwaysApply: true --- # Maximum Parallel Tool Calls (Tree-of-Reasoning) Prefer **maximum parallelism** when calling tools. - **Default**: Use the maximum number of parallel tool calls whenever there are no dependencies between calls. Do not serialize calls that can run concurrently. - **Rationale**: This accommodates tree-of-reasoning and reduces latency by issuing independent reads, searches, and edits in a single batch. - **When to parallelize**: Read multiple files, run multiple searches, or perform multiple independent edits in one turn when the operations do not depend on each other's results. - **When to serialize**: Only run tools sequentially when one call's output is required as input (e.g., path, ID, or content) for the next. Example: When exploring a codebase, call `read_file`, `grep`, and `codebase_search` in parallel for different targets in the same turn instead of waiting for each result before starting the next.