get_record
Retrieve a Salesforce record by its ID and object name to access all fields. Specify the record ID and object API name for precise data retrieval.
Instructions
Retrieves a specific record by ID. Returns all fields - prefer SOQL with specific fields for token efficiency.
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": "get_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: 'compact' (default), 'json' | compact |
| record_id | Yes | The 15 or 18 character Salesforce record ID | |
| object_name | Yes | The Salesforce object API name (e.g., 'Account', 'Contact') |