resolve_entity
Resolve a customer's named business objects — segments, AI trackers / AI Visibility segment groups, AI platforms, goals, competitor sets — from natural language (a tracker name, segment group name, "default", a platform like Claude, a goal) to the exact filter field and value to use. Call this BEFORE filtering by any entity the user named, so you bind the right id instead of guessing. For an AI-visibility question where the user did not name a tracker / segment group, call with kinds:["ai_tracker"] and a generic query such as "AI Tracker" or "segment group" to show the full tracker picker.
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": "resolve_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | restrict to these entity kinds | |
| limit | No | ||
| query | Yes | the entity name or fragment the user mentioned, e.g. a tracker / segment group name, "default", or a platform like Claude |