pad_edit
Replace a specific text occurrence in a pad with new text, using surrounding context to target the exact match.
Instructions
Replace one literal occurrence of old_text with new_text in a pad. old_text must match exactly once; include surrounding context to disambiguate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pad_id | Yes | ||
| new_text | Yes | ||
| old_text | Yes | ||
| project_id | No | Different project override. Use ONLY when the user explicitly asks for another project by name; otherwise stay in the current scope, even when results are empty. | |
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pad_id | Yes | ||
| revision | Yes |