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.
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": {
"zipFile": "<zipFile>"
},
"name": "salesforce_deploy_metadata"
}
}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) |