Tool to create a custom field on a Salesforce object using the Tooling API. Use when you need to add a new field (Text, Number, Checkbox, Date, Picklist, Lookup, etc.) to any standard or custom object without deploying metadata packages. The Tooling API provides direct field cre…
labelRequiredstringThe display label for the field shown in the Salesforce UI.
scaleintegerNumber of decimal places for Number, Currency, or Percent fields. Must be less than precision.
lengthintegerMaximum character length for Text fields. Required for Text type, max 255 characters. Not applicable for LongTextArea.
uniquebooleanIf true, enforce that all values in this field are unique across all records (case-insensitive by default).
requiredbooleanIf true, this field must be populated when creating or editing records.
precisionintegerTotal number of digits for Number, Currency, or Percent fields (including decimal places). Maximum is 18.
field_typeRequiredstringThe type of custom field to create. Common types: Text (string up to 255 chars), LongTextArea (larger text), Number (integer or decimal), Checkbox (boolean), Date, DateTime, Picklist (single-select dropdown), MultiselectPicklist (multi-select), Lookup (relationship to another ob…
restrictedbooleanFor Picklist/MultiselectPicklist fields, if true restricts values to only those defined in the picklist (no custom values allowed).
descriptionstringOptional description of the field's purpose and usage.
external_idbooleanIf true, marks this field as an external ID for integration purposes (allows upsert operations and improves query performance).
reference_tostringFor Lookup fields, the API name of the object this field references (e.g., 'Account', 'Contact', 'CustomObject__c').
default_valuestringDefault value for the field. Format depends on field type (e.g., 'true'/'false' for Checkbox, date string for Date fields).
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.