dedupe_against_section
Compare newly generated test cases with existing ones in a TestRail section to flag duplicates using token overlap analysis.
Instructions
Check generated cases against what's already in a TestRail section.
Uses title-token overlap (no embeddings) — fast, deterministic. Returns:
kept: list of {case, reason} that look newduplicates: list of {case, existing_id, existing_title, overlap}thresholdis the minimum token-overlap (0..1) to flag as duplicate.
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": {
"cases": "<cases>",
"section_id": "<section_id>"
},
"name": "dedupe_against_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cases | Yes | ||
| suite_id | No | ||
| threshold | No | ||
| project_id | No | ||
| section_id | Yes |