monitor_project_history
Poll recent project-history updates after an optional version cursor to track changes incrementally and detect gaps or earlier history.
Instructions
Poll one recent project-history window and return updates newer than an optional version cursor. In a group that starts before the cursor, only project operations at or after it are listed. Returns projectId, currentVersion (null when the window is empty), nextSinceVersion (pass it back as sinceVersion; on an empty window it repeats sinceVersion, or is null without one), hasEarlierHistory, gapDetected, and updates, newest first. Each update has fromVersion, toVersion, ISO startedAt and endedAt, authors ({ id, displayName } or null), paths, projectOperations (add, rename with newPath, remove, each with atVersion), labels, and origin ({ kind, path?, timestamp?, version? } or null).
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": {
"projectId": "<projectId>"
},
"name": "monitor_project_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Overleaf project ID | |
| sinceVersion | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | ||
| projectId | Yes | ||
| gapDetected | Yes | ||
| currentVersion | Yes | ||
| nextSinceVersion | Yes | ||
| hasEarlierHistory | Yes |