Get Salesforce Record
salesforce_get_recordRetrieve a single Salesforce record by ID, specifying the object type and optional fields. Returns data in markdown or JSON format.
Instructions
Retrieve a single Salesforce record by its ID.
Args:
object_type (string): The Salesforce object type (e.g., 'Account', 'Contact', 'Opportunity')
record_id (string): The 15 or 18-character Salesforce record ID
fields (string[]): Optional list of specific fields to retrieve. If empty, returns all fields.
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: The full record with all requested fields.
Examples:
Get an account: object_type='Account', record_id='001xx000003...'
Get specific contact fields: object_type='Contact', record_id='003xx...', fields=['Name','Email','Phone']
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional list of field API names to retrieve. Empty means all fields. | |
| record_id | Yes | 15 or 18-character Salesforce record ID | |
| object_type | Yes | Salesforce object type (e.g., Account, Contact, Opportunity, Case, Lead) | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |