get_related_records
Retrieve related records (e.g., Contacts, Opportunities) for a given Salesforce record by specifying the record ID and relationship name.
Instructions
Get records related to a specific record
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": {
"objectType": "<objectType>",
"recordId": "<recordId>",
"relationship": "<relationship>"
},
"name": "get_related_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of records to return | |
| recordId | Yes | Parent record ID | |
| objectType | Yes | Parent object type | |
| relationship | Yes | Relationship name (e.g., Contacts, Opportunities) |