Find entities
find_entitiesFilter, sort and page entities with provenance. Every fact has a status (confirmed, community-reported, estimated, speculative, unknown) and a source; unknown facts are null, never guessed. coverage tells you how many matches know the sort/filter key. Examples: {type:'vehicle', where:'mapGroups=Hyper', chapter:3}; {type:'property', sort:'vehicleCapacity'}; {type:'robbery', sort:'payoutMax'}; {type:'mission', inChapter:3, sort:'order', order:'asc'} (the missions of Chapter 3; chapter:3 means available by Chapter 3); {completedMission:'mission:credit-check', type:'vehicle'}; add fields:'payoutMax,securityLevel' to keep results small.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Words to match in name, summary and facts, e.g. 'Emerus', 'jewelry', 'truck' | |
| has | No | Only records where this fact key is known, e.g. 'payoutMax' | |
| sort | No | Fact key to sort by, e.g. 'payoutMax', 'swankness', 'topSpeed'. Unknown values sort last. | |
| type | No | ||
| limit | No | ||
| order | No | ||
| where | No | Exact fact filter, key=value, e.g. 'mapGroup=Hyper' or 'securityLevel=high' | |
| fields | No | Comma-separated fact keys to return, e.g. 'payoutMax,securityLevel'; drops other facts and relations to keep results small. Use get_entity for the full record. | |
| offset | No | ||
| status | No | Only records with at least one fact of this status | |
| chapter | No | Only what is available by this story chapter. Records whose chapter is unknown are kept and flagged unless strictChapter is true. | |
| inChapter | No | Only records that belong to exactly this chapter, e.g. the missions of Chapter 3 (chapter=3 means 'available by Chapter 3', which includes Chapters 1 and 2). | |
| strictChapter | No | Drop records whose chapter is unknown | |
| completedMission | No | A mission id or name the player has just completed, e.g. 'mission:credit-check'. Sets `chapter` to that mission's chapter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| limit | Yes | ||
| total | Yes | ||
| offset | Yes | ||
| coverage | Yes | ||
| nextOffset | No |