query_objects
Read objects in a Parse class with MongoDB-style filters, sorting, pagination, selected fields, pointers, and counts to debug real data or verify client query results.
Instructions
Read the objects of a class with filters (a MongoDB-style where), sorting, paging, chosen fields, included pointers and a count. Use it to look at the real data when debugging, or to check what a client query returns.
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": {
"appObjectId": "<appObjectId>",
"className": "<className>"
},
"name": "query_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Comma-separated list of fields to return (e.g., "name,email") | |
| skip | No | Number of results to skip for pagination | |
| count | No | If true, also return the total count of matching objects | |
| limit | No | Maximum number of results to return (default 100, max 1000) | |
| order | No | Field(s) to sort by. Prefix with - for descending (e.g., "-createdAt" or "name,-score") | |
| where | No | JSON string of query constraints (e.g., {"score": {"$gt": 10}}) | |
| include | No | Comma-separated list of pointer fields to include full objects for | |
| className | Yes | The class name to query | |
| appObjectId | Yes | The app: its name or objectId (see list_apps) |