@lightdash/common 2.601.0 → 2.602.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/ee/AiAgent/schemas/defineTool.d.ts +4 -1
  3. package/dist/cjs/ee/AiAgent/schemas/defineTool.d.ts.map +1 -1
  4. package/dist/cjs/ee/AiAgent/schemas/defineTool.js.map +1 -1
  5. package/dist/cjs/ee/AiAgent/schemas/toolDefinitionWithMcpOutput.js +1 -1
  6. package/dist/cjs/ee/AiAgent/schemas/toolDefinitionWithMcpOutput.js.map +1 -1
  7. package/dist/cjs/ee/AiAgent/schemas/toolDefinitionWithoutMcpOutput.js +1 -1
  8. package/dist/cjs/ee/AiAgent/schemas/toolDefinitionWithoutMcpOutput.js.map +1 -1
  9. package/dist/cjs/schemas/json/mcp-tools-1.0.json +82 -41
  10. package/dist/esm/.tsbuildinfo +1 -1
  11. package/dist/esm/ee/AiAgent/schemas/defineTool.d.ts +4 -1
  12. package/dist/esm/ee/AiAgent/schemas/defineTool.d.ts.map +1 -1
  13. package/dist/esm/ee/AiAgent/schemas/defineTool.js.map +1 -1
  14. package/dist/esm/ee/AiAgent/schemas/toolDefinitionWithMcpOutput.js +1 -1
  15. package/dist/esm/ee/AiAgent/schemas/toolDefinitionWithMcpOutput.js.map +1 -1
  16. package/dist/esm/ee/AiAgent/schemas/toolDefinitionWithoutMcpOutput.js +1 -1
  17. package/dist/esm/ee/AiAgent/schemas/toolDefinitionWithoutMcpOutput.js.map +1 -1
  18. package/dist/esm/schemas/json/mcp-tools-1.0.json +82 -41
  19. package/dist/types/.tsbuildinfo +1 -1
  20. package/dist/types/ee/AiAgent/schemas/defineTool.d.ts +4 -1
  21. package/dist/types/ee/AiAgent/schemas/defineTool.d.ts.map +1 -1
  22. package/dist/types/ee/AiAgent/schemas/defineTool.js.map +1 -1
  23. package/dist/types/ee/AiAgent/schemas/toolDefinitionWithMcpOutput.js +1 -1
  24. package/dist/types/ee/AiAgent/schemas/toolDefinitionWithMcpOutput.js.map +1 -1
  25. package/dist/types/ee/AiAgent/schemas/toolDefinitionWithoutMcpOutput.js +1 -1
  26. package/dist/types/ee/AiAgent/schemas/toolDefinitionWithoutMcpOutput.js.map +1 -1
  27. package/dist/types/schemas/json/mcp-tools-1.0.json +82 -41
  28. package/package.json +1 -1
@@ -17,6 +17,9 @@ export type McpToolAnnotations = {
17
17
  idempotentHint: boolean;
18
18
  openWorldHint: boolean;
19
19
  };
20
+ export type McpToolViewAnnotations = McpToolAnnotations & {
21
+ title: string;
22
+ };
20
23
  export type AgentModelOutput = {
21
24
  type: 'text';
22
25
  value: string;
@@ -87,7 +90,7 @@ type McpToolViewBase<TName extends string, TInput extends z.ZodObject<z.ZodRawSh
87
90
  title: string;
88
91
  description: string;
89
92
  inputSchema: McpCompatibleInputSchema<TInput>;
90
- annotations: McpToolAnnotations;
93
+ annotations: McpToolViewAnnotations;
91
94
  meta: Record<string, unknown> | undefined;
92
95
  result: McpToolResultBuilders;
93
96
  };
@@ -1 +1 @@
1
- {"version":3,"file":"defineTool.d.ts","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/defineTool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,IAAI,CAAC;AACjC,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAMvE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,KAAK,CAAC;AAE1C,eAAO,MAAM,4BAA4B;;;CAGF,CAAC;AAExC,MAAM,MAAM,sBAAsB,GAAG;IACjC,OAAO,EAAE,WAAW,CAAC;IAGrB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,eAAe,GACrB,MAAM,GACN,CAAC,CAAC,OAAO,EAAE,sBAAsB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ChB,WAAW,EAAE,GAAG,CAAC,WAAW;YAC5B,YAAY,EAAE,GAAG,CAAC,YAAY;YAC9B,WAAW,EAAE,GAAG,CAAC,WAAW;YAC5B,sBAAsB;YACtB,WAAW,EAAE,GAAG,CAAC,KAAK,IAAI,IAAI;YAC9B,SAAS;SACZ,CAAC,CAAC;IACP,CAAC;IAED,OAAO,IAAI,kCAAkC,CAAC;QAC1C,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,KAAK,EAAE,GAAG,CAAC,KAAK;QAChB,WAAW,EAAE,GAAG,CAAC,WAAW;QAC5B,YAAY,EAAE,GAAG,CAAC,YAAY;QAC9B,WAAW,EAAE,GAAG,CAAC,WAAW;QAC5B,sBAAsB;QACtB,WAAW,EAAE,GAAG,CAAC,KAAK,IAAI,IAAI;QAC9B,SAAS,EAAE,SAAS,IAAI,IAAI;KAC/B,CAAC,CAAC;AACP,CAAC"}
@@ -53,7 +53,7 @@ export class ToolDefinitionWithMcpOutputImpl {
53
53
  toolName: mcpName,
54
54
  }),
55
55
  inputSchema: createMcpCompatibleInputSchema(this.inputSchema),
56
- annotations: this.mcpConfig.annotations,
56
+ annotations: { title: this.title, ...this.mcpConfig.annotations },
57
57
  outputSchema: this.outputSchema,
58
58
  meta: this.mcpConfig.meta,
59
59
  result: createMcpToolResultBuilders(),
@@ -1 +1 @@
1
- {"version":3,"file":"toolDefinitionWithMcpOutput.js","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/toolDefinitionWithMcpOutput.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,kBAAkB,CAAC;AAEzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAU5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EACH,eAAe,EACf,2BAA2B,EAC3B,yBAAyB,EACzB,kBAAkB,GACrB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,OAAO,+BAA+B;IAuBxC,YAAY,IASX;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AC,YAAY,EAAE,OAAO,CAAC,CAAC;QAEvD,IAAI,OAAO,KAAK,OAAO,EAAE,CAAC;YACtB,OAAO,IAAI,CAAC,cAAc,EAAE,CAAC;QACjC,CAAC;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC5D,OAAO;YACH,IAAI,EAAE,OAAO;YACb,aAAa,EAAE,IAAI,CAAC,IAAI;YACxB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,WAAW,EAAE,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,EAAE;gBACpD,OAAO,EAAE,KAAK;gBACd,QAAQ,EAAE,OAAO;aACpB,CAAC;YACF,WAAW,EAAE,8BAA8B,CAAC,IAAI,CAAC,WAAW,CAAC;YAC7D,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,WAAW;YACvC,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI;YACzB,MAAM,EAAE,2BAA2B,EAA0B;SAChE,CAAC;IACN,CAAC;CACJ"}
1
+ {"version":3,"file":"toolDefinitionWithMcpOutput.js","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/toolDefinitionWithMcpOutput.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,kBAAkB,CAAC;AAEzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAU5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EACH,eAAe,EACf,2BAA2B,EAC3B,yBAAyB,EACzB,kBAAkB,GACrB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,OAAO,+BAA+B;IAuBxC,YAAY,IASX;QACG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACtB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACxB,I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AAC;QACjC,CAAC;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC5D,OAAO;YACH,IAAI,EAAE,OAAO;YACb,aAAa,EAAE,IAAI,CAAC,IAAI;YACxB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,WAAW,EAAE,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,EAAE;gBACpD,OAAO,EAAE,KAAK;gBACd,QAAQ,EAAE,OAAO;aACpB,CAAC;YACF,WAAW,EAAE,8BAA8B,CAAC,IAAI,CAAC,WAAW,CAAC;YAC7D,WAAW,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE;YACjE,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI;YACzB,MAAM,EAAE,2BAA2B,EAA0B;SAChE,CAAC;IACN,CAAC;CACJ"}
@@ -53,7 +53,7 @@ export class ToolDefinitionWithoutMcpOutputImpl {
53
53
  toolName: mcpName,
54
54
  }),
55
55
  inputSchema: createMcpCompatibleInputSchema(this.inputSchema),
56
- annotations: this.mcpConfig.annotations,
56
+ annotations: { title: this.title, ...this.mcpConfig.annotations },
57
57
  meta: this.mcpConfig.meta,
58
58
  result: createMcpToolResultBuilders(),
59
59
  };
@@ -1 +1 @@
1
- {"version":3,"file":"toolDefinitionWithoutMcpOutput.js","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/toolDefinitionWithoutMcpOutput.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,kBAAkB,CAAC;AAEzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAS5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EACH,eAAe,EACf,2BAA2B,EAC3B,yBAAyB,EAC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AI,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;QAEvD,IAAI,OAAO,KAAK,OAAO,EAAE,CAAC;YACtB,OAAO,IAAI,CAAC,cAAc,EAAE,CAAC;QACjC,CAAC;QAED,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC1B,MAAM,IAAI,KAAK,CAAC,SAAS,IAAI,CAAC,IAAI,yBAAyB,CAAC,CAAC;QACjE,CAAC;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC5D,OAAO;YACH,IAAI,EAAE,OAAO;YACb,aAAa,EAAE,IAAI,CAAC,IAAI;YACxB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,WAAW,EAAE,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,EAAE;gBACpD,OAAO,EAAE,KAAK;gBACd,QAAQ,EAAE,OAAO;aACpB,CAAC;YACF,WAAW,EAAE,8BAA8B,CAAC,IAAI,CAAC,WAAW,CAAC;YAC7D,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,WAAW;YACvC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI;YACzB,MAAM,EAAE,2BAA2B,EAAE;SACxC,CAAC;IACN,CAAC;CACJ"}
1
+ {"version":3,"file":"toolDefinitionWithoutMcpOutput.js","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/toolDefinitionWithoutMcpOutput.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,kBAAkB,CAAC;AAEzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAS5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EACH,eAAe,EACf,2BAA2B,EAC3B,yBAAyB,EACzB,kBAAkB,GACrB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,OAAO,kCAAkC;IAsB3C,YAAY,IASX;Q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B,OAAO,IAAI,CAAC,cAAc,EAAE,CAAC;QACjC,CAAC;QAED,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC1B,MAAM,IAAI,KAAK,CAAC,SAAS,IAAI,CAAC,IAAI,yBAAyB,CAAC,CAAC;QACjE,CAAC;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC5D,OAAO;YACH,IAAI,EAAE,OAAO;YACb,aAAa,EAAE,IAAI,CAAC,IAAI;YACxB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,WAAW,EAAE,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,EAAE;gBACpD,OAAO,EAAE,KAAK;gBACd,QAAQ,EAAE,OAAO;aACpB,CAAC;YACF,WAAW,EAAE,8BAA8B,CAAC,IAAI,CAAC,WAAW,CAAC;YAC7D,WAAW,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE;YACjE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI;YACzB,MAAM,EAAE,2BAA2B,EAAE;SACxC,CAAC;IACN,CAAC;CACJ"}
@@ -6,7 +6,8 @@
6
6
  "destructiveHint": false,
7
7
  "idempotentHint": true,
8
8
  "openWorldHint": false,
9
- "readOnlyHint": true
9
+ "readOnlyHint": true,
10
+ "title": "Clear agent (deprecated)"
10
11
  },
11
12
  "description": "@deprecated Omit agentUuid from scoped tool calls instead. Clears legacy shared agent context for older clients only.",
12
13
  "inputSchema": {
@@ -23,7 +24,8 @@
23
24
  "destructiveHint": true,
24
25
  "idempotentHint": false,
25
26
  "openWorldHint": false,
26
- "readOnlyHint": false
27
+ "readOnlyHint": false,
28
+ "title": "Create content"
27
29
  },
28
30
  "description": "Create a new dashboard or chart, consult the skills for the required fields. Returns the created content with the final persisted slug.",
29
31
  "inputSchema": {
@@ -268,7 +270,8 @@
268
270
  "destructiveHint": true,
269
271
  "idempotentHint": false,
270
272
  "openWorldHint": false,
271
- "readOnlyHint": false
273
+ "readOnlyHint": false,
274
+ "title": "Create custom chart type"
272
275
  },
273
276
  "description": "Tool: create_custom_chart_type\n\nBuild a custom chart type: a reusable visualization for saved charts in the project, when built-in chart types cannot draw what the user wants. For a whole interactive app, use generate_data_app.\n\n- Describe the expected data by role (a date, a category, a value), not by a query's fields. Pass queryUuid to share sample rows from a completed run_metric_query.\n- Poll get_data_app_build_status with the returned slug as appSlug until \"ready\", \"error\" or \"cancelled\", then send the user to Chart Studio. Call this tool once per request.\n- Use the returned slug: a taken name gets a numeric suffix.\n- For a named theme, brand or look, find its themeSlug with list_data_app_themes.\n- A chart type created over MCP is the caller's personal one, in no space, so a space-restricted agent-scoped session cannot read it. Omit agentUuid here and in get_data_app_build_status.\n",
274
277
  "inputSchema": {
@@ -338,7 +341,8 @@
338
341
  "destructiveHint": true,
339
342
  "idempotentHint": false,
340
343
  "openWorldHint": true,
341
- "readOnlyHint": false
344
+ "readOnlyHint": false,
345
+ "title": "Create scheduled delivery"
342
346
  },
343
347
  "description": "Create a LIVE scheduled delivery that sends a saved chart or dashboard to Slack channels and/or email recipients on a cron schedule. IMPORTANT: before calling this tool, propose the full configuration to the user (name, schedule in plain words, timezone, destinations, format, AI augmentation prompt if any) and wait for their explicit confirmation in the conversation. Requires an existing saved chart or dashboard — if the content only exists in this conversation, create it with create_content first, then schedule the created uuid. On success, share the returned href with the user — the delivery is managed (paused, edited, deleted) from that page.",
344
348
  "inputSchema": {
@@ -472,7 +476,8 @@
472
476
  "destructiveHint": true,
473
477
  "idempotentHint": false,
474
478
  "openWorldHint": false,
475
- "readOnlyHint": false
479
+ "readOnlyHint": false,
480
+ "title": "Edit content"
476
481
  },
477
482
  "description": "Edit a dashboard or chart by applying a patch to its JSON, then validate before persisting",
478
483
  "inputSchema": {
@@ -506,7 +511,8 @@
506
511
  "destructiveHint": false,
507
512
  "idempotentHint": true,
508
513
  "openWorldHint": false,
509
- "readOnlyHint": true
514
+ "readOnlyHint": true,
515
+ "title": "Find content"
510
516
  },
511
517
  "description": "Tool: \"find_content\"\nPurpose:\nFinds spaces, charts, dashboards, or Data Apps by name or description within a project, returning detailed information about each.\n\nUsage tips:\n- IMPORTANT: Pass the user's full query or relevant portion directly (e.g., \"revenue based on campaigns\" instead of just \"campaigns\").\n- The search engine understands natural language and context — more descriptive queries yield better results.\n- You can provide multiple search queries to look for different topics simultaneously (e.g., [\"monthly revenue\", \"user acquisition trends\"]).\n- Pass spaceSlug to search only inside that space and its descendants.\n- verifiedOnly=true searches only admin-verified charts/dashboards (spaces omitted). Data Apps have no verification state and remain included. Verification is a status, not text — search topic keywords, never the word \"verified\". If nothing matches, verified content may still exist under other terms, so never claim the project has none from one query. Re-run with verifiedOnly=false only if unverified charts or dashboards are acceptable.\n- If results aren't relevant, retry with the full user query or more specific terms.\n- Dashboards with validation errors will be deprioritized.\n- Returns space breadcrumb/path metadata and canonical chart, dashboard, and Data App URLs when available.\n- Dashboards show a preview of the first 5 charts and the total chart count. Use \"read_content\" to see all charts for a specific dashboard.\n- Data Apps are readable: call \"read_content\" with type \"data_app\" and the app slug to see what the app shows, the charts and dashboard it was generated from, and the explores, fields, filters, parameters and external connections it queries.\n- It doesn't provide summaries for dashboards yet, so don't suggest this capability.\n- If neither run_metric_query nor run_sql is available, search here FIRST: saved charts/dashboards may answer the question. Search before claiming information is unavailable or suggesting raw SQL or elevated permissions.",
512
518
  "inputSchema": {
@@ -553,7 +559,8 @@
553
559
  "destructiveHint": false,
554
560
  "idempotentHint": true,
555
561
  "openWorldHint": false,
556
- "readOnlyHint": true
562
+ "readOnlyHint": true,
563
+ "title": "Find custom chart types"
557
564
  },
558
565
  "description": "Tool: find_custom_chart_types\n\nSearch the project's custom chart types (reusable visualizations, including ones installed from the library) by `query` against name and description, or fetch one by `slug`. Set exactly one of the two; to browse page by page, use list_custom_chart_types.\n\n- Each match has its latest version, field slots, config options and a Chart Studio link.\n- Reuse a fitting type before building one with create_custom_chart_type, if available.\n- To save a chart with a type, call create_content (if available) with chartConfig { type: \"data_app_viz\", config: { dataAppVizSlug, fieldMapping, optionValues } }, binding each slot name to query field IDs.\n",
559
566
  "inputSchema": {
@@ -909,7 +916,8 @@
909
916
  "destructiveHint": true,
910
917
  "idempotentHint": false,
911
918
  "openWorldHint": false,
912
- "readOnlyHint": false
919
+ "readOnlyHint": false,
920
+ "title": "Generate data app"
913
921
  },
914
922
  "description": "Tool: generate_data_app\n\nPurpose:\nStart building a new data app: an interactive application generated from a brief on top of a Lightdash project's semantic layer. Each build produces one version of the app. Charts, dashboards, and other saved content have their own tools.\n\nImportant:\n- You name the app. The name fixes both the app's name and its slug at creation, and neither changes afterwards. A name already taken in the project gets a numeric suffix on the slug, so identify the app by the slug this call returns, never one you derived from the name.\n- The build runs in the background for several minutes. This call returns as soon as the build has started. Poll get_data_app_build_status with the returned slug every 15 seconds until its status is \"ready\", \"error\", or \"cancelled\". Call this tool once per request.\n- The app is created as the calling user's personal app: at the project root, in no space, visible only to them until they move it.\n- An agent-scoped session restricted to specific spaces cannot read a personal app. Call this tool and get_data_app_build_status without agentUuid to build and poll an app you own.\n- An unknown themeSlug fails before the build starts and lists the valid slugs. Call list_data_app_themes when the user names a theme, brand, or look.\n\nResponse shape (MCP CallToolResult):\n- content: [{ type: \"text\", text: \"<confirmation that the build started>\" }]\n- structuredContent: {\n slug: string, // the app's permanent slug; pass it to get_data_app_build_status\n version: number // the version of the app this build produces\n }\n\nErrors: an unknown themeSlug, dashboardSlug, or chartSlug returns an error and starts no build.\n",
915
923
  "inputSchema": {
@@ -1010,7 +1018,8 @@
1010
1018
  "destructiveHint": false,
1011
1019
  "idempotentHint": true,
1012
1020
  "openWorldHint": false,
1013
- "readOnlyHint": true
1021
+ "readOnlyHint": true,
1022
+ "title": "Generate hashes"
1014
1023
  },
1015
1024
  "description": "Generate deterministic base-36 hashes for input strings.",
1016
1025
  "inputSchema": {
@@ -1053,7 +1062,8 @@
1053
1062
  "destructiveHint": false,
1054
1063
  "idempotentHint": true,
1055
1064
  "openWorldHint": false,
1056
- "readOnlyHint": true
1065
+ "readOnlyHint": true,
1066
+ "title": "Get AI writeback status"
1057
1067
  },
1058
1068
  "description": "Tool: get_ai_writeback_status\n\nPurpose:\nCheck the status of a writeback run started by run_ai_writeback, and get the pull request URL once it's ready.\n\nImportant:\n- Poll every 10-15 seconds rather than immediately looping — a run typically takes a few minutes.\n- \"status\" is either \"pending\" (not yet picked up), an in-progress pipeline stage (e.g. \"sandbox\", \"agent\", \"pull_request\"), or a terminal value: \"ready\" (finished — check prUrl), \"error\" (finished — check errorMessage; this also covers the \"more than one dbt source\" case described in run_ai_writeback), or \"cancelled\" (stopped before finishing).\n\nParameters:\n- aiWritebackRunUuid: The id returned by run_ai_writeback.\n\nResponse shape (MCP CallToolResult):\n- content: [{ type: \"text\", text: \"<human-readable status summary>\" }]\n- structuredContent: {\n status: string, // \"pending\" | a pipeline stage | \"ready\" | \"error\" | \"cancelled\"\n prUrl: string | null, // set once status is \"ready\" and a PR was opened\n errorMessage: string | null // set once status is \"error\"\n }\n",
1059
1069
  "inputSchema": {
@@ -1111,7 +1121,8 @@
1111
1121
  "destructiveHint": false,
1112
1122
  "idempotentHint": true,
1113
1123
  "openWorldHint": false,
1114
- "readOnlyHint": true
1124
+ "readOnlyHint": true,
1125
+ "title": "Get context"
1115
1126
  },
1116
1127
  "description": "Call this first to discover available projects, the agents you can access in each project, and Lightdash-configured context. Pass the selected projectUuid to every project-scoped tool call. When agent-specific scope is useful and routing is available, use route_agent and pass its returned agentUuid explicitly. If routing is unavailable or full project scope is desired, omit agentUuid; use set_agent for manual selection. This tool reports context but does not establish implicit execution state. When the session is pinned to a project, activeProject is the only allowed project. Otherwise it is a stored default, not a restriction on projectUuid. Use the project the user requested; if none was specified, use activeProject if present or ask. If the requested project is unavailable or rejected, explain rather than substitute another project.",
1117
1128
  "inputSchema": {
@@ -1282,7 +1293,8 @@
1282
1293
  "destructiveHint": false,
1283
1294
  "idempotentHint": true,
1284
1295
  "openWorldHint": false,
1285
- "readOnlyHint": true
1296
+ "readOnlyHint": true,
1297
+ "title": "Get current agent (deprecated)"
1286
1298
  },
1287
1299
  "description": "@deprecated Use get_context for legacy configured context or route_agent for an explicit agent selection.",
1288
1300
  "inputSchema": {
@@ -1299,7 +1311,8 @@
1299
1311
  "destructiveHint": false,
1300
1312
  "idempotentHint": true,
1301
1313
  "openWorldHint": false,
1302
- "readOnlyHint": true
1314
+ "readOnlyHint": true,
1315
+ "title": "Get current project (deprecated)"
1303
1316
  },
1304
1317
  "description": "@deprecated Use get_context instead. Returns legacy shared project context for older clients.",
1305
1318
  "inputSchema": {
@@ -1316,7 +1329,8 @@
1316
1329
  "destructiveHint": false,
1317
1330
  "idempotentHint": true,
1318
1331
  "openWorldHint": false,
1319
- "readOnlyHint": true
1332
+ "readOnlyHint": true,
1333
+ "title": "Get data app build status"
1320
1334
  },
1321
1335
  "description": "Tool: get_data_app_build_status\n\nPurpose:\nCheck how a data app build is going, and get the app's URL once it is ready. A data app is an interactive application generated from a brief on top of a Lightdash project's semantic layer; each build produces one version of it.\n\nImportant:\n- Poll every 15 seconds — \"nextPollAfterMs\" in the response carries the same number in milliseconds. A build usually takes several minutes.\n- Stop polling once \"status\" is \"ready\", \"error\", or \"cancelled\". Those are terminal; the version never changes again.\n- \"slug\" is the app's permanent identifier and never changes, even when the app is renamed. Keep using the slug you started the build with.\n- An agent-scoped session restricted to specific spaces cannot read a personal app, which is what a build started over MCP creates. Call this tool without agentUuid to poll a build you started.\n\nParameters:\n- appSlug: The app's slug, as returned when the build started.\n- version: Which version of the app to report on. Omit it for the latest version, which is the one a build you just started produces.\n\nResponse shape (MCP CallToolResult):\n- content: [{ type: \"text\", text: \"<human-readable status summary>\" }]\n- structuredContent: {\n status: string, // \"pending\" | \"sandbox\" | \"catalog\" | \"generating\" | \"building\" | \"packaging\" | \"ready\" | \"error\" | \"cancelled\"\n statusMessage: string, // short line describing what the build is doing, or how it ended\n errorMessage: string | null, // why the build failed, set only when status is \"error\"\n name: string, // the app's name\n slug: string, // the app's permanent slug\n href: string, // URL to open the app in Lightdash; Chart Studio for a custom chart type\n nextPollAfterMs: number // how long to wait before polling again\n }\n\nErrors: an unknown slug, or an app or version this caller may not view, returns an error rather than a status.\n",
1322
1336
  "inputSchema": {
@@ -1410,7 +1424,8 @@
1410
1424
  "destructiveHint": false,
1411
1425
  "idempotentHint": true,
1412
1426
  "openWorldHint": false,
1413
- "readOnlyHint": true
1427
+ "readOnlyHint": true,
1428
+ "title": "Get Lightdash version"
1414
1429
  },
1415
1430
  "description": "Get the current Lightdash version",
1416
1431
  "inputSchema": {
@@ -1427,7 +1442,8 @@
1427
1442
  "destructiveHint": false,
1428
1443
  "idempotentHint": true,
1429
1444
  "openWorldHint": false,
1430
- "readOnlyHint": true
1445
+ "readOnlyHint": true,
1446
+ "title": "Get metadata"
1431
1447
  },
1432
1448
  "description": "Tool: get_metadata\n\nPurpose:\nGet the full metadata for specific explores and/or fields that you already know the IDs of (typically from grep_fields). grep_fields is lean — it tells you WHICH fields exist; get_metadata gives you the DETAIL you need to build a correct query: an explore's joined tables, table filters, required filters, and parameters, and a field's filter type, case-sensitivity, resolved default time dimension, parameter dependencies, hints, and whether it comes from a joined table. A field marked with required parameters returns different results depending on the parameter values the query runs with — unset parameters resolve to their default.\n\nCall this AFTER grep_fields, once you have narrowed down to the explore(s) and field(s) you intend to use, and BEFORE render_chart. You can ask for several explores and several fields across explores in a SINGLE call — batch everything you need at once instead of one request per item.\n\nEach entry in `requests` is one of:\n- `{ \"type\": \"explore\", \"exploreIds\": [\"orders\", \"customers\"] }` — full metadata for those explores (joined tables, table filters, field counts).\n- `{ \"type\": \"field\", \"fields\": [{ \"exploreId\": \"orders\", \"fieldId\": \"orders_status\" }] }` — full metadata for those specific fields.\n",
1433
1449
  "inputSchema": {
@@ -1939,7 +1955,8 @@
1939
1955
  "destructiveHint": false,
1940
1956
  "idempotentHint": true,
1941
1957
  "openWorldHint": false,
1942
- "readOnlyHint": true
1958
+ "readOnlyHint": true,
1959
+ "title": "Get query result"
1943
1960
  },
1944
1961
  "description": "Poll an existing run_sql or run_metric_query query until done, error, cancelled, or expired. Use the exact queryUuid returned by the query tool; never invent it. This tool retrieves results without rerunning the query.\n\nIf running, follow the response's polling instructions and call get_query_result with the same queryUuid; never resubmit the query.\nStop on terminal errors and correct the request before retrying.\n\nReturns the original query's data on completion. For a visual, call render_chart after get_query_result returns done for a metric query. SQL results cannot be rendered by render_chart.\n\nWhen building an HTML/React artifact that calls MCP, load the mcp-artifact-integration skill (read_skill with name: \"mcp-artifact-integration\") for response parsing, polling, errors and chart data. This is not needed for ordinary chat or the built-in chart app.",
1945
1962
  "inputSchema": {
@@ -2144,7 +2161,8 @@
2144
2161
  "destructiveHint": false,
2145
2162
  "idempotentHint": true,
2146
2163
  "openWorldHint": false,
2147
- "readOnlyHint": true
2164
+ "readOnlyHint": true,
2165
+ "title": "Search fields"
2148
2166
  },
2149
2167
  "description": "Tool: grep_fields\n\nPurpose:\nFind which explores and fields can answer a question by grepping an in-memory, annotated view of the project's fields (names, labels, descriptions, hints and tags). Returns matching fields as `explore/fieldId [kind type]` lines grouped by explore.\n\nUse this as the FIRST step whenever the user asks a data question (counts, totals, breakdowns, trends, \"what is\", \"show me\", \"how many\"). Do NOT call this for questions about existing dashboards/charts (use find_content).\n\nEach pattern is a case-insensitive keyword pattern (not a full regex): use `|` to OR synonyms (\"revenue|sales\") and a space or `.*` between words to require all of them (\"order.*status\" matches fields mentioning both \"order\" and \"status\"). Pass 1–5 patterns in a SINGLE call covering the different angles of the question — they run together so you see all results at once instead of grepping one at a time. Start broad with meaningful keywords (e.g. [\"revenue|sales\", \"country|region\", \"segment|tier\"]) and narrow from there — long natural-language phrases will not match. If results are empty, try synonyms or broader patterns before giving up. Read the returned fieldIds and pick the single explore that answers at the right grain before building a query.\n\nA description or hint ending in \"...(truncated)\" is incomplete — call get_metadata to read the full text before using that field.\n\nA field annotated with `⚠params: <names>` depends on those Lightdash parameters — what it returns changes with the parameter values the query runs with (unset parameters resolve to their default). Call get_metadata on its explore to see the parameter definitions before querying such a field.\n",
2150
2168
  "inputSchema": {
@@ -2581,7 +2599,8 @@
2581
2599
  "destructiveHint": true,
2582
2600
  "idempotentHint": false,
2583
2601
  "openWorldHint": false,
2584
- "readOnlyHint": false
2602
+ "readOnlyHint": false,
2603
+ "title": "Iterate on custom chart type"
2585
2604
  },
2586
2605
  "description": "Tool: iterate_custom_chart_type\n\nStart a build that adds a version to an existing custom chart type from a follow-up brief. For a new chart type use create_custom_chart_type; for a data app use iterate_data_app.\n\n- Describe the change, not the whole chart type. The build keeps the chart type's inputs, so charts that already use it keep working. Pass queryUuid to share the first rows of a completed run_metric_query as sample data. Pass themeSlug only to switch the theme.\n- Poll get_data_app_build_status with appSlug set to the slug until it is \"ready\", \"error\" or \"cancelled\". If a version is already building, wait for it to end before calling again.\n- A chart type created over MCP is the caller's personal one, in no space, so a space-restricted agent-scoped session cannot read it. Omit agentUuid here and in get_data_app_build_status.\n",
2587
2606
  "inputSchema": {
@@ -2651,7 +2670,8 @@
2651
2670
  "destructiveHint": true,
2652
2671
  "idempotentHint": false,
2653
2672
  "openWorldHint": false,
2654
- "readOnlyHint": false
2673
+ "readOnlyHint": false,
2674
+ "title": "Iterate on data app"
2655
2675
  },
2656
2676
  "description": "Tool: iterate_data_app\n\nPurpose:\nStart a build that adds a version to an existing data app from a follow-up brief. Use it to change, fix, or extend an app that already exists; generate_data_app is the tool for a brand-new app.\n\nImportant:\n- The coding agent works from the app's current source, so the brief describes the change rather than restating the whole app.\n- The app's name and slug stay as they are. The build adds a version to the app named by appSlug.\n- The build runs in the background for several minutes. This call returns as soon as the build has started. Poll get_data_app_build_status with the same appSlug every 15 seconds until its status is \"ready\", \"error\", or \"cancelled\". Call this tool once per request.\n- While a version is already building for the app, this call fails with \"A version is already building for this app\". Poll get_data_app_build_status until that build reaches a terminal status, then call this tool again.\n- An agent-scoped session restricted to specific spaces cannot read a personal app. Call this tool and get_data_app_build_status without agentUuid to build and poll an app you own.\n- Pass themeSlug only when the user asks to switch the app's theme; omitting it keeps the current one. An unknown themeSlug fails before the build starts and lists the valid slugs, which list_data_app_themes also returns.\n\nResponse shape (MCP CallToolResult):\n- content: [{ type: \"text\", text: \"<confirmation that the build started>\" }]\n- structuredContent: {\n slug: string, // the app's slug, unchanged by this build\n version: number // the version of the app this build produces\n }\n\nErrors: an unknown appSlug, themeSlug, dashboardSlug, or chartSlug returns an error and starts no build. So does a custom chart type's slug: use iterate_custom_chart_type for those.\n",
2657
2677
  "inputSchema": {
@@ -2734,7 +2754,8 @@
2734
2754
  "destructiveHint": false,
2735
2755
  "idempotentHint": true,
2736
2756
  "openWorldHint": false,
2737
- "readOnlyHint": true
2757
+ "readOnlyHint": true,
2758
+ "title": "List agents"
2738
2759
  },
2739
2760
  "description": "List accessible AI agents for the required projectUuid. Each agent is pre-configured with specific explores, tags, verified questions, and instructions that define its domain expertise. Prefer route_agent for automatic selection.",
2740
2761
  "inputSchema": {
@@ -2755,7 +2776,8 @@
2755
2776
  "destructiveHint": false,
2756
2777
  "idempotentHint": true,
2757
2778
  "openWorldHint": false,
2758
- "readOnlyHint": true
2779
+ "readOnlyHint": true,
2780
+ "title": "List content"
2759
2781
  },
2760
2782
  "description": "Tool: \"list_content\"\nPurpose:\nLists accessible Lightdash content in a project as a browsable hierarchy.\n\nUsage tips:\n- By default, lists root-level spaces.\n- Pass a spaceSlug to list direct children and content inside that space.\n- Use page for pagination. Page starts at 1.\n- Results include names, slugs, content types, URLs, and space content counts.",
2761
2783
  "inputSchema": {
@@ -2782,7 +2804,8 @@
2782
2804
  "destructiveHint": false,
2783
2805
  "idempotentHint": true,
2784
2806
  "openWorldHint": false,
2785
- "readOnlyHint": true
2807
+ "readOnlyHint": true,
2808
+ "title": "List custom chart types"
2786
2809
  },
2787
2810
  "description": "Tool: list_custom_chart_types\n\nBrowse the project's custom chart types (including ones installed from the library), newest first, one page at a time. Page starts at 1.\n\n- Each item has the same fields as find_custom_chart_types: latest version, field slots, config options and a Chart Studio link.\n- Use find_custom_chart_types to search by text or fetch one by slug.\n",
2788
2811
  "inputSchema": {
@@ -3152,7 +3175,8 @@
3152
3175
  "destructiveHint": false,
3153
3176
  "idempotentHint": true,
3154
3177
  "openWorldHint": false,
3155
- "readOnlyHint": true
3178
+ "readOnlyHint": true,
3179
+ "title": "List data app themes"
3156
3180
  },
3157
3181
  "description": "Tool: list_data_app_themes\n\nPurpose:\nList the organization's data app themes. A theme is a bundle of styling a data app can be built with; each has a slug you pass as themeSlug to generate_data_app.\n\nImportant:\n- Call it when the user names a theme, brand, or look for a data app, then match the request to a theme and pass its slug.\n- Skip it when the user says nothing about the look: the organization default theme applies.\n- An organization may have no themes at all, in which case omit themeSlug.\n\nParameters: none.\n\nResponse shape (MCP CallToolResult):\n- content: [{ type: \"text\", text: \"<the themes, one per line>\" }]\n- structuredContent: {\n themes: [{\n slug: string, // pass as themeSlug to generate_data_app\n name: string,\n isDefault: boolean, // applied when themeSlug is omitted\n description: string | null\n }]\n }\n",
3158
3182
  "inputSchema": {
@@ -3215,7 +3239,8 @@
3215
3239
  "destructiveHint": false,
3216
3240
  "idempotentHint": true,
3217
3241
  "openWorldHint": false,
3218
- "readOnlyHint": true
3242
+ "readOnlyHint": true,
3243
+ "title": "List explores"
3219
3244
  },
3220
3245
  "description": "Tool: list_explores\n\nPurpose:\nLists all Explores available to the user in the current project. Returns a summary of each explore including its name, label, base table, and tags.\n\nUsage Tips:\n- Use this to discover what data sources are available before using MCP schema-discovery tools for detailed field information\n- No arguments needed - automatically uses the current project context\n- Results are filtered based on user permissions and selected tags\n- Returns explore metadata without field details for quick overview\n",
3221
3246
  "inputSchema": {
@@ -3232,7 +3257,8 @@
3232
3257
  "destructiveHint": false,
3233
3258
  "idempotentHint": true,
3234
3259
  "openWorldHint": false,
3235
- "readOnlyHint": true
3260
+ "readOnlyHint": true,
3261
+ "title": "List projects"
3236
3262
  },
3237
3263
  "description": "List all accessible projects in the organization. Projects contain explores, fields, and content. Prefer get_context for bootstrap, then pass the selected projectUuid explicitly to every project-scoped operation. Each project includes a \"type\": prefer DEFAULT projects, which are live production environments. PREVIEW projects are ephemeral CI/PR environments that may be decommissioned — their warehouse credentials are often gone, so queries can fail with 403 errors even when the schema is still visible. Only select a PREVIEW project if the user explicitly asks for it.",
3238
3264
  "inputSchema": {
@@ -3249,7 +3275,8 @@
3249
3275
  "destructiveHint": false,
3250
3276
  "idempotentHint": true,
3251
3277
  "openWorldHint": false,
3252
- "readOnlyHint": true
3278
+ "readOnlyHint": true,
3279
+ "title": "List Skills"
3253
3280
  },
3254
3281
  "description": "List Lightdash built-in skills available to this MCP server. Use this when the client does not expose MCP resources directly.",
3255
3282
  "inputSchema": {
@@ -3356,7 +3383,8 @@
3356
3383
  "destructiveHint": false,
3357
3384
  "idempotentHint": true,
3358
3385
  "openWorldHint": false,
3359
- "readOnlyHint": true
3386
+ "readOnlyHint": true,
3387
+ "title": "List verified content"
3360
3388
  },
3361
3389
  "description": "List all verified charts, dashboards, and data apps in the required projectUuid. Verified content has been reviewed and marked as trusted — use this to discover reference examples of sanctioned metrics and visualizations when building new content. Each item includes contentType (chart, dashboard, or data_app), contentUuid, name, description, space, view count, last update time, and verification metadata (who verified it and when); charts also include chartKind and exploreName. To learn the full structure of a verified item (dimensions, metrics, filters), drill into it with find_content or MCP schema-discovery tools on its explore.",
3362
3390
  "inputSchema": {
@@ -3373,7 +3401,8 @@
3373
3401
  "destructiveHint": false,
3374
3402
  "idempotentHint": true,
3375
3403
  "openWorldHint": false,
3376
- "readOnlyHint": true
3404
+ "readOnlyHint": true,
3405
+ "title": "Read content"
3377
3406
  },
3378
3407
  "description": "Read a dashboard, chart, or data app as JSON using its slug. Call this before editing a dashboard or chart. Dashboard chart tiles include a read-only chartQuery (the explore and field ids the chart uses) for targeting dashboard filters per tile without reading each chart. Data apps are read-only and returned without code.",
3379
3408
  "inputSchema": {
@@ -3402,7 +3431,8 @@
3402
3431
  "destructiveHint": false,
3403
3432
  "idempotentHint": true,
3404
3433
  "openWorldHint": false,
3405
- "readOnlyHint": true
3434
+ "readOnlyHint": true,
3435
+ "title": "Read Skill"
3406
3436
  },
3407
3437
  "description": "Read the main SKILL.md instructions for a Lightdash built-in skill. Call list_skills first to discover available skill names.",
3408
3438
  "inputSchema": {
@@ -3515,7 +3545,8 @@
3515
3545
  "destructiveHint": false,
3516
3546
  "idempotentHint": true,
3517
3547
  "openWorldHint": false,
3518
- "readOnlyHint": true
3548
+ "readOnlyHint": true,
3549
+ "title": "Read Skill Resource"
3519
3550
  },
3520
3551
  "description": "Read a supporting resource file for a Lightdash built-in skill. Use the resource path returned by list_skills.",
3521
3552
  "inputSchema": {
@@ -3672,7 +3703,8 @@
3672
3703
  "destructiveHint": false,
3673
3704
  "idempotentHint": true,
3674
3705
  "openWorldHint": false,
3675
- "readOnlyHint": true
3706
+ "readOnlyHint": true,
3707
+ "title": "Render chart"
3676
3708
  },
3677
3709
  "description": "Render a completed run_metric_query result in Lightdash's built-in chart app in MCP App-capable clients.\n\nUse when the user wants a visual. If the query is running, call get_query_result first. This tool does not start, poll or rerun queries.\nPass the exact queryUuid returned for this query by run_metric_query or get_query_result (also available in the `queryUuid: <id>` text block). Never invent an ID or reuse one from another query or session. SQL Runner/run_sql results are not supported.\n\nSupported types: table, bar, horizontal_bar, line, scatter, pie, funnel.\n- For time series: use `line` with `xAxisType: 'time'`.\n- For categorical comparisons: use `bar` or `horizontal_bar`.\n- For single values or detailed data: use `table`.\n- Always provide axis labels.\n\nThe full chart payload is app metadata, drawn only by MCP App-capable clients. In structuredContent, `echartsOption: {}` is a placeholder for that payload, not a failed render. If your client cannot display MCP Apps, the user has not seen the chart: build the visual from the query rows. Custom artifacts should build visuals from query data instead.\n\nWhen building an HTML/React artifact that calls MCP, load the mcp-artifact-integration skill (read_skill with name: \"mcp-artifact-integration\") for response parsing, polling, errors and chart data. This is not needed for ordinary chat or the built-in chart app.",
3678
3710
  "inputSchema": {
@@ -3836,7 +3868,8 @@
3836
3868
  "destructiveHint": false,
3837
3869
  "idempotentHint": true,
3838
3870
  "openWorldHint": false,
3839
- "readOnlyHint": true
3871
+ "readOnlyHint": true,
3872
+ "title": "Resolve URL"
3840
3873
  },
3841
3874
  "description": "Tool: resolve_url\n\nPurpose:\nExpands a Lightdash share short-link into the full URL it redirects to. Share links are opaque — this tool is the only way to see what they point at.\n\nWhen to use:\n- ONLY for URLs whose path is \"/share/<id>\" (e.g. \"<host>/share/aBcD1234...\"). Nothing else is a share link.\n- NEVER call this for any other URL. A URL like \"/projects/<uuid>/saved/<uuid>\" or \"/projects/<uuid>/dashboards/<uuid>\" already contains its identifiers — read them directly from the path and go straight to the appropriate tool.\n\nUsage tips:\n- Read the identifiers (project uuid, chart or dashboard uuid, explore name) from the expanded URL, then use other tools (e.g. read_content) to fetch the content.\n- URLs that don't belong to this Lightdash instance cannot be resolved.",
3842
3875
  "inputSchema": {
@@ -3860,7 +3893,8 @@
3860
3893
  "destructiveHint": false,
3861
3894
  "idempotentHint": true,
3862
3895
  "openWorldHint": false,
3863
- "readOnlyHint": true
3896
+ "readOnlyHint": true,
3897
+ "title": "Route agent"
3864
3898
  },
3865
3899
  "description": "Select the best AI agent for a user request within the required projectUuid when agent-specific scope is useful and routing is available. Pass the returned agentUuid explicitly to subsequent scoped tools. If routing is unavailable, use list_agents and set_agent for manual selection; omit agentUuid when full project scope is desired. Also updates shared agent context for clients that use it.",
3866
3900
  "inputSchema": {
@@ -3998,7 +4032,8 @@
3998
4032
  "destructiveHint": true,
3999
4033
  "idempotentHint": false,
4000
4034
  "openWorldHint": true,
4001
- "readOnlyHint": false
4035
+ "readOnlyHint": false,
4036
+ "title": "Run AI writeback"
4002
4037
  },
4003
4038
  "description": "Tool: run_ai_writeback\n\nChange a Lightdash project's dbt project from a natural-language prompt. The GitHub repository and dbt sub-folder are resolved server-side from its dbt connection; never specify them.\n\nSafety and requirements:\n- NOT read-only or idempotent: each call can start a run and open a new pull request. Use only when the user explicitly wants a dbt change.\n- Requires a GitHub-backed dbt connection, the organization's GitHub App installation, and AI writeback enabled for the organization.\n\nExecution:\n- Returns immediately with aiWritebackRunUuid; does not wait for completion. A background sandbox clones the project's GitHub repository and runs the prompt through Claude Code CLI against dbt. If files change, a branch is committed and pushed, and a pull request opened.\n- Runs usually take a few minutes. Poll get_ai_writeback_status every 10-15 seconds with aiWritebackRunUuid for progress and the pull request URL.\n- Clients declaring io.modelcontextprotocol/tasks in per-request capabilities instead get a task handle (resultType: \"task\", taskId = run id). Poll tasks/get and cancel via tasks/cancel, rather than using get_ai_writeback_status.\n\nInput:\n- prompt: a clear, self-contained change, e.g. \"Add a total_revenue metric to orders as the sum of amount\".\n- With multiple dbt sources, name the intended source in the prompt, e.g. \"In the marketing dbt project, ...\"; never pass a source ID. If ambiguous, the run ends with status \"error\" and an error message listing the source names. Call run_ai_writeback again with the intended source named in the prompt.\n\nNormal response (MCP CallToolResult): content contains a text message saying the run started and to poll get_ai_writeback_status; structuredContent is { aiWritebackRunUuid: string }.\n",
4004
4039
  "inputSchema": {
@@ -4059,7 +4094,8 @@
4059
4094
  "destructiveHint": false,
4060
4095
  "idempotentHint": true,
4061
4096
  "openWorldHint": false,
4062
- "readOnlyHint": true
4097
+ "readOnlyHint": true,
4098
+ "title": "Run composer queries"
4063
4099
  },
4064
4100
  "description": "Run a pipeline: one or more queries submitted together, where duckdb queries join or transform the others' results. The terminal node's table is shown in the thread as a chart artifact and its rows are returned to you.\n\nNode kinds:\n- \"semanticLayer\": a metric query against an explore. Result columns are the requested field ids.\n- \"sql\": raw SQL against the project warehouse; may need user approval. A lone sql node is how raw SQL runs when there is no runSql tool.\n- \"external\": DuckDB SQL over uploaded or connected tables declared in \"tables\".\n- \"duckdb\": DuckDB SQL over other results declared in \"references\".\n\nEvery node has a \"nodeId\" (for references) and a \"title\" (what users see). The terminal node is the unique sink by default, or \"terminalNodeId\".\n\nReuse across calls: a node id names one node for the whole thread. To build on a node from an earlier call, read its node id in \"references\" without resubmitting it; it is copied into this pipeline with everything it reads and served from cache when possible. Resubmitting a node id with a different definition is an error, so give a changed node a new node id. Every call lists its nodes' ids and titles. The artifact always shows your latest call's terminal result, so end with the pipeline that produces the table the user should see.",
4065
4101
  "inputSchema": {
@@ -4345,7 +4381,8 @@
4345
4381
  "destructiveHint": false,
4346
4382
  "idempotentHint": true,
4347
4383
  "openWorldHint": false,
4348
- "readOnlyHint": true
4384
+ "readOnlyHint": true,
4385
+ "title": "Run metric query"
4349
4386
  },
4350
4387
  "description": "Run a governed metric query through the Lightdash semantic layer. Choose an explore and its metrics and dimensions (from grep_fields / get_metadata), add filters, sorts and a limit, and get consistent, centrally defined results. This is the preferred way to answer data questions and to reproduce a saved chart's query — prefer it over raw SQL whenever the fields exist in a modeled explore. For running queries, follow the polling instructions in the response.\n\nIf any selected field is marked \"requires parameters\" in field discovery or metadata, set the right values in queryConfig.parameters — an unset parameter silently resolves to its default, which can make the query return data that does not match the question.\n\nIf the user mentions any time period, add an explicit date filter; never use sort + limit instead. Use inThePast for relative windows. Date fields from joined tables work identically in filters.\n\nBefore authoring table calculations, read the `table-calculations` skill. Use type `formula`.\n\nAdd a customMetrics entry only after grep_fields / get_metadata confirm no existing metric fits.\n\nThis tool returns metric query data only. For a visual, call render_chart after run_metric_query returns done for a metric query.\n\nIf running, follow the response's polling instructions and call get_query_result with the same queryUuid; never resubmit the query.\nStop on terminal errors and correct the request before retrying.\n\nWhen building an HTML/React artifact that calls MCP, load the mcp-artifact-integration skill (read_skill with name: \"mcp-artifact-integration\") for response parsing, polling, errors and chart data. This is not needed for ordinary chat or the built-in chart app.\n",
4351
4388
  "inputSchema": {
@@ -8613,7 +8650,8 @@
8613
8650
  "destructiveHint": false,
8614
8651
  "idempotentHint": true,
8615
8652
  "openWorldHint": false,
8616
- "readOnlyHint": true
8653
+ "readOnlyHint": true,
8654
+ "title": "Run SQL"
8617
8655
  },
8618
8656
  "description": "Execute a read-only SQL query against the project's data warehouse. For running queries, follow the polling instructions in the response. Prefer run_metric_query when the semantic layer can answer the question; use SQL for ad-hoc analysis or queries outside modeled explores.\n\nUse a complete SELECT statement in the connected warehouse's SQL dialect. Lightdash applies the row limit (default 500, max 5000).\nFor visuals supported by the semantic layer, prefer run_metric_query then render_chart. render_chart does not support run_sql results.\n\nReturns SQL data, not chart artifacts. The platform provides a query-specific SQL Runner action; do not add your own SQL Runner link in the final answer.\nIf running, follow the response's polling instructions and call get_query_result with the same queryUuid; never resubmit the query.\nStop on terminal errors and correct the request before retrying.\n\nWhen building an HTML/React artifact that calls MCP, load the mcp-artifact-integration skill (read_skill with name: \"mcp-artifact-integration\") for response parsing, polling, errors and chart data. This is not needed for ordinary chat or the built-in chart app.",
8619
8657
  "inputSchema": {
@@ -8738,7 +8776,8 @@
8738
8776
  "destructiveHint": false,
8739
8777
  "idempotentHint": true,
8740
8778
  "openWorldHint": false,
8741
- "readOnlyHint": true
8779
+ "readOnlyHint": true,
8780
+ "title": "Search field values"
8742
8781
  },
8743
8782
  "description": "Tool: search_field_values\n\nPurpose:\nValidate or discover concrete values for a specific dimension before building a filter. Returns up to 100 unique values matching the query.\n\nUsage Tips:\n- Specify the table and field ID whose values you want to search\n- Prefer a non-empty query containing candidate text, such as \"complete\" for a status\n- Do not omit query or use an empty query to enumerate a warehouse column. A query without candidate text can return curated values defined in field metadata; otherwise it may be rejected to prevent an unbounded distinct-value scan\n- If the user or field metadata already provides the exact value, use it directly instead of searching\n- Omit filters when the search does not need additional filters\n- When a filters object is provided, include type, dimensions, metrics, and tableCalculations. Use null or [] for every unused category; never omit a category\n",
8744
8783
  "inputSchema": {
@@ -11434,7 +11473,8 @@
11434
11473
  "destructiveHint": false,
11435
11474
  "idempotentHint": true,
11436
11475
  "openWorldHint": false,
11437
- "readOnlyHint": true
11476
+ "readOnlyHint": true,
11477
+ "title": "Set agent"
11438
11478
  },
11439
11479
  "description": "Manually select an AI agent for the required projectUuid. Prefer route_agent for default automatic selection; use this when you need to override that choice explicitly. Returns the agent's full context including: explores it has access to, space restrictions, verified questions (curated example queries that demonstrate correct usage of the data model), and custom instructions. Pass the agentUuid explicitly to subsequent scoped tools and use this context to guide them — prefer the agent's explores when calling MCP schema-discovery tools, reference verified questions as patterns for building queries with run_metric_query, and follow the agent's instructions for domain-specific conventions.",
11440
11480
  "inputSchema": {
@@ -11456,7 +11496,8 @@
11456
11496
  "destructiveHint": false,
11457
11497
  "idempotentHint": true,
11458
11498
  "openWorldHint": false,
11459
- "readOnlyHint": true
11499
+ "readOnlyHint": true,
11500
+ "title": "Set project"
11460
11501
  },
11461
11502
  "description": "Set the configured project context. Most tools (list_explores, MCP schema-discovery tools, run_metric_query, etc.) also require its projectUuid explicitly. Setting a project clears any previously selected agent, since agents are scoped to a project. After setting a project, prefer route_agent to auto-select the best agent for each request and pass its returned agentUuid explicitly to subsequent scoped tools; use list_agents and set_agent only for manual override.",
11462
11503
  "inputSchema": {