list_dimension_candidates
List native billing label keys that can be imported as label dimensions (not virtual dimensions). Use when the user asks which billing keys can be imported as label dimensions. Returns compact rows: key, ingested, imported, providers, numberValues, totalCostKeyPresent, proportionKeyPresent, costPercentageChange, topValues (top 8, Others omitted). Default drops keys already used in a published label (includeImported: true to keep them). Filter with query (substring on key / top values / providers), minCostPresent, sort (cost_desc default | cost_asc | coverage_desc | name_asc), limit (default 25, cap 50), offset. No suggestion engine — pick merges and value maps from topValues yourself. To add or change labels, call publish_label_dimensions once with an operations array (add / update / delete by id). The server merges them onto all existing label dimensions — do not resend the full list. Publishing takes about 10 minutes to show up in Explorer. Preview with dryRun: true (default). Discovery and preview do not authorize publishing. Show the proposed changes and obtain explicit user approval before sending dryRun: false and confirm: true. Before rename or delete, call list_label_dimension_usages. Effects: Read-only retrieval or computation; does not change saved resources or send messages. Scope: Authorized Costory workspace only. EXAMPLE: "Which env-like billing keys are not dimensions yet?" → { query: "env" }
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": "list_dimension_candidates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Organization slug. Omit to auto-detect from your account (fails if you belong to multiple orgs). | |
| sort | No | Sort order (default cost_desc). | cost_desc |
| limit | No | Max rows to return (default 25, cap 50). | |
| query | No | Substring filter on key, top values, or providers. | |
| offset | No | Number of rows to skip. | |
| context | No | Optional context used only for analytics; it does not affect tool execution. Omit it by default. Do not include conversation text, personal information, or workspace data. | |
| 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. | |
| minCostPresent | No | Minimum totalCostKeyPresent. | |
| 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. | |
| includeImported | No | When false (default), drop keys already used in a published label. |