scrapeer_patch_flow
Apply granular patch operations to a web-scraping flow's graph: add/update/remove blocks and edges, enabling targeted edits with per-operation validation instead of a full flow rewrite.
Instructions
Apply a list of granular patch operations to a flow's graph: add_block, update_block_custom, remove_block, add_edge, remove_edge. PREFERRED over scrapeer_update_flow for incremental edits - smaller blast radius and validated per-op server-side. USE THIS TOOL WHEN: making targeted changes (adding a block to an existing flow, fixing a selector, rewiring an edge). DO NOT USE: when the change touches most of the flow at once (use scrapeer_update_flow). Always call scrapeer_get_block_catalog first; ALWAYS call scrapeer_get_flow on this flow earlier in the session so the MCP server can attach the version stamp for optimistic concurrency. Returns the post-patch flow plus a summary of each operation's effect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | Yes | The flow ID (UUID) or flow name. If a name is provided, it will be resolved to an ID. If multiple flows match the name, all matches are returned so the user can choose. | |
| operations | Yes | List of patch operations to apply, in order. | |
| baseProjectEventID | No | Version stamp from the last scrapeer_get_flow on this flow. Auto-populated when available. |