get_entities
Reads up to 50 entities and lists in one version in one batch call, returning results in item order and isolating errors so one failed read does not block the rest.
Instructions
Batch of reads in one call: up to 50 entities and lists in one version. To read more than two entities, use this, not get_entity and list_entities one by one: one round trip instead of N, reads run in parallel. An item is like get_entity {resource, id, parentIds, expand, pick}; ids: [..] instead of id reads several entities of one resource with shared expand and pick; with neither id nor ids, a list, like list_entities (full, pick). The response follows item order; if one fails to read, it gets an error and the rest are returned. pick keeps the response small: ["requests.data.url", "requests.data.script"] instead of the whole entity. After review_version pass its reviewId: entities are served from the review snapshot, without the API.
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": {
"appId": "<appId>",
"items": "<items>"
},
"name": "get_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | App ID | |
| items | Yes | What to read: [{resource, id | ids, parentIds, expand, pick, full}] | |
| reviewId | No | reviewId from review_version: read from its snapshot | |
| versionId | No | Version ID, shared by all items |