@tool-bridge/server 0.21.1 → 0.22.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.
- package/dist/admin.js +170 -0
- package/dist/airtable-ML2GIGCH.js +790 -0
- package/dist/{alt_text_generator_ai-W7O34SNG.js → alt_text_generator_ai-FGYQAF2A.js} +12 -11
- package/dist/{amap-VOX4T2AW.js → amap-G7V65NGK.js} +221 -220
- package/dist/anthropic-6ZK24TBB.js +203 -0
- package/dist/apify-VDGYHP6W.js +248 -0
- package/dist/brave_search-TAATLZOS.js +302 -0
- package/dist/chunk-2IAI3XQM.js +302 -0
- package/dist/chunk-7ISGFRC6.js +161 -0
- package/dist/{chunk-E6JCVKW6.js → chunk-BNMLA2RC.js} +3 -3
- package/dist/chunk-HA4BGL6C.js +8429 -0
- package/dist/{chunk-KMTT3I6D.js → chunk-RMAWSG7E.js} +19172 -25717
- package/dist/{chunk-XYBU3WZH.js → chunk-RTW5VRTK.js} +3 -3
- package/dist/chunk-U7PTOA3U.js +7320 -0
- package/dist/chunk-UY6ANCOY.js +378 -0
- package/dist/{chunk-ATK45BXV.js → chunk-X7ZUTKHR.js} +4 -2
- package/dist/circleci-BQ2UWXL2.js +389 -0
- package/dist/clerk-2JYWQNOI.js +1019 -0
- package/dist/cohere-6MI7AQM4.js +185 -0
- package/dist/{confluence-B3EWPZVE.js → confluence-6Y6GDETF.js} +105 -104
- package/dist/{convertapi-EUWSQYPF.js → convertapi-HBZCSWOX.js} +32 -31
- package/dist/{currencyapi-KVTIK3GL.js → currencyapi-337U5TGI.js} +71 -71
- package/dist/deepseek-OSPASO7O.js +210 -0
- package/dist/docker_hub-3ATQOY5L.js +933 -0
- package/dist/dropbox-LSA4GM2Y.js +1305 -0
- package/dist/dub-VZPJSPI6.js +680 -0
- package/dist/e2b-6SDYQZL2.js +278 -0
- package/dist/exa-B6EUYDVP.js +332 -0
- package/dist/{fal_ai-23E7JPNT.js → fal_ai-K4Q27IME.js} +81 -80
- package/dist/{feishu-7QRIDUV6.js → feishu-4TKXG4SU.js} +528 -572
- package/dist/{feishu_custom_bot-TJ4K7QNJ.js → feishu_custom_bot-7CTEAKRB.js} +57 -53
- package/dist/figma-OUKSZLD5.js +777 -0
- package/dist/firehydrant-7MOYL7QH.js +563 -0
- package/dist/{fixer-BWON27UO.js → fixer-H2BV2NO4.js} +34 -33
- package/dist/fly-PXKY6PNH.js +469 -0
- package/dist/{front-QCGXYEDJ.js → front-UZYIV5DW.js} +104 -104
- package/dist/geocodio-NSYO7TFP.js +213 -0
- package/dist/ghost-QBKKQQMF.js +338 -0
- package/dist/github-ENLSJ4CL.js +5421 -0
- package/dist/gmail-KQSDEB47.js +1887 -0
- package/dist/googlecalendar-5YCX4SZF.js +2524 -0
- package/dist/{googledocs-BUHL4J2H.js → googledocs-SSWIVFKA.js} +341 -340
- package/dist/{grafana-GLU2DWF2.js → grafana-TF2LXDQA.js} +221 -220
- package/dist/graphhopper-CURBVHYK.js +325 -0
- package/dist/index.d.ts +1132 -332
- package/dist/index.js +31 -14
- package/dist/{ip2proxy-EZ64Y4ZH.js → ip2proxy-YNVMTZEM.js} +28 -27
- package/dist/ipgeolocation_io-NAU7VJ4J.js +315 -0
- package/dist/ipqualityscore-OT63L4TI.js +279 -0
- package/dist/{jina_ai-EFBHTBXL.js → jina_ai-6WBMBGWM.js} +23 -23
- package/dist/{jira-HQSHAA5K.js → jira-DVDVTHNO.js} +118 -117
- package/dist/langsmith-IM5N4YAU.js +593 -0
- package/dist/lemlist-277SHUQF.js +289 -0
- package/dist/{linear-K7RYFYAD.js → linear-AEPH7B5V.js} +327 -326
- package/dist/logsnag-VEWRAGBG.js +150 -0
- package/dist/main.js +57 -280
- package/dist/{mattermost-S2BRCWLQ.js → mattermost-Q3A2BIZA.js} +59 -58
- package/dist/mem0-AXS7GZGI.js +544 -0
- package/dist/memos-7TXG4ZTU.js +744 -0
- package/dist/{metabase-MMSEPCOF.js → metabase-NSVACWQM.js} +90 -89
- package/dist/mistral_ai-YZ52RGD4.js +1196 -0
- package/dist/{mother_duck-H7PCQNZ2.js → mother_duck-XLLL6FVL.js} +94 -93
- package/dist/ngrok-4O4W3WZW.js +356 -0
- package/dist/{notes-PFMKRO33.js → notes-YTB3TJOO.js} +11 -9
- package/dist/notion-4W4O7J7V.js +940 -0
- package/dist/open_exchange_rates-23QJXVO5.js +215 -0
- package/dist/openai-ZS7GLSLH.js +800 -0
- package/dist/opengraph_io-PMVH7OYI.js +362 -0
- package/dist/openrouter-ONRGFNB6.js +441 -0
- package/dist/outline-UCUYZZ7J.js +599 -0
- package/dist/paddle-35HTKTUL.js +454 -0
- package/dist/perplexity-NVOBYN24.js +220 -0
- package/dist/pinecone-55CJY73C.js +571 -0
- package/dist/{pipedrive-Y2O7QGFF.js → pipedrive-WMCAKS72.js} +99 -98
- package/dist/polar-SM4ZM53B.js +395 -0
- package/dist/posthog-NWCXVXNJ.js +3464 -0
- package/dist/postmark-QJV5PHUQ.js +427 -0
- package/dist/{prerender-MENYM2TY.js → prerender-2W7UT4SC.js} +31 -30
- package/dist/{pubmed-GOXUVVH5.js → pubmed-VVV7XYLU.js} +239 -238
- package/dist/{railway-V2SID4WV.js → railway-KGI57S3O.js} +118 -117
- package/dist/readwise-AGHTQB42.js +470 -0
- package/dist/render-O4HBROCK.js +461 -0
- package/dist/{replicate-756MXPYX.js → replicate-KWBOMX7D.js} +81 -80
- package/dist/{resend-ZKH3BTBI.js → resend-DRH6Y6I4.js} +20 -16
- package/dist/rootly-XGCUDW6X.js +336 -0
- package/dist/{scrapfly-NSRHFDIQ.js → scrapfly-OIQ3OY6L.js} +62 -61
- package/dist/{scrapingbee-OQHLAVEY.js → scrapingbee-OCZO4FHX.js} +56 -56
- package/dist/{screenshot_fyi-DVWG3AXC.js → screenshot_fyi-CUNGFZOC.js} +16 -16
- package/dist/semantic_scholar-3UJRLKES.js +611 -0
- package/dist/{sentry-546MNDJG.js → sentry-5BWVZFJV.js} +208 -207
- package/dist/{shodan-C3OON3Z3.js → shodan-HI37CTEW.js} +62 -61
- package/dist/shopify-LJ2EV2HH.js +610 -0
- package/dist/stripe-3LHMV55K.js +585 -0
- package/dist/{supabase-U2SL4D63.js → supabase-H2KPX3Q2.js} +245 -244
- package/dist/tavily-FBEWGH3Z.js +326 -0
- package/dist/telegram-MYYO3JND.js +1767 -0
- package/dist/{telnyx-CXQ4EZUX.js → telnyx-H4ALEGAX.js} +57 -56
- package/dist/todoist-OBWICA5Q.js +664 -0
- package/dist/trello-GUFUJRWO.js +1080 -0
- package/dist/turso-NIAK4UMS.js +416 -0
- package/dist/{twilio-4PDBJKWX.js → twilio-K6SLK2CX.js} +70 -69
- package/dist/umami-42RS2EPS.js +389 -0
- package/dist/unsplash-V7TOTETT.js +351 -0
- package/dist/{upstash_redis-G4LQBYHA.js → upstash_redis-AWQMB6Y3.js} +51 -50
- package/dist/uptimerobot-AZC2DHOT.js +483 -0
- package/dist/v2ex-4TVRNMLS.js +667 -0
- package/dist/vercel-DPHTJ3XR.js +1076 -0
- package/dist/{wolfram_alpha_api-3G4PUJWB.js → wolfram_alpha_api-XAG7IXBW.js} +36 -35
- package/dist/wordpress-KMPKVGUX.js +812 -0
- package/dist/workos-PKB2YR7S.js +664 -0
- package/dist/zhihu-Y4H4XYPB.js +254 -0
- package/package.json +18 -9
- package/dist/airtable-LLZDFN7M.js +0 -789
- package/dist/anthropic-G23NN3X5.js +0 -202
- package/dist/apify-Y3SS734K.js +0 -247
- package/dist/brave_search-ZC7OAPSZ.js +0 -301
- package/dist/chunk-R6P4XAE5.js +0 -248
- package/dist/chunk-U7B6DS2O.js +0 -977
- package/dist/chunk-UZM2RXZH.js +0 -23436
- package/dist/circleci-3BAX5FCG.js +0 -388
- package/dist/clerk-6LEM6TNU.js +0 -1019
- package/dist/cloudflare_dns-KINYTJUD.js +0 -588
- package/dist/cohere-XCJ5AJ6B.js +0 -185
- package/dist/deepseek-PC5YGNC5.js +0 -209
- package/dist/docker_hub-C3MA5FU6.js +0 -932
- package/dist/dropbox-XBV7Z2IR.js +0 -1304
- package/dist/dub-LDOFG3HC.js +0 -679
- package/dist/e2b-JMCPSVBW.js +0 -277
- package/dist/exa-RAK7O7RD.js +0 -331
- package/dist/figma-E6IX5DTH.js +0 -773
- package/dist/firehydrant-ZBLPQREE.js +0 -562
- package/dist/fly-ZH3HFCZJ.js +0 -468
- package/dist/geocodio-YGNI7DA4.js +0 -212
- package/dist/ghost-EVSGKH2Q.js +0 -337
- package/dist/github-MA2BGRCJ.js +0 -5420
- package/dist/gmail-E5E6AADE.js +0 -1886
- package/dist/googlecalendar-BTLFPXTD.js +0 -2523
- package/dist/graphhopper-WSMB3TCD.js +0 -324
- package/dist/ipgeolocation_io-AA7HAS22.js +0 -315
- package/dist/ipqualityscore-BHJXVTJT.js +0 -277
- package/dist/langsmith-5W6SCT6F.js +0 -592
- package/dist/lemlist-HJWH6UMK.js +0 -288
- package/dist/logsnag-4KFOHL37.js +0 -150
- package/dist/mem0-CAW43CIC.js +0 -543
- package/dist/memos-TWEGPKFM.js +0 -740
- package/dist/mistral_ai-64BGZQHP.js +0 -1195
- package/dist/ngrok-GQCUGZKJ.js +0 -356
- package/dist/notion-DQWZWP4N.js +0 -936
- package/dist/open_exchange_rates-QMMD735E.js +0 -214
- package/dist/openai-W6PX32NZ.js +0 -799
- package/dist/opengraph_io-HNDBXYNW.js +0 -361
- package/dist/openrouter-JJYMEAUL.js +0 -437
- package/dist/outline-MCBNQZYY.js +0 -595
- package/dist/paddle-D2SKLUDN.js +0 -453
- package/dist/perplexity-XIFMKUAE.js +0 -219
- package/dist/pinecone-HUFTALV2.js +0 -570
- package/dist/polar-TYTOMOSR.js +0 -394
- package/dist/posthog-43JAR3VW.js +0 -3463
- package/dist/postmark-KL2QJYSG.js +0 -426
- package/dist/readwise-CI4GIMMJ.js +0 -469
- package/dist/render-SUBJ6YRZ.js +0 -460
- package/dist/rootly-CD2LJHPI.js +0 -336
- package/dist/semantic_scholar-T4A252KW.js +0 -610
- package/dist/shopify-Y2HN2MCQ.js +0 -609
- package/dist/stripe-VE3CD3AY.js +0 -584
- package/dist/tavily-KCZHK6HE.js +0 -326
- package/dist/telegram-3URFBCMY.js +0 -1766
- package/dist/todoist-HNPWNYTD.js +0 -663
- package/dist/trello-3W2MIXRP.js +0 -1079
- package/dist/turso-2EQF7C2Z.js +0 -415
- package/dist/umami-5REN7TGP.js +0 -388
- package/dist/unsplash-EIXL424F.js +0 -350
- package/dist/uptimerobot-KNJ3EYLY.js +0 -482
- package/dist/v2ex-RHJ234PZ.js +0 -666
- package/dist/vercel-AS6NCIC7.js +0 -1075
- package/dist/wordpress-KNDAAUV7.js +0 -811
- package/dist/workos-R6UITSJ7.js +0 -663
- package/dist/zhihu-AGK4HILK.js +0 -253
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAuthedClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-RTW5VRTK.js";
|
|
4
|
+
import "./chunk-BNMLA2RC.js";
|
|
5
5
|
import {
|
|
6
6
|
asJsonObject,
|
|
7
7
|
compactDefined,
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
createProviderPlugin,
|
|
12
12
|
upstreamError
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-X7ZUTKHR.js";
|
|
14
|
+
import "./chunk-7ISGFRC6.js";
|
|
15
|
+
import "./chunk-UY6ANCOY.js";
|
|
15
16
|
import {
|
|
16
|
-
TBError
|
|
17
|
-
|
|
18
|
-
} from "./chunk-UZM2RXZH.js";
|
|
17
|
+
TBError
|
|
18
|
+
} from "./chunk-HA4BGL6C.js";
|
|
19
19
|
import "./chunk-U67V476Y.js";
|
|
20
20
|
|
|
21
21
|
// ../plugins/src/supabase/api.ts
|
|
@@ -481,405 +481,406 @@ async function getEdgeFunction(input, ctx) {
|
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
// ../plugins/src/supabase/schema.ts
|
|
484
|
-
|
|
485
|
-
var
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
484
|
+
import { z } from "zod/v4";
|
|
485
|
+
var listOrganizationsInput = z.strictObject({}).describe("No input parameters are required for this action.");
|
|
486
|
+
var listOrganizationsOutput = z.strictObject({
|
|
487
|
+
organizations: z.array(z.strictObject({
|
|
488
|
+
id: z.string().describe("The unique identifier of the organization."),
|
|
489
|
+
name: z.string().describe("The name of the organization."),
|
|
490
|
+
slug: z.string().describe("The URL slug of the organization.").nullable().optional()
|
|
490
491
|
}).describe("A Supabase organization summary.")).describe("The list of organizations.")
|
|
491
492
|
}).describe("Action output.");
|
|
492
|
-
var getOrganizationInput =
|
|
493
|
-
organizationSlug:
|
|
493
|
+
var getOrganizationInput = z.strictObject({
|
|
494
|
+
organizationSlug: z.string().min(1).describe("The Supabase organization slug.")
|
|
494
495
|
}).describe("Input parameters for fetching an organization.");
|
|
495
|
-
var getOrganizationOutput =
|
|
496
|
-
organization:
|
|
497
|
-
id:
|
|
498
|
-
name:
|
|
499
|
-
plan:
|
|
496
|
+
var getOrganizationOutput = z.strictObject({
|
|
497
|
+
organization: z.looseObject({
|
|
498
|
+
id: z.string().describe("The unique identifier of the organization."),
|
|
499
|
+
name: z.string().describe("The name of the organization."),
|
|
500
|
+
plan: z.string().describe("The subscription plan of the organization.")
|
|
500
501
|
}).describe("The Supabase organization detail payload.")
|
|
501
502
|
}).describe("Action output.");
|
|
502
|
-
var listOrganizationMembersInput =
|
|
503
|
-
organizationSlug:
|
|
503
|
+
var listOrganizationMembersInput = z.strictObject({
|
|
504
|
+
organizationSlug: z.string().min(1).describe("The Supabase organization slug.")
|
|
504
505
|
}).describe("Input parameters for listing organization members.");
|
|
505
|
-
var listOrganizationMembersOutput =
|
|
506
|
-
members:
|
|
507
|
-
userId:
|
|
508
|
-
userName:
|
|
509
|
-
email:
|
|
510
|
-
roleName:
|
|
511
|
-
mfaEnabled:
|
|
506
|
+
var listOrganizationMembersOutput = z.strictObject({
|
|
507
|
+
members: z.array(z.looseObject({
|
|
508
|
+
userId: z.string().describe("The unique identifier of the member."),
|
|
509
|
+
userName: z.string().describe("The display name of the member."),
|
|
510
|
+
email: z.string().describe("The email address of the member."),
|
|
511
|
+
roleName: z.string().describe("The organization role name of the member."),
|
|
512
|
+
mfaEnabled: z.boolean().describe("Whether the member has MFA enabled.")
|
|
512
513
|
}).describe("A Supabase organization member.")).describe("The organization members.")
|
|
513
514
|
}).describe("Action output.");
|
|
514
|
-
var listOrganizationProjectsInput =
|
|
515
|
-
organizationSlug:
|
|
516
|
-
offset:
|
|
517
|
-
limit:
|
|
518
|
-
search:
|
|
519
|
-
sort:
|
|
520
|
-
statuses:
|
|
515
|
+
var listOrganizationProjectsInput = z.strictObject({
|
|
516
|
+
organizationSlug: z.string().min(1).describe("The Supabase organization slug."),
|
|
517
|
+
offset: z.int().min(0).describe("The number of projects to skip.").optional(),
|
|
518
|
+
limit: z.int().min(1).max(100).describe("The maximum number of projects to return, up to 100.").optional(),
|
|
519
|
+
search: z.string().min(1).describe("Search projects by name.").optional(),
|
|
520
|
+
sort: z.enum(["name_asc", "name_desc", "created_asc", "created_desc"]).describe("The sort order for projects.").optional(),
|
|
521
|
+
statuses: z.array(z.enum(["ACTIVE_HEALTHY", "ACTIVE_UNHEALTHY", "COMING_UP", "GOING_DOWN", "INACTIVE", "INIT_FAILED", "REMOVED", "RESTARTING", "UNKNOWN", "UPGRADING", "PAUSING", "RESTORING", "RESTORE_FAILED", "PAUSE_FAILED", "RESIZING"]).describe("The current status of the Supabase project.")).min(1).describe("Project statuses to include.").optional()
|
|
521
522
|
}).describe("Input parameters for listing organization projects.");
|
|
522
|
-
var listOrganizationProjectsOutput =
|
|
523
|
-
projects:
|
|
524
|
-
ref:
|
|
525
|
-
name:
|
|
526
|
-
region:
|
|
527
|
-
status:
|
|
523
|
+
var listOrganizationProjectsOutput = z.strictObject({
|
|
524
|
+
projects: z.array(z.looseObject({
|
|
525
|
+
ref: z.string().describe("The project reference identifier."),
|
|
526
|
+
name: z.string().describe("The project name."),
|
|
527
|
+
region: z.string().describe("The project region."),
|
|
528
|
+
status: z.enum(["ACTIVE_HEALTHY", "ACTIVE_UNHEALTHY", "COMING_UP", "GOING_DOWN", "INACTIVE", "INIT_FAILED", "REMOVED", "RESTARTING", "UNKNOWN", "UPGRADING", "PAUSING", "RESTORING", "RESTORE_FAILED", "PAUSE_FAILED", "RESIZING"]).describe("The current status of the Supabase project.")
|
|
528
529
|
}).describe("A project returned from an organization listing.")).describe("The projects in the organization."),
|
|
529
|
-
pagination:
|
|
530
|
-
count:
|
|
531
|
-
limit:
|
|
532
|
-
offset:
|
|
530
|
+
pagination: z.strictObject({
|
|
531
|
+
count: z.number().describe("The total number of matching records."),
|
|
532
|
+
limit: z.number().describe("The maximum number of records returned."),
|
|
533
|
+
offset: z.number().describe("The number of records skipped.")
|
|
533
534
|
}).describe("Pagination metadata returned by Supabase.")
|
|
534
535
|
}).describe("Action output.");
|
|
535
|
-
var listProjectsInput =
|
|
536
|
-
var listProjectsOutput =
|
|
537
|
-
projects:
|
|
538
|
-
id:
|
|
539
|
-
organizationId:
|
|
540
|
-
name:
|
|
541
|
-
region:
|
|
542
|
-
status:
|
|
543
|
-
createdAt:
|
|
544
|
-
database:
|
|
545
|
-
host:
|
|
546
|
-
version:
|
|
547
|
-
postgresEngine:
|
|
548
|
-
releaseChannel:
|
|
536
|
+
var listProjectsInput = z.strictObject({}).describe("No input parameters are required for this action.");
|
|
537
|
+
var listProjectsOutput = z.strictObject({
|
|
538
|
+
projects: z.array(z.strictObject({
|
|
539
|
+
id: z.string().describe("The unique identifier of the project."),
|
|
540
|
+
organizationId: z.string().describe("The organization ID this project belongs to."),
|
|
541
|
+
name: z.string().describe("The name of the project."),
|
|
542
|
+
region: z.string().describe("The cloud region of the project."),
|
|
543
|
+
status: z.enum(["ACTIVE_HEALTHY", "ACTIVE_UNHEALTHY", "COMING_UP", "GOING_DOWN", "INACTIVE", "INIT_FAILED", "REMOVED", "RESTARTING", "UNKNOWN", "UPGRADING", "PAUSING", "RESTORING", "RESTORE_FAILED", "PAUSE_FAILED", "RESIZING"]).describe("The current status of the Supabase project.").optional(),
|
|
544
|
+
createdAt: z.string().describe("The timestamp when the project was created."),
|
|
545
|
+
database: z.strictObject({
|
|
546
|
+
host: z.string().describe("The database host address."),
|
|
547
|
+
version: z.string().describe("The database version."),
|
|
548
|
+
postgresEngine: z.string().describe("The Postgres engine identifier.").nullable().optional(),
|
|
549
|
+
releaseChannel: z.string().describe("The release channel of the database.").nullable().optional()
|
|
549
550
|
}).describe("A Supabase project database configuration.").optional()
|
|
550
551
|
}).describe("A Supabase project summary.")).describe("The list of projects.")
|
|
551
552
|
}).describe("Action output.");
|
|
552
|
-
var getProjectInput =
|
|
553
|
-
projectRef:
|
|
553
|
+
var getProjectInput = z.strictObject({
|
|
554
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'.")
|
|
554
555
|
}).describe("Input parameters identifying a Supabase project.");
|
|
555
|
-
var getProjectOutput =
|
|
556
|
-
project:
|
|
557
|
-
id:
|
|
558
|
-
ref:
|
|
559
|
-
organizationId:
|
|
560
|
-
organizationSlug:
|
|
561
|
-
name:
|
|
562
|
-
region:
|
|
563
|
-
status:
|
|
564
|
-
createdAt:
|
|
565
|
-
database:
|
|
566
|
-
host:
|
|
567
|
-
version:
|
|
568
|
-
postgresEngine:
|
|
569
|
-
releaseChannel:
|
|
556
|
+
var getProjectOutput = z.strictObject({
|
|
557
|
+
project: z.strictObject({
|
|
558
|
+
id: z.string().describe("The unique identifier of the project."),
|
|
559
|
+
ref: z.string().describe("The project reference identifier."),
|
|
560
|
+
organizationId: z.string().describe("The organization ID this project belongs to."),
|
|
561
|
+
organizationSlug: z.string().describe("The organization slug."),
|
|
562
|
+
name: z.string().describe("The name of the project."),
|
|
563
|
+
region: z.string().describe("The cloud region of the project."),
|
|
564
|
+
status: z.enum(["ACTIVE_HEALTHY", "ACTIVE_UNHEALTHY", "COMING_UP", "GOING_DOWN", "INACTIVE", "INIT_FAILED", "REMOVED", "RESTARTING", "UNKNOWN", "UPGRADING", "PAUSING", "RESTORING", "RESTORE_FAILED", "PAUSE_FAILED", "RESIZING"]).describe("The current status of the Supabase project."),
|
|
565
|
+
createdAt: z.string().describe("The timestamp when the project was created."),
|
|
566
|
+
database: z.strictObject({
|
|
567
|
+
host: z.string().describe("The database host address."),
|
|
568
|
+
version: z.string().describe("The database version."),
|
|
569
|
+
postgresEngine: z.string().describe("The Postgres engine identifier.").nullable().optional(),
|
|
570
|
+
releaseChannel: z.string().describe("The release channel of the database.").nullable().optional()
|
|
570
571
|
}).describe("A Supabase project database configuration.")
|
|
571
572
|
}).describe("A Supabase project detail record.")
|
|
572
573
|
}).describe("Action output.");
|
|
573
|
-
var listAvailableRegionsInput =
|
|
574
|
-
organizationSlug:
|
|
575
|
-
continent:
|
|
576
|
-
desiredInstanceSize:
|
|
574
|
+
var listAvailableRegionsInput = z.strictObject({
|
|
575
|
+
organizationSlug: z.string().min(1).describe("The Supabase organization slug."),
|
|
576
|
+
continent: z.enum(["NA", "SA", "EU", "AF", "AS", "OC", "AN"]).describe("Optional continent code for regional recommendations.").optional(),
|
|
577
|
+
desiredInstanceSize: z.string().min(1).describe("Optional desired instance size for availability.").optional()
|
|
577
578
|
}).describe("Input parameters for listing available project regions.");
|
|
578
|
-
var listAvailableRegionsOutput =
|
|
579
|
-
regions:
|
|
579
|
+
var listAvailableRegionsOutput = z.strictObject({
|
|
580
|
+
regions: z.looseObject({}).describe("A JSON object returned by Supabase.")
|
|
580
581
|
}).describe("Action output.");
|
|
581
|
-
var getProjectHealthInput =
|
|
582
|
-
projectRef:
|
|
583
|
-
services:
|
|
584
|
-
timeoutMs:
|
|
582
|
+
var getProjectHealthInput = z.strictObject({
|
|
583
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
|
|
584
|
+
services: z.array(z.enum(["auth", "db", "db_postgres_user", "pooler", "realtime", "rest", "storage", "pg_bouncer"]).describe("A Supabase service name to check health for.")).min(1).describe("The services to check."),
|
|
585
|
+
timeoutMs: z.int().min(0).max(1e4).describe("Optional timeout in milliseconds, up to 10000.").optional()
|
|
585
586
|
}).describe("Input parameters for checking project service health.");
|
|
586
|
-
var getProjectHealthOutput =
|
|
587
|
-
services:
|
|
588
|
-
name:
|
|
589
|
-
healthy:
|
|
590
|
-
status:
|
|
591
|
-
error:
|
|
587
|
+
var getProjectHealthOutput = z.strictObject({
|
|
588
|
+
services: z.array(z.looseObject({
|
|
589
|
+
name: z.enum(["auth", "db", "db_postgres_user", "pooler", "realtime", "rest", "storage", "pg_bouncer"]).describe("A Supabase service name to check health for."),
|
|
590
|
+
healthy: z.boolean().describe("Deprecated upstream health flag. Prefer status when present."),
|
|
591
|
+
status: z.string().describe("The service health status."),
|
|
592
|
+
error: z.string().describe("The service health error message when present.")
|
|
592
593
|
}).describe("A Supabase service health result.")).describe("The health results returned by Supabase.")
|
|
593
594
|
}).describe("Action output.");
|
|
594
|
-
var listProjectApiKeysInput =
|
|
595
|
-
projectRef:
|
|
596
|
-
reveal:
|
|
595
|
+
var listProjectApiKeysInput = z.strictObject({
|
|
596
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
|
|
597
|
+
reveal: z.boolean().describe("Whether to reveal the full API key values.").optional()
|
|
597
598
|
}).describe("Input parameters for listing project API keys.");
|
|
598
|
-
var listProjectApiKeysOutput =
|
|
599
|
-
apiKeys:
|
|
600
|
-
id:
|
|
601
|
-
name:
|
|
602
|
-
type:
|
|
603
|
-
prefix:
|
|
604
|
-
hash:
|
|
605
|
-
description:
|
|
606
|
-
apiKey:
|
|
607
|
-
insertedAt:
|
|
608
|
-
updatedAt:
|
|
609
|
-
secretJwtTemplate:
|
|
599
|
+
var listProjectApiKeysOutput = z.strictObject({
|
|
600
|
+
apiKeys: z.array(z.strictObject({
|
|
601
|
+
id: z.string().describe("The unique identifier of the API key."),
|
|
602
|
+
name: z.string().describe("The name of the API key."),
|
|
603
|
+
type: z.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
|
|
604
|
+
prefix: z.string().describe("The prefix portion of the API key."),
|
|
605
|
+
hash: z.string().describe("The hash of the API key."),
|
|
606
|
+
description: z.string().describe("The description of the API key.").nullable().optional(),
|
|
607
|
+
apiKey: z.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
|
|
608
|
+
insertedAt: z.string().describe("The timestamp when the API key was created.").optional(),
|
|
609
|
+
updatedAt: z.string().describe("The timestamp when the API key was last updated.").optional(),
|
|
610
|
+
secretJwtTemplate: z.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
|
|
610
611
|
}).describe("A Supabase API key record.")).describe("The list of API keys.")
|
|
611
612
|
}).describe("Action output.");
|
|
612
|
-
var getProjectApiKeyInput =
|
|
613
|
-
projectRef:
|
|
614
|
-
apiKeyId:
|
|
615
|
-
reveal:
|
|
613
|
+
var getProjectApiKeyInput = z.strictObject({
|
|
614
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
|
|
615
|
+
apiKeyId: z.string().min(1).describe("The unique identifier of the project API key."),
|
|
616
|
+
reveal: z.boolean().describe("Whether to reveal the full API key value.").optional()
|
|
616
617
|
}).describe("Input parameters for fetching one project API key.");
|
|
617
|
-
var getProjectApiKeyOutput =
|
|
618
|
-
apiKey:
|
|
619
|
-
id:
|
|
620
|
-
name:
|
|
621
|
-
type:
|
|
622
|
-
prefix:
|
|
623
|
-
hash:
|
|
624
|
-
description:
|
|
625
|
-
apiKey:
|
|
626
|
-
insertedAt:
|
|
627
|
-
updatedAt:
|
|
628
|
-
secretJwtTemplate:
|
|
618
|
+
var getProjectApiKeyOutput = z.strictObject({
|
|
619
|
+
apiKey: z.strictObject({
|
|
620
|
+
id: z.string().describe("The unique identifier of the API key."),
|
|
621
|
+
name: z.string().describe("The name of the API key."),
|
|
622
|
+
type: z.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
|
|
623
|
+
prefix: z.string().describe("The prefix portion of the API key."),
|
|
624
|
+
hash: z.string().describe("The hash of the API key."),
|
|
625
|
+
description: z.string().describe("The description of the API key.").nullable().optional(),
|
|
626
|
+
apiKey: z.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
|
|
627
|
+
insertedAt: z.string().describe("The timestamp when the API key was created.").optional(),
|
|
628
|
+
updatedAt: z.string().describe("The timestamp when the API key was last updated.").optional(),
|
|
629
|
+
secretJwtTemplate: z.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
|
|
629
630
|
}).describe("A Supabase API key record.")
|
|
630
631
|
}).describe("Action output.");
|
|
631
|
-
var createProjectApiKeyInput =
|
|
632
|
-
projectRef:
|
|
633
|
-
name:
|
|
634
|
-
type:
|
|
635
|
-
description:
|
|
636
|
-
reveal:
|
|
637
|
-
secretJwtTemplate:
|
|
632
|
+
var createProjectApiKeyInput = z.strictObject({
|
|
633
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
|
|
634
|
+
name: z.string().min(4).max(64).regex(new RegExp("^[a-z_][a-z0-9_]+$")).describe("The API key name. Use lowercase letters, numbers, and underscores; it must start with a lowercase letter or underscore."),
|
|
635
|
+
type: z.enum(["publishable", "secret"]).describe("The type of API key to create."),
|
|
636
|
+
description: z.string().min(1).describe("The optional description for the API key.").optional(),
|
|
637
|
+
reveal: z.boolean().describe("Whether to reveal the full API key value in the response.").optional(),
|
|
638
|
+
secretJwtTemplate: z.looseObject({}).describe("The JWT template for secret API keys.").optional()
|
|
638
639
|
}).describe("Input parameters for creating a project API key.");
|
|
639
|
-
var createProjectApiKeyOutput =
|
|
640
|
-
apiKey:
|
|
641
|
-
id:
|
|
642
|
-
name:
|
|
643
|
-
type:
|
|
644
|
-
prefix:
|
|
645
|
-
hash:
|
|
646
|
-
description:
|
|
647
|
-
apiKey:
|
|
648
|
-
insertedAt:
|
|
649
|
-
updatedAt:
|
|
650
|
-
secretJwtTemplate:
|
|
640
|
+
var createProjectApiKeyOutput = z.strictObject({
|
|
641
|
+
apiKey: z.strictObject({
|
|
642
|
+
id: z.string().describe("The unique identifier of the API key."),
|
|
643
|
+
name: z.string().describe("The name of the API key."),
|
|
644
|
+
type: z.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
|
|
645
|
+
prefix: z.string().describe("The prefix portion of the API key."),
|
|
646
|
+
hash: z.string().describe("The hash of the API key."),
|
|
647
|
+
description: z.string().describe("The description of the API key.").nullable().optional(),
|
|
648
|
+
apiKey: z.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
|
|
649
|
+
insertedAt: z.string().describe("The timestamp when the API key was created.").optional(),
|
|
650
|
+
updatedAt: z.string().describe("The timestamp when the API key was last updated.").optional(),
|
|
651
|
+
secretJwtTemplate: z.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
|
|
651
652
|
}).describe("A Supabase API key record.")
|
|
652
653
|
}).describe("Action output.");
|
|
653
|
-
var updateProjectApiKeyInput =
|
|
654
|
-
projectRef:
|
|
655
|
-
apiKeyId:
|
|
656
|
-
name:
|
|
657
|
-
description:
|
|
658
|
-
reveal:
|
|
659
|
-
secretJwtTemplate:
|
|
654
|
+
var updateProjectApiKeyInput = z.strictObject({
|
|
655
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
|
|
656
|
+
apiKeyId: z.string().min(1).describe("The unique identifier of the project API key."),
|
|
657
|
+
name: z.string().min(4).max(64).regex(new RegExp("^[a-z_][a-z0-9_]+$")).describe("The API key name. Use lowercase letters, numbers, and underscores; it must start with a lowercase letter or underscore.").optional(),
|
|
658
|
+
description: z.string().describe("The updated API key description.").nullable().optional(),
|
|
659
|
+
reveal: z.boolean().describe("Whether to reveal the full API key value in the response.").optional(),
|
|
660
|
+
secretJwtTemplate: z.looseObject({}).describe("The updated JWT template for secret API keys.").nullable().optional()
|
|
660
661
|
}).describe("Input parameters for updating a project API key.");
|
|
661
|
-
var updateProjectApiKeyOutput =
|
|
662
|
-
apiKey:
|
|
663
|
-
id:
|
|
664
|
-
name:
|
|
665
|
-
type:
|
|
666
|
-
prefix:
|
|
667
|
-
hash:
|
|
668
|
-
description:
|
|
669
|
-
apiKey:
|
|
670
|
-
insertedAt:
|
|
671
|
-
updatedAt:
|
|
672
|
-
secretJwtTemplate:
|
|
662
|
+
var updateProjectApiKeyOutput = z.strictObject({
|
|
663
|
+
apiKey: z.strictObject({
|
|
664
|
+
id: z.string().describe("The unique identifier of the API key."),
|
|
665
|
+
name: z.string().describe("The name of the API key."),
|
|
666
|
+
type: z.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
|
|
667
|
+
prefix: z.string().describe("The prefix portion of the API key."),
|
|
668
|
+
hash: z.string().describe("The hash of the API key."),
|
|
669
|
+
description: z.string().describe("The description of the API key.").nullable().optional(),
|
|
670
|
+
apiKey: z.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
|
|
671
|
+
insertedAt: z.string().describe("The timestamp when the API key was created.").optional(),
|
|
672
|
+
updatedAt: z.string().describe("The timestamp when the API key was last updated.").optional(),
|
|
673
|
+
secretJwtTemplate: z.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
|
|
673
674
|
}).describe("A Supabase API key record.")
|
|
674
675
|
}).describe("Action output.");
|
|
675
|
-
var deleteProjectApiKeyInput =
|
|
676
|
-
projectRef:
|
|
677
|
-
apiKeyId:
|
|
678
|
-
reveal:
|
|
679
|
-
wasCompromised:
|
|
680
|
-
reason:
|
|
676
|
+
var deleteProjectApiKeyInput = z.strictObject({
|
|
677
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
|
|
678
|
+
apiKeyId: z.string().min(1).describe("The unique identifier of the project API key."),
|
|
679
|
+
reveal: z.boolean().describe("Whether Supabase should reveal key data in the delete response.").optional(),
|
|
680
|
+
wasCompromised: z.boolean().describe("Whether the key is being deleted because it was compromised.").optional(),
|
|
681
|
+
reason: z.string().min(1).describe("Optional deletion reason sent to Supabase.").optional()
|
|
681
682
|
}).describe("Input parameters for deleting a project API key.");
|
|
682
|
-
var deleteProjectApiKeyOutput =
|
|
683
|
-
apiKey:
|
|
684
|
-
id:
|
|
685
|
-
name:
|
|
686
|
-
type:
|
|
687
|
-
prefix:
|
|
688
|
-
hash:
|
|
689
|
-
description:
|
|
690
|
-
apiKey:
|
|
691
|
-
insertedAt:
|
|
692
|
-
updatedAt:
|
|
693
|
-
secretJwtTemplate:
|
|
683
|
+
var deleteProjectApiKeyOutput = z.strictObject({
|
|
684
|
+
apiKey: z.strictObject({
|
|
685
|
+
id: z.string().describe("The unique identifier of the API key."),
|
|
686
|
+
name: z.string().describe("The name of the API key."),
|
|
687
|
+
type: z.enum(["legacy", "publishable", "secret", "unknown"]).describe("The type of the API key."),
|
|
688
|
+
prefix: z.string().describe("The prefix portion of the API key."),
|
|
689
|
+
hash: z.string().describe("The hash of the API key."),
|
|
690
|
+
description: z.string().describe("The description of the API key.").nullable().optional(),
|
|
691
|
+
apiKey: z.string().describe("The full API key value when reveal is true and Supabase returns it.").optional(),
|
|
692
|
+
insertedAt: z.string().describe("The timestamp when the API key was created.").optional(),
|
|
693
|
+
updatedAt: z.string().describe("The timestamp when the API key was last updated.").optional(),
|
|
694
|
+
secretJwtTemplate: z.looseObject({}).describe("The JWT template for secret API keys.").nullable().optional()
|
|
694
695
|
}).describe("A Supabase API key record.")
|
|
695
696
|
}).describe("Action output.");
|
|
696
|
-
var listProjectSecretsInput =
|
|
697
|
-
projectRef:
|
|
697
|
+
var listProjectSecretsInput = z.strictObject({
|
|
698
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'.")
|
|
698
699
|
}).describe("Input parameters identifying a Supabase project.");
|
|
699
|
-
var listProjectSecretsOutput =
|
|
700
|
-
secrets:
|
|
701
|
-
name:
|
|
702
|
-
value:
|
|
703
|
-
updatedAt:
|
|
700
|
+
var listProjectSecretsOutput = z.strictObject({
|
|
701
|
+
secrets: z.array(z.strictObject({
|
|
702
|
+
name: z.string().describe("The secret name."),
|
|
703
|
+
value: z.string().describe("The secret value when Supabase returns it.").optional(),
|
|
704
|
+
updatedAt: z.string().describe("The timestamp when the secret was last updated.").optional()
|
|
704
705
|
}).describe("A Supabase project secret.")).describe("The project secrets returned by Supabase.")
|
|
705
706
|
}).describe("Action output.");
|
|
706
|
-
var upsertProjectSecretsInput =
|
|
707
|
-
projectRef:
|
|
708
|
-
secrets:
|
|
709
|
-
name:
|
|
710
|
-
value:
|
|
707
|
+
var upsertProjectSecretsInput = z.strictObject({
|
|
708
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
|
|
709
|
+
secrets: z.array(z.strictObject({
|
|
710
|
+
name: z.string().min(1).max(256).describe("The secret name. It must not start with the reserved SUPABASE_ prefix."),
|
|
711
|
+
value: z.string().max(24576).describe("The secret value.")
|
|
711
712
|
}).describe("A secret name/value pair to upsert.")).min(1).describe("The secrets to create or update.")
|
|
712
713
|
}).describe("Input parameters for upserting project secrets.");
|
|
713
|
-
var upsertProjectSecretsOutput =
|
|
714
|
-
success:
|
|
714
|
+
var upsertProjectSecretsOutput = z.strictObject({
|
|
715
|
+
success: z.boolean().describe("Whether Supabase accepted the secret upsert request.")
|
|
715
716
|
}).describe("Action output.");
|
|
716
|
-
var deleteProjectSecretsInput =
|
|
717
|
-
projectRef:
|
|
718
|
-
names:
|
|
717
|
+
var deleteProjectSecretsInput = z.strictObject({
|
|
718
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
|
|
719
|
+
names: z.array(z.string().min(1).describe("A secret name.")).min(1).describe("The names of secrets to delete.")
|
|
719
720
|
}).describe("Input parameters for deleting project secrets.");
|
|
720
|
-
var deleteProjectSecretsOutput =
|
|
721
|
-
success:
|
|
721
|
+
var deleteProjectSecretsOutput = z.strictObject({
|
|
722
|
+
success: z.boolean().describe("Whether Supabase accepted the secret delete request.")
|
|
722
723
|
}).describe("Action output.");
|
|
723
|
-
var generateTypescriptTypesInput =
|
|
724
|
-
projectRef:
|
|
725
|
-
includedSchemas:
|
|
724
|
+
var generateTypescriptTypesInput = z.strictObject({
|
|
725
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
|
|
726
|
+
includedSchemas: z.array(z.string().min(1)).min(1).describe("Database schemas to include, such as public or auth.").optional()
|
|
726
727
|
}).describe("Input parameters for generating TypeScript types.");
|
|
727
|
-
var generateTypescriptTypesOutput =
|
|
728
|
-
typescript:
|
|
728
|
+
var generateTypescriptTypesOutput = z.strictObject({
|
|
729
|
+
typescript: z.string().describe("The generated TypeScript type definitions.")
|
|
729
730
|
}).describe("Action output.");
|
|
730
|
-
var runReadOnlyQueryInput =
|
|
731
|
-
projectRef:
|
|
732
|
-
query:
|
|
733
|
-
parameters:
|
|
731
|
+
var runReadOnlyQueryInput = z.strictObject({
|
|
732
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
|
|
733
|
+
query: z.string().min(1).describe("The SQL query to run with read-only permissions."),
|
|
734
|
+
parameters: z.array(z.unknown().describe("A query parameter.")).describe("Optional positional query parameters.").optional()
|
|
734
735
|
}).describe("Input parameters for running a read-only SQL query.");
|
|
735
|
-
var runReadOnlyQueryOutput =
|
|
736
|
-
result:
|
|
736
|
+
var runReadOnlyQueryOutput = z.strictObject({
|
|
737
|
+
result: z.unknown().describe("The raw read-only query response returned by Supabase, or null when Supabase returns no response body.")
|
|
737
738
|
}).describe("Action output.");
|
|
738
|
-
var listStorageBucketsInput =
|
|
739
|
-
projectRef:
|
|
739
|
+
var listStorageBucketsInput = z.strictObject({
|
|
740
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'.")
|
|
740
741
|
}).describe("Input parameters identifying a Supabase project.");
|
|
741
|
-
var listStorageBucketsOutput =
|
|
742
|
-
buckets:
|
|
742
|
+
var listStorageBucketsOutput = z.strictObject({
|
|
743
|
+
buckets: z.array(z.looseObject({}).describe("A JSON object returned by Supabase.")).describe("The Storage buckets returned by Supabase.")
|
|
743
744
|
}).describe("Action output.");
|
|
744
|
-
var listEdgeFunctionsInput =
|
|
745
|
-
projectRef:
|
|
745
|
+
var listEdgeFunctionsInput = z.strictObject({
|
|
746
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'.")
|
|
746
747
|
}).describe("Input parameters identifying a Supabase project.");
|
|
747
|
-
var listEdgeFunctionsOutput =
|
|
748
|
-
functions:
|
|
748
|
+
var listEdgeFunctionsOutput = z.strictObject({
|
|
749
|
+
functions: z.array(z.looseObject({}).describe("A JSON object returned by Supabase.")).describe("The Edge Functions returned by Supabase.")
|
|
749
750
|
}).describe("Action output.");
|
|
750
|
-
var getEdgeFunctionInput =
|
|
751
|
-
projectRef:
|
|
752
|
-
functionSlug:
|
|
751
|
+
var getEdgeFunctionInput = z.strictObject({
|
|
752
|
+
projectRef: z.string().min(1).max(64).describe("The Supabase project reference, for example 'abcdefghijklmnopqrst'."),
|
|
753
|
+
functionSlug: z.string().min(1).describe("The Edge Function slug.")
|
|
753
754
|
}).describe("Input parameters for fetching an Edge Function.");
|
|
754
|
-
var getEdgeFunctionOutput =
|
|
755
|
-
function:
|
|
755
|
+
var getEdgeFunctionOutput = z.strictObject({
|
|
756
|
+
function: z.looseObject({}).describe("A JSON object returned by Supabase.")
|
|
756
757
|
}).describe("Action output.");
|
|
757
758
|
var supabaseActions = {
|
|
758
759
|
list_organizations: {
|
|
759
760
|
description: "List the organizations available to the authenticated Supabase account.",
|
|
760
761
|
effect: "read",
|
|
761
762
|
inputSchema: listOrganizationsInput,
|
|
762
|
-
outputSchema:
|
|
763
|
+
outputSchema: z.toJSONSchema(listOrganizationsOutput, { io: "output", unrepresentable: "any" })
|
|
763
764
|
},
|
|
764
765
|
get_organization: {
|
|
765
766
|
description: "Get details for a Supabase organization by slug.",
|
|
766
767
|
effect: "read",
|
|
767
768
|
inputSchema: getOrganizationInput,
|
|
768
|
-
outputSchema:
|
|
769
|
+
outputSchema: z.toJSONSchema(getOrganizationOutput, { io: "output", unrepresentable: "any" })
|
|
769
770
|
},
|
|
770
771
|
list_organization_members: {
|
|
771
772
|
description: "List members of a Supabase organization.",
|
|
772
773
|
effect: "read",
|
|
773
774
|
inputSchema: listOrganizationMembersInput,
|
|
774
|
-
outputSchema:
|
|
775
|
+
outputSchema: z.toJSONSchema(listOrganizationMembersOutput, { io: "output", unrepresentable: "any" })
|
|
775
776
|
},
|
|
776
777
|
list_organization_projects: {
|
|
777
778
|
description: "List projects in a Supabase organization with optional search and pagination.",
|
|
778
779
|
effect: "read",
|
|
779
780
|
inputSchema: listOrganizationProjectsInput,
|
|
780
|
-
outputSchema:
|
|
781
|
+
outputSchema: z.toJSONSchema(listOrganizationProjectsOutput, { io: "output", unrepresentable: "any" })
|
|
781
782
|
},
|
|
782
783
|
list_projects: {
|
|
783
784
|
description: "List Supabase projects visible to the authenticated account.",
|
|
784
785
|
effect: "read",
|
|
785
786
|
inputSchema: listProjectsInput,
|
|
786
|
-
outputSchema:
|
|
787
|
+
outputSchema: z.toJSONSchema(listProjectsOutput, { io: "output", unrepresentable: "any" })
|
|
787
788
|
},
|
|
788
789
|
get_project: {
|
|
789
790
|
description: "Get detailed metadata for a Supabase project by project ref.",
|
|
790
791
|
effect: "read",
|
|
791
792
|
inputSchema: getProjectInput,
|
|
792
|
-
outputSchema:
|
|
793
|
+
outputSchema: z.toJSONSchema(getProjectOutput, { io: "output", unrepresentable: "any" })
|
|
793
794
|
},
|
|
794
795
|
list_available_regions: {
|
|
795
796
|
description: "List Supabase regions available for creating projects in an organization.",
|
|
796
797
|
effect: "read",
|
|
797
798
|
inputSchema: listAvailableRegionsInput,
|
|
798
|
-
outputSchema:
|
|
799
|
+
outputSchema: z.toJSONSchema(listAvailableRegionsOutput, { io: "output", unrepresentable: "any" })
|
|
799
800
|
},
|
|
800
801
|
get_project_health: {
|
|
801
802
|
description: "Check health for selected services in a Supabase project.",
|
|
802
803
|
effect: "read",
|
|
803
804
|
inputSchema: getProjectHealthInput,
|
|
804
|
-
outputSchema:
|
|
805
|
+
outputSchema: z.toJSONSchema(getProjectHealthOutput, { io: "output", unrepresentable: "any" })
|
|
805
806
|
},
|
|
806
807
|
list_project_api_keys: {
|
|
807
808
|
description: "List API keys for a Supabase project.",
|
|
808
809
|
effect: "read",
|
|
809
810
|
inputSchema: listProjectApiKeysInput,
|
|
810
|
-
outputSchema:
|
|
811
|
+
outputSchema: z.toJSONSchema(listProjectApiKeysOutput, { io: "output", unrepresentable: "any" })
|
|
811
812
|
},
|
|
812
813
|
get_project_api_key: {
|
|
813
814
|
description: "Get one API key record from a Supabase project.",
|
|
814
815
|
effect: "read",
|
|
815
816
|
inputSchema: getProjectApiKeyInput,
|
|
816
|
-
outputSchema:
|
|
817
|
+
outputSchema: z.toJSONSchema(getProjectApiKeyOutput, { io: "output", unrepresentable: "any" })
|
|
817
818
|
},
|
|
818
819
|
create_project_api_key: {
|
|
819
820
|
description: "Create a publishable or secret API key for a Supabase project.",
|
|
820
821
|
effect: "write",
|
|
821
822
|
inputSchema: createProjectApiKeyInput,
|
|
822
|
-
outputSchema:
|
|
823
|
+
outputSchema: z.toJSONSchema(createProjectApiKeyOutput, { io: "output", unrepresentable: "any" })
|
|
823
824
|
},
|
|
824
825
|
update_project_api_key: {
|
|
825
826
|
description: "Update the name, description, or JWT template for a Supabase project API key.",
|
|
826
827
|
effect: "write",
|
|
827
828
|
inputSchema: updateProjectApiKeyInput,
|
|
828
|
-
outputSchema:
|
|
829
|
+
outputSchema: z.toJSONSchema(updateProjectApiKeyOutput, { io: "output", unrepresentable: "any" })
|
|
829
830
|
},
|
|
830
831
|
delete_project_api_key: {
|
|
831
832
|
description: "Delete a Supabase project API key.",
|
|
832
833
|
effect: "destructive",
|
|
833
834
|
inputSchema: deleteProjectApiKeyInput,
|
|
834
|
-
outputSchema:
|
|
835
|
+
outputSchema: z.toJSONSchema(deleteProjectApiKeyOutput, { io: "output", unrepresentable: "any" })
|
|
835
836
|
},
|
|
836
837
|
list_project_secrets: {
|
|
837
838
|
description: "List secrets configured for a Supabase project.",
|
|
838
839
|
effect: "read",
|
|
839
840
|
inputSchema: listProjectSecretsInput,
|
|
840
|
-
outputSchema:
|
|
841
|
+
outputSchema: z.toJSONSchema(listProjectSecretsOutput, { io: "output", unrepresentable: "any" })
|
|
841
842
|
},
|
|
842
843
|
upsert_project_secrets: {
|
|
843
844
|
description: "Bulk create or update secrets for a Supabase project.",
|
|
844
845
|
effect: "write",
|
|
845
846
|
inputSchema: upsertProjectSecretsInput,
|
|
846
|
-
outputSchema:
|
|
847
|
+
outputSchema: z.toJSONSchema(upsertProjectSecretsOutput, { io: "output", unrepresentable: "any" })
|
|
847
848
|
},
|
|
848
849
|
delete_project_secrets: {
|
|
849
850
|
description: "Bulk delete secrets from a Supabase project.",
|
|
850
851
|
effect: "destructive",
|
|
851
852
|
inputSchema: deleteProjectSecretsInput,
|
|
852
|
-
outputSchema:
|
|
853
|
+
outputSchema: z.toJSONSchema(deleteProjectSecretsOutput, { io: "output", unrepresentable: "any" })
|
|
853
854
|
},
|
|
854
855
|
generate_typescript_types: {
|
|
855
856
|
description: "Generate TypeScript database types for a Supabase project.",
|
|
856
857
|
effect: "read",
|
|
857
858
|
inputSchema: generateTypescriptTypesInput,
|
|
858
|
-
outputSchema:
|
|
859
|
+
outputSchema: z.toJSONSchema(generateTypescriptTypesOutput, { io: "output", unrepresentable: "any" })
|
|
859
860
|
},
|
|
860
861
|
run_read_only_query: {
|
|
861
862
|
description: "Run a SQL query through Supabase as the read-only database user.",
|
|
862
863
|
effect: "write",
|
|
863
864
|
inputSchema: runReadOnlyQueryInput,
|
|
864
|
-
outputSchema:
|
|
865
|
+
outputSchema: z.toJSONSchema(runReadOnlyQueryOutput, { io: "output", unrepresentable: "any" })
|
|
865
866
|
},
|
|
866
867
|
list_storage_buckets: {
|
|
867
868
|
description: "List Storage buckets for a Supabase project.",
|
|
868
869
|
effect: "read",
|
|
869
870
|
inputSchema: listStorageBucketsInput,
|
|
870
|
-
outputSchema:
|
|
871
|
+
outputSchema: z.toJSONSchema(listStorageBucketsOutput, { io: "output", unrepresentable: "any" })
|
|
871
872
|
},
|
|
872
873
|
list_edge_functions: {
|
|
873
874
|
description: "List Edge Functions in a Supabase project.",
|
|
874
875
|
effect: "read",
|
|
875
876
|
inputSchema: listEdgeFunctionsInput,
|
|
876
|
-
outputSchema:
|
|
877
|
+
outputSchema: z.toJSONSchema(listEdgeFunctionsOutput, { io: "output", unrepresentable: "any" })
|
|
877
878
|
},
|
|
878
879
|
get_edge_function: {
|
|
879
880
|
description: "Get metadata for one Supabase Edge Function by slug.",
|
|
880
881
|
effect: "read",
|
|
881
882
|
inputSchema: getEdgeFunctionInput,
|
|
882
|
-
outputSchema:
|
|
883
|
+
outputSchema: z.toJSONSchema(getEdgeFunctionOutput, { io: "output", unrepresentable: "any" })
|
|
883
884
|
}
|
|
884
885
|
};
|
|
885
886
|
|