Edit documents scaffold_redline
Direct redline edit facade. Use this ONLY for plain-language wording changes to an existing document (find_and_replace, batch_edit) applied as tracked changes the user accepts or rejects. Templating is currently disabled, so do not insert variables or build reusable templates.
scaffold_redline Commands
Sent as command
batch_editfind_and_replacescan_revisionsrevert_revisionscreate_versionpatch_raw_xml
Parameters
commandstring RequiredDirect edit command to execute. Prefer find_and_replace before XML fallback. One of the commands above.
argumentsobjectCommand arguments. find_and_replace: { document_id, find_text, replacement_text, justification? }. batch_edit: { document_id, edits: [{ find, replace, justification? }], atomic? }. Common aliases such as documentId, find/replacement, operations/changes, and find_text/replacement_text inside batch items are accepted and normalized.
Show 11 fields
document_idstringDocument/version id to edit.
documentIdstringAccepted alias for document_id.
find_textstringText to replace for find_and_replace.
replacement_textstringReplacement text for find_and_replace.
justificationstringShort user-facing reason for the tracked change.
replace_allbooleanChange every match for find_and_replace.
occurrenceinteger1-based match to change when wording is repeated.
editsobject[]Preferred batch list. Each wording edit is { find, replace, justification? }.
operationsobject[]Accepted alias for edits.
changesobject[]Accepted alias for edits.
atomicbooleanSet true to apply nothing when any batch item fails. Default false applies valid items and reports failed items.
Your assistant calls this tool for you once Scaffold is connected. Connect Claude or ChatGPT