Describe Object Schema
sf_describe_objectRetrieve Salesforce object schema: fields, relationships, record types. Use before querying or creating records to understand available fields and structure.
Instructions
Retrieves schema metadata for a Salesforce object via the REST Describe API: fields (name, label, type, required, picklist values, length, references), child relationships, and record type info. Call this before querying or creating records on an unfamiliar object, or when a user asks what fields exist on an object.
objectApiName: SObject API name, e.g. 'Account', 'My_Object__c' fieldsOnly: set true for a smaller/faster response with just the field list, omitting child relationships and record types
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fieldsOnly | No | If true, returns only the field list (name, label, type, required, picklist values) and omits child relationships/record type info — use for a smaller, faster response when you only need field names/types before a query or DML call. | |
| objectApiName | Yes | SObject API name to describe, e.g. 'Account', 'My_Object__c' |