instant_swarm
Redline entire contracts in parallel by spawning independent AI agents for each section, merging results into a single DOCX with real Track Changes. Requires prior analysis.
Instructions
PARALLEL REDLINING of entire contract. Spawns N independent SAC agents for N sections simultaneously - maximum parallelization with no lock contention. Each agent (IP, Liability, Indemnification, Payment, Term, etc.) independently analyzes and redlines its section, then all branches merge into a single DOCX with real Track Changes. Returns merged document + per-section results. Requires a completed analysis (use process_contract first). This is the flagship feature - full attorney-quality redlines across the entire contract in parallel.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"analysisId": "<analysisId>",
"aggressivenessLevel": "<aggressivenessLevel>",
"partyPosition": "<partyPosition>"
},
"name": "instant_swarm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analysisId | Yes | The analysis ID from a completed process_contract call. The analysis provides contract context for each section. | |
| ourPartyName | No | Your company name as it should appear in redlines (e.g., "Acme Corp"). | |
| partyPosition | Yes | Which side are you on? "customer" = you are buying/receiving services. "vendor" = you are selling/providing services. | |
| targetSections | No | Optional: specific BUBSA sections to analyze. If omitted, analyzes all 17 sections. Valid sections: parties, definitions, ip_license, payment, term_termination, confidentiality, data_privacy, reps_warranties, indemnification, liability, insurance, assignment, force_majeure, dispute_resolution, precedence, miscellaneous, sla | |
| counterpartyName | No | The other party's name (e.g., "Vendor Inc"). | |
| aggressivenessLevel | Yes | How aggressive the redlines should be (1=conservative, 10=very aggressive). Recommended: 5-7 for balanced approach. |