salesforce__run_soql_query
Access
Requires a project integration connection for salesforce.
Call type: Can read or manage credentials.
Arguments
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "salesforce__run_soql_query",
"arguments": {
"q": "example"
}
}
}Result
No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the salesforce integration reference for provider setup and tool context.
Full schemas
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Read-only SOQL query, for example SELECT Id, Subject FROM Case LIMIT 10. Must be a single read-only SELECT statement containing a top-level LIMIT followed by a plain number, for example LIMIT 25. A query with no LIMIT, or with a LIMIT only inside a subquery, is rejected before it runs. Keep the LIMIT small (25-50 is usually right); a project can cap the maximum rows, so retry with a smaller LIMIT if the query is rejected for exceeding that cap."
}
},
"required": [
"q"
],
"description": "Arguments for the salesforce__run_soql_query tool."
}