tools/parallel.py.dox.md
parallel.py agent tool.parallel.py because this directory is intentionally flat.parallel.py owns the runtime implementation.parallel.py.dox.md owns durable notes about responsibilities, contracts, side effects, and verification for that implementation.ParallelTool (Tool)
async execute(self, tool_calls=..., calls=..., items=..., job_ids=..., wait=..., action=..., timeout=..., **kwargs)async before_execution(self, **kwargs)async after_execution(self, response, **kwargs)helpers.tool.Tool subclasses and return helpers.tool.Response from execute(...).document_query is intentionally excluded from wrapped calls because it is too heavy for parallel workers and must be called sequentially.action="start" starts calls and optionally waits according to wait.action="await" waits for requested job IDs until completion or timeout; timeout returns running job handles without canceling them.action="collect" returns completed job results without waiting.action="cancel" requests cancellation for requested job IDs.parallel from inside a direct background tool worker is blocked before execution; subordinate child chats started by call_subordinate can use normal child-chat tools, including parallel.tool_calls, calls, and items are accepted aliases for the wrapped call list.tool_name/tool_args shape as top-level agent replies; extra planning fields are ignored by normalization.job_ids can be supplied as a string or list when awaiting, collecting, or canceling existing jobs.helpers/parallel_tools.py before each background job starts.prompts/agent.system.tool.parallel.md, prompt contract tests, and helper tests.helpers/parallel_tools.py.parallel with multiple subordinate jobs.No child DOX files.