salesforce_query
Run a SOQL query to retrieve matching records from Salesforce.
Instructions
Run a SOQL query and return matching records.
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": {
"soql": "<soql>"
},
"name": "salesforce_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| soql | Yes | A SOQL query, e.g. SELECT Id, Name FROM Account LIMIT 10 | |
| _sfAuth | No | Internal: per-request Salesforce credentials injected by an MCP gateway. Leave unset in direct use — the server falls back to env/token-file creds. |