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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scope_url": "<scope_url>"
},
"name": "sp_drive_change_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| scope_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||