tooling_execute
Execute Tooling API requests to manage Salesforce metadata and development objects. Supports GET, POST, PATCH, and DELETE methods with customizable endpoints.
Instructions
Executes a Tooling API request
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 |
|---|---|---|---|
| data | No | Data for POST/PATCH requests | |
| action | Yes | The Tooling API endpoint to call (e.g., 'sobjects/ApexClass') | |
| method | No | The HTTP method (default: 'GET') | GET |