Run prefilter
run_prefilterApply a prefilter profile to tender records and write a FIT VALUE OF 0 TO 100 with a short reason. Answers only: does the subject matter fit? Not whether the tenant meets the eligibility criteria — that is a separate step. Runs in blocks internally, so a thousand records are one call. A title that says nothing about the subject ("Dienstleistungen", "Bestellung 4301017129") gets the state not_ratable and NOT a zero: a zero there is a false statement that removes the record from every working list. The value never overwrites fit_score.
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": "run_prefilter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Cap on records in one run. Default 1000. | |
| since | No | ||
| until | No | ||
| status | No | ||
| dry_run | No | Report what would be scored, call no model and write nothing. | |
| rescore | No | Roll the ACTIVE profile version over records that already carry a value — what you want after sharpening a profile. Records already on that version are skipped, so repeated identical calls keep advancing and end at remaining: 0 instead of re-scoring the same slice forever; ordering is oldest prefilter_at first. To force a re-score of records already on the current version, name them in tender_ids instead. | |
| budget_ms | No | Wall-clock budget for the run, default 40000. The runtime kills a worker after 60 s; the run stops itself before that, keeps what it has already written and reports the rest as `remaining`. Call again to continue. | |
| block_size | No | Records per model call. Default 120. Measured 2026-09-15: about 0.22 s per record including the write, so 120 is roughly 27 s. | |
| profile_id | No | Default: the tenant's active default profile. | |
| tender_ids | No | ||
| source_portal | No | ||
| unscored_only | No | Default true when no tender_ids are given: score what has no value yet. | |
| deadline_after | No | Only records whose submission deadline is after this date. |