run_soql_query
Execute SOQL queries against Salesforce to retrieve or aggregate data. Use column names in queries, such as Id for counts.
Instructions
Executes a SOQL query against Salesforce. Args: query: The SOQL query to execute
When using this tool, always use a column name in the query.
It is important when you aggregate or count.
In this case use the Id column. example: select count(Id) from Account
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |