sync
Return the unified diff (and raw remote text) of a vault file. Useful for surfacing what `sync_merge` would conflict on, or for the client to render a `git diff` view before pushing. NO database mutation. Server has no history — base_text must be supplied by the caller if a 3-way view is needed; otherwise this returns remote_text only.
Return the unified diff (and raw remote text) of a vault file. Useful for surfacing what sync_merge would conflict on, or for the client to render a git diff view before pushing. NO database mutation. Server has no history — base_text must be supplied by the caller if a 3-way view is needed; otherwise this returns remote_text only.
post/api/mcp/tools/sync_diff
Request
- Base URL: https://api.ainote.dev
- URL: https://api.ainote.dev/api/mcp/tools/sync_diff
- Auth: API key in header Authorization
Request body
Response
Tool executed successfully
Changes
No recorded changes to this operation across all 1 revision of this API.