salesforce_get_record
Retrieve a single Salesforce record by its 15- or 18-character ID, optionally limiting returned fields to specific API names. Specify the object name and record ID to fetch the data you need.
Instructions
Retrieve a single record by Id, optionally limited to specific fields.
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_name": "<object_name>",
"record_id": "<record_id>"
},
"name": "salesforce_get_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional list of field API names; omit for all fields | |
| _sfAuth | No | Internal: per-request Salesforce credentials injected by an MCP gateway. Leave unset in direct use — the server falls back to env/token-file creds. | |
| record_id | Yes | The 15- or 18-char record Id | |
| object_name | Yes | API name of the object, e.g. Account |