salesforce_manage_field
Create or modify custom fields on Salesforce objects, including field types like text, picklist, and lookup relationships, with configurable properties such as length, precision, and unique constraints.
Instructions
Create new custom fields or modify existing fields on any Salesforce object:
- Field Types: Text, Number, Date, Lookup, Master-Detail, Picklist etc.
- Properties: Required, Unique, External ID, Length, Scale etc.
- Relationships: Create lookups and master-detail relationships Examples: Add Rating__c picklist to Account, Create Account lookup on Custom Object Note: Changes affect metadata and require proper permissions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
deleteConstraint | No | Delete constraint for Lookup fields | |
description | No | Description of the field | |
externalId | No | Whether the field is an external ID | |
fieldName | Yes | API name for the field (without __c suffix) | |
label | No | Label for the field | |
length | No | Length for text fields | |
objectName | Yes | API name of the object to add/modify the field | |
operation | Yes | Whether to create new field or update existing | |
picklistValues | No | Values for Picklist/MultiselectPicklist fields | |
precision | No | Precision for numeric fields | |
referenceTo | No | API name of the object to reference (for Lookup/MasterDetail) | |
relationshipLabel | No | Label for the relationship (for Lookup/MasterDetail) | |
relationshipName | No | API name for the relationship (for Lookup/MasterDetail) | |
required | No | Whether the field is required | |
scale | No | Scale for numeric fields | |
type | No | Field type (required for create) | |
unique | No | Whether the field value must be unique |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Salesforce MCP Server
Related Tools
- @SurajAdsul/mcp-server-salesforce
- @usama-dtc/salesforce_mcp
- @usama-dtc/salesforce_mcp
- @tsmztech/mcp-server-salesforce
- @domdomegg/airtable-mcp-server