batch_edit_paragraph
Apply multiple find-and-replace edits across Zeppelin paragraphs in one call, with per-paragraph all-or-nothing updates and backups of changed content.
Instructions
Apply several find-and-replace edits in one call (batch version of edit_paragraph), across one or more paragraphs. Previous content of each changed paragraph is backed up.
Edits are grouped by paragraph and applied in the given order, each against the result of
the previous one. Per paragraph it is all-or-nothing: if any of its edits fails, that
paragraph is left untouched. Other paragraphs still proceed (failures are reported).
Args:
notebook_id: The notebook ID containing the paragraphs
edits: List of edits, each {paragraph_id, old_string, new_string, replace_all?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | Yes | ||
| notebook_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |