Skip to content

Commit 64aea89

Browse files
authored
Merge pull request #9 from guchey/guchey/fix-tool-command
APIのツール名をプレフィックス付きに変更
2 parents 922cf5c + 1e90218 commit 64aea89

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/index.ts

+13-13
Original file line numberDiff line numberDiff line change
@@ -49,67 +49,67 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
4949
return {
5050
tools: [
5151
{
52-
name: 'list_projects',
52+
name: 'lightdash_list_projects',
5353
description: 'List all projects in the Lightdash organization',
5454
inputSchema: zodToJsonSchema(ListProjectsSchema),
5555
},
5656
{
57-
name: 'get_project',
57+
name: 'lightdash_get_project',
5858
description: 'Get details of a specific project',
5959
inputSchema: zodToJsonSchema(GetProjectSchema),
6060
},
6161
{
62-
name: 'list_spaces',
62+
name: 'lightdash_list_spaces',
6363
description: 'List all spaces in a project',
6464
inputSchema: zodToJsonSchema(ListSpacesSchema),
6565
},
6666
{
67-
name: 'list_charts',
67+
name: 'lightdash_list_charts',
6868
description: 'List all charts in a project',
6969
inputSchema: zodToJsonSchema(ListChartsSchema),
7070
},
7171
{
72-
name: 'list_dashboards',
72+
name: 'lightdash_list_dashboards',
7373
description: 'List all dashboards in a project',
7474
inputSchema: zodToJsonSchema(ListDashboardsSchema),
7575
},
7676
{
77-
name: 'get_custom_metrics',
77+
name: 'lightdash_get_custom_metrics',
7878
description: 'Get custom metrics for a project',
7979
inputSchema: zodToJsonSchema(GetCustomMetricsSchema),
8080
},
8181
{
82-
name: 'get_catalog',
82+
name: 'lightdash_get_catalog',
8383
description: 'Get catalog for a project',
8484
inputSchema: zodToJsonSchema(GetCatalogSchema),
8585
},
8686
{
87-
name: 'get_metrics_catalog',
87+
name: 'lightdash_get_metrics_catalog',
8888
description: 'Get metrics catalog for a project',
8989
inputSchema: zodToJsonSchema(GetMetricsCatalogSchema),
9090
},
9191
{
92-
name: 'get_charts_as_code',
92+
name: 'lightdash_get_charts_as_code',
9393
description: 'Get charts as code for a project',
9494
inputSchema: zodToJsonSchema(GetChartsAsCodeSchema),
9595
},
9696
{
97-
name: 'get_dashboards_as_code',
97+
name: 'lightdash_get_dashboards_as_code',
9898
description: 'Get dashboards as code for a project',
9999
inputSchema: zodToJsonSchema(GetDashboardsAsCodeSchema),
100100
},
101101
{
102-
name: 'get_metadata',
102+
name: 'lightdash_get_metadata',
103103
description: 'Get metadata for a specific table in the data catalog',
104104
inputSchema: zodToJsonSchema(GetMetadataSchema),
105105
},
106106
{
107-
name: 'get_analytics',
107+
name: 'lightdash_get_analytics',
108108
description: 'Get analytics for a specific table in the data catalog',
109109
inputSchema: zodToJsonSchema(GetAnalyticsSchema),
110110
},
111111
{
112-
name: 'get_user_attributes',
112+
name: 'lightdash_get_user_attributes',
113113
description: 'Get organization user attributes',
114114
inputSchema: zodToJsonSchema(GetUserAttributesSchema),
115115
},

0 commit comments

Comments
 (0)