design_primer_pairs
The Primer Designer's own ranked search: scan the open record for primer pairs inside a product-size, Tm, length and GC window, score every candidate on Tm, dimers, hairpins, 3' stability, repeats, clamp and specificity under weights you set, and return the best N.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "design_primer_pairs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | `new` ranks candidate pairs; `existing` keeps the primer you supply and designs its mate. | new |
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| gc_max | No | highest primer GC accepted. In %. | |
| gc_min | No | lowest primer GC accepted. In %. | |
| n_pairs | No | how many ranked pairs to return. | |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. | |
| excluded | No | spans no primer may sit on, as find_primer_snps' `excluded` emits them: a list of {start, end}, 0-based and end-exclusive, where start = end is an insertion between two bases. The amplicon may run across them. The panel's Avoid known SNPs. Advanced. | |
| fwd_tail | No | 5' non-annealing tail added to every forward primer (a restriction site or adapter). The footprint, and so binding and Tm, is unchanged. Advanced. | |
| rev_tail | No | 5' non-annealing tail added to every reverse primer. Advanced. | |
| target_tm | No | the Tm each primer is scored toward. In °C. | |
| weight_gc | No | scoring weight for the `gc` penalty (0 switches it off). Advanced. | |
| weight_tm | No | scoring weight for the `tm` penalty (0 switches it off). Advanced. | |
| conditions | No | salt, magnesium, dNTP and oligo concentrations plus the salt-correction method the Tm window is measured in. Left unset it is filled from your reaction-conditions settings, as the panel's are. Advanced. | |
| region_end | No | 0-based inclusive end of the region to design within. Advanced. | |
| target_end | No | 0-based inclusive end of the target. Advanced. | |
| weight_end3 | No | scoring weight for the `end3` penalty (0 switches it off). Advanced. | |
| region_start | No | 0-based inclusive start of the region to design within. Unset = the whole template. Advanced. | |
| target_start | No | 0-based inclusive start of a target the amplicon must flank, with no primer on it. Advanced. | |
| tm_window_max | No | highest primer Tm accepted at all. In °C. | |
| tm_window_min | No | lowest primer Tm accepted at all. In °C. | |
| weight_length | No | scoring weight for the `length` penalty (0 switches it off). Advanced. | |
| weight_poly_x | No | scoring weight for the `polyX` penalty (0 switches it off). Advanced. | |
| weight_hairpin | No | scoring weight for the `hairpin` penalty (0 switches it off). Advanced. | |
| weight_tm_pair | No | scoring weight for the `tmPair` penalty (0 switches it off). Advanced. | |
| weight_gc_clamp | No | scoring weight for the `gcClamp` penalty (0 switches it off). Advanced. | |
| weight_self_end | No | scoring weight for the `selfEnd` penalty (0 switches it off). Advanced. | |
| existing_forward | No | with `task: existing`, the forward primer to keep. Only applies when task is existing. | |
| existing_reverse | No | with `task: existing`, the reverse primer to keep. Only applies when task is existing. | |
| product_size_max | No | longest acceptable amplicon. In bp. | |
| product_size_min | No | shortest acceptable amplicon. In bp. | |
| weight_cross_end | No | scoring weight for the `crossEnd` penalty (0 switches it off). Advanced. | |
| weight_di_repeat | No | scoring weight for the `diRepeat` penalty (0 switches it off). Advanced. | |
| primer_length_max | No | longest primer. In nt. | |
| primer_length_min | No | shortest primer. In nt. | |
| weight_mispriming | No | scoring weight for the `mispriming` penalty (0 switches it off). Advanced. | |
| weight_self_dimer | No | scoring weight for the `selfDimer` penalty (0 switches it off). Advanced. | |
| mispriming_library | No | a Primer3 repeat library to screen every primer against. `none` skips the screen. Advanced. | none |
| weight_cross_dimer | No | scoring weight for the `crossDimer` penalty (0 switches it off). Advanced. | |
| weight_specificity | No | scoring weight for the `specificity` penalty (0 switches it off). Advanced. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ta | Yes | the top pair's annealing temperature [°C] | |
| pairs | Yes | every returned pair in rank order: score, both primers (sequence, span, Tm, GC), product length, Tm and Ta | |
| forward | Yes | the top pair's forward primer (wire into pcr_amplify) | |
| reverse | Yes | the top pair's reverse primer | |
| pairCount | Yes | how many pairs came back | |
| shortfall | Yes | why fewer pairs came back than were asked for; empty when the run was not short | |
| productLen | Yes | the top pair's amplicon length [bp] |