salesforce_query_all
Runs SOQL queries with automatic pagination to fetch all matching Salesforce records and cap result size using maxRecords.
Instructions
Execute a SOQL query with automatic pagination to retrieve all matching records. Use maxRecords to cap the result size.
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": {
"query": "<query>"
},
"name": "salesforce_query_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SOQL query to execute | |
| maxRecords | No | Maximum number of records to fetch (default 10000). Use this to prevent accidentally pulling too much data. |