Contents

Show document comparison display_comparison

Show the user an interactive side-by-side comparison of two document versions in the Scaffold pane. To read the differences yourself, use scaffold.compare.documents in scaffold_read; use this only when the user should see the comparison.

TOOL display_comparison

Parameters

  • compare_id string

    Optional durable compare session id (compareId from scaffold.compare.documents).

  • base_document_id string

    Optional document/version id where changes should be added when no compare_id exists.

  • compare_document_id string

    Optional document/version id containing the changes when no compare_id exists.

Your assistant calls this tool for you once Scaffold is connected. Connect Claude or ChatGPT