restful
Initiate REST API calls to Salesforce endpoints using specified HTTP methods, paths, and parameters to retrieve, update, or delete data directly.
Instructions
Makes a direct REST API call to Salesforce
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | No | Data for POST/PATCH requests | |
method | No | The HTTP method (default: 'GET') | GET |
params | No | Query parameters for the request | |
path | Yes | The path of the REST API endpoint (e.g., 'sobjects/Account/describe') |
Input Schema (JSON Schema)
{
"properties": {
"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"
},
"params": {
"additionalProperties": true,
"description": "Query parameters for the request",
"properties": {},
"type": "object"
},
"path": {
"description": "The path of the REST API endpoint (e.g., 'sobjects/Account/describe')",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
}