wait_for_file_change
Waits up to 30 seconds for a document version change and returns new content, or changed:false on timeout; disconnections are reported explicitly.
Instructions
Wait for a document version to change, up to 30 seconds. Returns the new content, or changed:false on timeout. Disconnections are reported explicitly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| projectId | Yes | ||
| afterDocId | No | Document ID from the previous read; detects replacement of the file at the same path. | |
| afterVersion | Yes | ||
| timeoutSeconds | No |