get_record_history
Read the field-change history of ONE record - account, contact or deal - newest first. USE FOR: who changed a field and when, what a value used to be, whether a field was edited by a person or by automation, or auditing a record before acting on it. Each entry gives the field (property_name, plus a readable property_label), the old and new values, the author, and the timestamp. For reference fields such as a deal stage or account, old_value_label/new_value_label resolve the stored id to its name. ONE FIELD: pass property_name to narrow to a single field's history; get the correct name from get_account_fields / get_contact_fields / get_deal_fields rather than guessing. PROVENANCE: read source, not user, to say who or what made a change. source is one of user_web, public_api, mcp, chat, workflow, enrichment, integration_sync, csv_import, system. For public_api, source_api_key_id names which of the workspace's API keys wrote, so several automations are separable. user is the person when one was involved, but it is NOT a provenance signal on its own: a public-API write resolves the author to the workspace owner, so a human there does not mean a human made the change. source is null on entries predating this field - say the origin is unknown, never 'unknown user' and never guess a person. For mcp, mcp_key_id names the agent connection and tool the tool it called. change_kind says what happened: created (a value the record was created with - defaulted: true when the system filled it in rather than anyone choosing it), updated, or for deal stakeholders linked / unlinked; null on older entries. PAGINATION: results are one page, not the complete history. Use limit up to 100 and start with offset: 0; while the number of entries read is less than total_count, call this tool again with offset increased by the number of entries returned. Ordering is stable across pages.
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": {
"object_type": "<object_type>",
"object_id": "<object_id>"
},
"name": "get_record_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum entries per page (1-100, default 25). | |
| offset | No | 0-indexed row offset for paging. Start at 0, then increase by the number of results returned until `offset + results.length >= total_count`. Ordering is stable across pages, so tied sort values do not repeat or skip records. | |
| object_id | Yes | UUID of the record. Resolve it first with search_accounts, search_contacts or search_deals - this tool does not look records up by name. | |
| session_id | No | The ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task. | |
| object_type | Yes | Which kind of record to read history for: 'account' (company), 'contact' (person), or 'opportunity' (deal). | |
| property_name | No | Restrict the history to one field, by its stable property_name (not its display label). Get valid names from get_account_fields / get_contact_fields / get_deal_fields. Omit to read every field's changes. |