get_audience_model_context
Returns model attributes + 1-hop reachable neighbors (with relationship metadata and the neighbor's own attributes) for any model in the data graph — root or not. Attribute path is the raw warehouse column identifier to use in audience expressions; label remains the legacy raw-column label. When available, displayName, description, and piiMask expose data-graph column metadata concepts display_name/description/pii_mask for user-facing labels, semantic hints, and masking awareness. When the model is a root, also returns peer audiences sharing the same from (composable via the audience predicate). Call iteratively for 2-hop reach: pass the chosen subject first, then a 1-hop neighbor's modelId. Backend caps relationship.path at 2 hops.
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": {
"model_id": "<model_id>",
"workspace_id": "<workspace_id>"
},
"name": "get_audience_model_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | The id of any model in the data graph — the chosen subject for the first call, a 1-hop neighbor's modelId on subsequent iterative calls. | |
| workspace_id | Yes |