dom-recipe-match
Check whether a saved interaction recipe still applies to the current version of a page — Compares a recipe (ordered steps naming selectors from an earlier dom-skeleton call), the saved skeleton elements those selectors came from, and the current page HTML. Per step it reports matched (same selector, same tag, type, role and name), changed (selector still exists but the element differs), moved (the same element now has a different selector, given as newSelector), ambiguous (several cur
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": {
"recipe": "<recipe>",
"saved": "<saved>",
"html": "<html>"
},
"name": "dom-recipe-match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Current page HTML. | |
| saved | Yes | elements from an earlier dom-skeleton response. | |
| recipe | Yes |