sp_drive_change_track
Track changes to items in a SharePoint default drive using delta queries. Get a cursor on first call, then retrieve only new, modified, or deleted items since that cursor in subsequent calls.
Instructions
Return items in a SharePoint site's default drive that changed since the optional since cursor — Microsoft Graph delta query. First call (since=None) returns the full item set + an initial cursor. Subsequent calls with the cursor return only created/modified/deleted items since that cursor. Result: {items: [...], cursor: str}. The cursor is opaque — store it (the agent typically puts it in conversation memory or a scratchpad) and pass it back as since. A stale cursor surfaces as a 410 Gone error; drop it and call again with since=None for a full re-sync. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| scope_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||