MCP Salesforce Connector

apex_execute

Execute Apex REST requests on Salesforce by specifying the endpoint, HTTP method, and optional data. Facilitates integration and automation of Salesforce operations.

Instructions

Executes an Apex REST request

Input Schema

NameRequiredDescriptionDefault
actionYesThe Apex REST endpoint to call (e.g., '/MyApexClass')
dataNoData for POST/PATCH requests
methodNoThe HTTP method (default: 'GET')GET

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "The Apex REST endpoint to call (e.g., '/MyApexClass')", "type": "string" }, "data": { "additionalProperties": true, "description": "Data for POST/PATCH requests", "properties": {}, "type": "object" }, "method": { "default": "GET", "description": "The HTTP method (default: 'GET')", "enum": [ "GET", "POST", "PATCH", "DELETE" ], "type": "string" } }, "required": [ "action" ], "type": "object" }

You must be authenticated.

Other Tools from MCP Salesforce Connector

Related Tools

ID: a6lwlnjayf