We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5732c09 commit 6cf3b5fCopy full SHA for 6cf3b5f
packages/mcp-server-supabase/src/tools/database-operation-tools.ts
@@ -43,14 +43,13 @@ export function getDatabaseOperationTools({
43
44
const databaseOperationTools = {
45
list_tables: injectableTool({
46
- description: 'Lists all tables in a schema.',
+ description: 'Lists all tables in one or more schemas.',
47
parameters: z.object({
48
project_id: z.string(),
49
schemas: z
50
- .optional(z.array(z.string()))
51
- .describe(
52
- 'Optional list of schemas to include. Defaults to all schemas.'
53
- ),
+ .array(z.string())
+ .describe('List of schemas to include. Defaults to all schemas.')
+ .default(['public']),
54
}),
55
inject: { project_id },
56
execute: async ({ project_id, schemas }) => {
0 commit comments