apex_execute
Executes Apex REST requests in Salesforce MCP, enabling integration with custom endpoints using specified HTTP methods (GET, POST, PATCH, DELETE). Input action and optional data for streamlined automation.
Instructions
Executes an Apex REST request
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | The Apex REST endpoint to call (e.g., '/MyApexClass') | |
data | No | Data for POST/PATCH requests | |
method | No | The HTTP method (default: 'GET') | GET |