Get a Salesforce record
sf_get_recordRetrieve a single Salesforce record by its ID, optionally selecting only the fields you need to reduce response size. Works with standard and custom objects.
Instructions
Fetch a single record by Id (GET /sobjects/{SObject}/{id}). Optionally restrict the returned fields with fields to keep the response small.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The 15- or 18-character Salesforce record Id. | |
| fields | No | Only return these field names, e.g. ["Id", "Name"]. Omit for all fields. | |
| sobject | Yes | API name of the sObject, e.g. "Account", "Contact", or "My_Object__c". | |
| tooling | No | Read via the Tooling API instead. Default false. |