Diagram Sync
diagram_syncRe-fetch mapped GitHub paths and append a version if they changed.
No-op when commit + content hash match. mode=authored is refused
unless force=true (then the new version is mode=generated).
No webhook or periodic worker — call this when you want a refresh.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Override source.ref (defaults to the document's stored ref) | |
| agent | No | Override agent identity | |
| force | No | Overwrite an authored diagram. Generated diagrams sync without this; authored mode is never overwritten unless force=true | |
| file_id | Yes | Existing diagram shared-file UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||