get-record
Retrieve a Salesforce record by its ID, with optional field selection to limit returned data.
Instructions
Retrieve a record by ID with optional field selection
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": {
"sobjectType": "<sobjectType>",
"recordId": "<recordId>"
},
"name": "get-record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sobjectType | Yes | SObject API name (e.g., Account, Contact, Custom__c) | |
| recordId | Yes | Salesforce record ID | |
| fields | No | Specific fields to retrieve (optional, retrieves all if not specified) |