salesforce_describe_object
Retrieve metadata for any Salesforce object to see its fields, relationships, record types, and key prefix. Use this structure to guide queries, integrations, or automation.
Instructions
Get metadata for a Salesforce SObject.
Returns detailed information about an object including its fields, relationships, record types, and other metadata.
Args: sobject: SObject type (e.g., 'Account', 'Contact', 'Lead', 'Opportunity')
Returns: Object metadata including: - name: API name of the object - label: Display name - fields: List of field definitions with type, length, required, etc. - childRelationships: Related objects - recordTypeInfos: Available record types - keyPrefix: Object ID prefix - And more...
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": {
"sobject": "<sobject>"
},
"name": "salesforce_describe_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sobject | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||