list_label_dimension_usages
List stored objects that reference a label dimension column (dashboards, reports, alerts, events, virtual dimensions, budgets) before rename or delete. Use when the user asks where a label dimension is used before renaming or deleting it. Pass id (from list_label_dimensions) and/or name; id wins when both are set. Native cos_* names work with name alone. Hits are JSON/CEL scans of groupBy, filterCel, conditionsCel, and conditionCel — not live BigQuery. Empty usages is success (safe to delete from a reference point of view). Capped at 100 hits (truncated: true when more). EXAMPLE: "Where is environment used?" → { id: "label_…" }
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": {
"context": "<context>"
},
"name": "list_label_dimension_usages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Engineered label id from list_label_dimensions. | |
| name | No | Column name (LabelDimension.name). At least one of id / name is required; id wins when both are set. | |
| slug | No | Organization slug. Omit to auto-detect from your account (fails if you belong to multiple orgs). | |
| context | Yes | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |