scrapewise_get_matcher_engine_setup
Reads every engine setting of a group on the newer matching engine: master side, sources, joins
(enrichment links), derived keys, ignore lists, codes, column roles, brand aliases, thresholds,
pictures and the per-group engine switch. The same setup the portal canvas draws.
Args:
- id (string, path, required): the group's id.
- include (string, query, optional): comma list of extra parts: draft (the saved draft that waits for
the check), history (the newest 20 activated versions), fields (every field path with its kind and
range — read it once before an edit).
- paths (string, query, optional): comma list of setup paths to return instead of the whole setup,
e.g. joins,columnsByScraper.<scraperId> (at most 50; each must start with a field name).
- version (integer, query, optional): return that history version's setup instead of the active one
(use it to restore: PUT it back as raw).
- customerRef (string, query, optional): only for a Scrapewise admin key in Take Over.
Returns:
status (ACTIVE / PENDING / REJECTED / VALIDATOR_DOWN / NONE), problems and warnings of the newest
check, editVersion (the version a PUT or PATCH must name), configHash, setupSource (db / file /
default), fileDiffers, inEngine, the engine switch and raw (the active setup). 204 = no setup stored
and the group is not on the newer engine. REJECTED = your last draft failed the check (see problems;
the active setup is unchanged; your next save starts from the active setup, so send your whole change
again; for UNKNOWN_KEY a refused change may still go live after a matcher update until you save
again). VALIDATOR_DOWN = your draft is saved and waits for
the check; the active setup is unchanged; do not resend. include=fields shows each field's writer
(customer = the group's owner may change it; admin = Scrapewise only).
Examples:
- Use when: "show me the joins of group {id}" -> paths=joins.
- Use when: "did my last change go live?" -> status ACTIVE and a new configHash, or REJECTED with problems.
- Don't use when: you want the matching job (master list, runs, lines) -> scrapewise_get_matcher_job.
Error Handling:
- 400: a bad include / paths value (paths names an unknown field).
- 404: unknown group, another customer's group, or an unknown version.
- 409 TAKE_OVER_ACTIVE: end Take Over or send customerRef=<that customer's ref>.
- 503 FIELD_LIST_UNKNOWN: paths asked before the matcher published its field list; read without paths.
- 401 Unauthorized; 500 INTERNAL.[runtime hint] This tool returns JSON-as-text — its response shape is dynamic (per-scraper itemsConfig, file binary, etc.) so the MCP outputSchema is omitted. Do not rely on the presence of any specific field in the response; treat the result as a string-or-object blob and parse defensively.
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": {
"id": "<id>"
},
"name": "scrapewise_get_matcher_engine_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| paths | No | Comma list of setup paths to return (at most 50), e.g. joins,columnsByScraper.<scraperId>. | |
| include | No | Comma list: draft, history, fields. | |
| version | No | A history version to return instead of the active setup. | |
| customerRef | No | Admin keys in Take Over only: the customerUniqueRef of the customer the admin works for. Required then; leave it out otherwise. |