execute_anonymous_apex
Execute Apex code against a specified Salesforce Org to test snippets, run batch jobs, or review debug logs. Results are returned in JSON.
Instructions
Execute Apex code in a Salesforce Org. This command allows you to run Apex code directly against a specified Salesforce Org. The code is executed in the context of the Org, and the results are returned in JSON format. You can use this command to test Apex code snippets, run batch jobs, or perform other Apex-related tasks. You can review the debug logs of the execution to see the results of the code execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |