tooling_execute
Execute Salesforce Tooling API requests to manage metadata components like Apex classes, triggers, and custom objects.
Instructions
Executes a Tooling API request. Args: action: The Tooling API endpoint to call (e.g., 'sobjects/ApexClass') method: The HTTP method (default: 'GET') data: Data for POST/PATCH requests
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": {
"action": "<action>"
},
"name": "tooling_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| method | No | GET | |
| data | No |