salesforce_time_machine_query
Query historical Salesforce data from backups to perform point-in-time analysis, compare records over time, track record history, and list available backups.
Instructions
Query historical Salesforce data from backups using Time Machine functionality. Supports point-in-time queries, comparisons, and record history tracking.
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": {
"operation": "<operation>"
},
"name": "salesforce_time_machine_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | The Time Machine operation to perform | |
| targetDate | No | Target date for point-in-time queries (ISO 8601 format) | |
| startDate | No | Start date for comparison queries (ISO 8601 format) | |
| endDate | No | End date for comparison queries (ISO 8601 format) | |
| objectType | No | Salesforce object type to query (e.g., Account, Contact, ContentVersion) | |
| recordId | No | Specific record ID for history tracking | |
| filters | No | Optional filters to apply to the query (field-value pairs, supports wildcards with *) | |
| backupDirectory | No | Path to backup directory (defaults to ./backups) |