salesforce_deploy_metadata
Deploy Salesforce metadata by uploading a base64-encoded ZIP package. Configure test execution, check-only validation, and rollback behavior.
Instructions
Trigger a Salesforce metadata deployment using the Metadata API. The metadata must be provided as a base64-encoded ZIP file containing a standard Salesforce metadata package.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zipFile | Yes | Base64-encoded ZIP file containing the Salesforce metadata package. Must include package.xml and the appropriate metadata folders. | |
| runTests | No | Specific test class names to run when testLevel is 'RunSpecifiedTests' | |
| checkOnly | No | If true, validates the deployment without making changes (dry run). Default false. | |
| testLevel | No | Test execution level. Use 'RunLocalTests' or 'RunAllTestsInOrg' for production deployments. | NoTestRun |
| ignoreWarnings | No | Allow deployment to succeed with warnings (default false) | |
| rollbackOnError | No | Roll back all changes if any component fails (default true) |