@tool-bridge/server 0.21.1 → 0.23.0
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-VMQVXLHK.js +790 -0
- package/dist/{alt_text_generator_ai-W7O34SNG.js → alt_text_generator_ai-FTWY4RU4.js} +12 -11
- package/dist/{amap-VOX4T2AW.js → amap-OK5VBHYC.js} +221 -220
- package/dist/anthropic-S67AZFZ3.js +203 -0
- package/dist/apify-ZE6MYQI3.js +248 -0
- package/dist/brave_search-TG2M2KOD.js +302 -0
- package/dist/chunk-2JNAI4OC.js +161 -0
- package/dist/{chunk-KMTT3I6D.js → chunk-4XJPN3DY.js} +19392 -26136
- package/dist/chunk-5ICRY3VU.js +8432 -0
- package/dist/chunk-7CTWGTDU.js +302 -0
- package/dist/chunk-BADVCN6K.js +378 -0
- package/dist/{chunk-XYBU3WZH.js → chunk-TDAWLMDE.js} +3 -3
- package/dist/chunk-U7PTOA3U.js +7320 -0
- package/dist/{chunk-E6JCVKW6.js → chunk-VWRUGUSU.js} +3 -3
- package/dist/{chunk-ATK45BXV.js → chunk-WJHG6OK7.js} +4 -2
- package/dist/circleci-3L3WJVSK.js +389 -0
- package/dist/clerk-EZPF2V7T.js +1019 -0
- package/dist/cohere-U27DPO64.js +185 -0
- package/dist/{confluence-B3EWPZVE.js → confluence-G2KL6ERH.js} +105 -104
- package/dist/{convertapi-EUWSQYPF.js → convertapi-L4CLJ2M3.js} +32 -31
- package/dist/{currencyapi-KVTIK3GL.js → currencyapi-YPYXG7YY.js} +71 -71
- package/dist/deepseek-6HT6WF3M.js +210 -0
- package/dist/docker_hub-LPE3PCVB.js +933 -0
- package/dist/dropbox-V56ABHTA.js +1305 -0
- package/dist/dub-6OKQ7MHT.js +680 -0
- package/dist/e2b-JS2U2QFU.js +278 -0
- package/dist/exa-DPWVYXSP.js +332 -0
- package/dist/{fal_ai-23E7JPNT.js → fal_ai-DK6Y27ZF.js} +81 -80
- package/dist/{feishu-7QRIDUV6.js → feishu-K7EGSRF3.js} +528 -572
- package/dist/{feishu_custom_bot-TJ4K7QNJ.js → feishu_custom_bot-2JUGFYNG.js} +57 -53
- package/dist/figma-FT5I7ITD.js +777 -0
- package/dist/firehydrant-EIKLKHX2.js +563 -0
- package/dist/{fixer-BWON27UO.js → fixer-U5QXIAKD.js} +34 -33
- package/dist/fly-T3JYFZ2M.js +469 -0
- package/dist/{front-QCGXYEDJ.js → front-D72MGVOR.js} +104 -104
- package/dist/geocodio-BOTD5TI5.js +213 -0
- package/dist/ghost-KYP7SZGB.js +338 -0
- package/dist/github-AGMZT3VY.js +5421 -0
- package/dist/gmail-BLJNJOBG.js +1887 -0
- package/dist/googlecalendar-GTHWNCF6.js +2524 -0
- package/dist/{googledocs-BUHL4J2H.js → googledocs-6EEDMEBQ.js} +341 -340
- package/dist/{grafana-GLU2DWF2.js → grafana-GMW6EKSQ.js} +221 -220
- package/dist/graphhopper-6OLGBDGB.js +325 -0
- package/dist/index.d.ts +1132 -332
- package/dist/index.js +31 -14
- package/dist/{ip2proxy-EZ64Y4ZH.js → ip2proxy-4QN42E6T.js} +28 -27
- package/dist/ipgeolocation_io-SK4XKDA2.js +315 -0
- package/dist/ipqualityscore-6ANBPXKT.js +279 -0
- package/dist/{jina_ai-EFBHTBXL.js → jina_ai-IHPSVRM5.js} +23 -23
- package/dist/{jira-HQSHAA5K.js → jira-46KKM4LC.js} +118 -117
- package/dist/langsmith-JZA345I5.js +593 -0
- package/dist/lemlist-43IV7DK6.js +289 -0
- package/dist/{linear-K7RYFYAD.js → linear-5LFH7XNL.js} +327 -326
- package/dist/logsnag-5RMYAHIL.js +150 -0
- package/dist/main.js +57 -280
- package/dist/{mattermost-S2BRCWLQ.js → mattermost-XFL6SHGG.js} +59 -58
- package/dist/mem0-NYO4DTP6.js +544 -0
- package/dist/memos-37MPQOLV.js +744 -0
- package/dist/{metabase-MMSEPCOF.js → metabase-KYBKZFMG.js} +90 -89
- package/dist/mistral_ai-6PL3K4PM.js +1196 -0
- package/dist/{mother_duck-H7PCQNZ2.js → mother_duck-2NH7W5M5.js} +94 -93
- package/dist/ngrok-UO6CDYCA.js +356 -0
- package/dist/{notes-PFMKRO33.js → notes-I3P32WP4.js} +11 -9
- package/dist/notion-BEAJFUOE.js +940 -0
- package/dist/open_exchange_rates-CMF62JB4.js +215 -0
- package/dist/openai-IHOMKVND.js +800 -0
- package/dist/opengraph_io-ZQ2FGLHX.js +362 -0
- package/dist/openrouter-HXLW3NR5.js +441 -0
- package/dist/outline-ELCP4NEU.js +599 -0
- package/dist/paddle-O77LALVN.js +454 -0
- package/dist/perplexity-JCU654QV.js +220 -0
- package/dist/pinecone-W5W4LRKL.js +571 -0
- package/dist/{pipedrive-Y2O7QGFF.js → pipedrive-ITMJLLPZ.js} +99 -98
- package/dist/polar-R33XU4L3.js +395 -0
- package/dist/posthog-JVNTOLTV.js +3464 -0
- package/dist/postmark-6SBG7HWV.js +427 -0
- package/dist/{prerender-MENYM2TY.js → prerender-GPNKTNFC.js} +31 -30
- package/dist/{pubmed-GOXUVVH5.js → pubmed-UP6ZEEIH.js} +239 -238
- package/dist/{railway-V2SID4WV.js → railway-KWEWXHTY.js} +118 -117
- package/dist/readwise-BLATSMC3.js +470 -0
- package/dist/render-QYRVIXII.js +461 -0
- package/dist/{replicate-756MXPYX.js → replicate-JYTWH4NF.js} +81 -80
- package/dist/{resend-ZKH3BTBI.js → resend-L5N75SZM.js} +20 -16
- package/dist/rootly-MHCPEQ26.js +336 -0
- package/dist/{scrapfly-NSRHFDIQ.js → scrapfly-PTPGYSJM.js} +62 -61
- package/dist/{scrapingbee-OQHLAVEY.js → scrapingbee-JN6UH5PY.js} +56 -56
- package/dist/{screenshot_fyi-DVWG3AXC.js → screenshot_fyi-4QRVSV55.js} +16 -16
- package/dist/semantic_scholar-LRSWA2GE.js +611 -0
- package/dist/{sentry-546MNDJG.js → sentry-2G6PF5W6.js} +208 -207
- package/dist/{shodan-C3OON3Z3.js → shodan-WKKPP5C6.js} +62 -61
- package/dist/shopify-64YDK5T2.js +610 -0
- package/dist/stripe-QAIGGOTF.js +585 -0
- package/dist/{supabase-U2SL4D63.js → supabase-WHTGR6ND.js} +245 -244
- package/dist/tavily-QIXCDDWO.js +326 -0
- package/dist/telegram-E6G7CWI6.js +1767 -0
- package/dist/{telnyx-CXQ4EZUX.js → telnyx-ZDVVS7PK.js} +57 -56
- package/dist/todoist-DMYF3G7J.js +664 -0
- package/dist/trello-HY2RYIRP.js +1080 -0
- package/dist/turso-HAQWMGRP.js +416 -0
- package/dist/{twilio-4PDBJKWX.js → twilio-MLXYPHJE.js} +70 -69
- package/dist/umami-DZHBLPVG.js +389 -0
- package/dist/unsplash-GS2OPXKE.js +351 -0
- package/dist/{upstash_redis-G4LQBYHA.js → upstash_redis-XMXWTNAJ.js} +51 -50
- package/dist/uptimerobot-TF5WRZ4G.js +483 -0
- package/dist/v2ex-2BVXAPDF.js +667 -0
- package/dist/vercel-YMJGQYJE.js +1076 -0
- package/dist/{wolfram_alpha_api-3G4PUJWB.js → wolfram_alpha_api-I56SXWFZ.js} +36 -35
- package/dist/wordpress-R7TDFZ2P.js +812 -0
- package/dist/workos-HDNHWVMS.js +664 -0
- package/dist/zhihu-LX6AGGDS.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-TDAWLMDE.js";
|
|
4
|
+
import "./chunk-VWRUGUSU.js";
|
|
5
5
|
import {
|
|
6
6
|
asJsonObject,
|
|
7
7
|
compactDefined,
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
createProviderPlugin,
|
|
12
12
|
requireApiKey,
|
|
13
13
|
upstreamError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WJHG6OK7.js";
|
|
15
15
|
import {
|
|
16
16
|
guardedFetch
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2JNAI4OC.js";
|
|
18
|
+
import "./chunk-BADVCN6K.js";
|
|
18
19
|
import {
|
|
19
|
-
TBError
|
|
20
|
-
|
|
21
|
-
} from "./chunk-UZM2RXZH.js";
|
|
20
|
+
TBError
|
|
21
|
+
} from "./chunk-5ICRY3VU.js";
|
|
22
22
|
import "./chunk-U67V476Y.js";
|
|
23
23
|
|
|
24
24
|
// ../plugins/src/fal_ai/api.ts
|
|
@@ -243,136 +243,137 @@ async function cancelQueueRequest(input, ctx) {
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
// ../plugins/src/fal_ai/schema.ts
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
246
|
+
import { z } from "zod/v4";
|
|
247
|
+
var getModelsInput = z.strictObject({
|
|
248
|
+
q: z.string().describe("The free-text search query for model discovery.").optional(),
|
|
249
|
+
limit: z.int().min(1).describe("The maximum number of models to return.").optional(),
|
|
250
|
+
cursor: z.string().describe("The pagination cursor from a previous response.").optional(),
|
|
251
|
+
expand: z.union([z.string().describe("A single string value."), z.array(z.string().describe("A string value in the list.")).describe("The list of strings.")]).describe("A single string or a list of strings.").optional(),
|
|
252
|
+
status: z.enum(["active", "deprecated"]).describe("Filter models by active or deprecated status.").optional(),
|
|
253
|
+
category: z.string().describe("Filter models by category name.").optional(),
|
|
254
|
+
endpointId: z.union([z.string().describe("A single string value."), z.array(z.string().describe("A string value in the list.")).describe("The list of strings.")]).describe("A single string or a list of strings.").optional()
|
|
254
255
|
}).describe("The input payload for this action.");
|
|
255
|
-
var getModelsOutput =
|
|
256
|
-
models:
|
|
257
|
-
hasMore:
|
|
258
|
-
nextCursor:
|
|
256
|
+
var getModelsOutput = z.strictObject({
|
|
257
|
+
models: z.array(z.record(z.string(), z.unknown().describe("A raw fal property value.")).describe("The raw fal object payload.")).describe("The list of raw fal objects."),
|
|
258
|
+
hasMore: z.boolean().describe("Whether additional result pages are available."),
|
|
259
|
+
nextCursor: z.string().describe("The pagination cursor for the next page of results.").nullable()
|
|
259
260
|
}).describe("The output payload for this action.");
|
|
260
|
-
var getPricingInput =
|
|
261
|
-
endpointId:
|
|
261
|
+
var getPricingInput = z.strictObject({
|
|
262
|
+
endpointId: z.union([z.string().describe("A single string value."), z.array(z.string().describe("A string value in the list.")).describe("The list of strings.")]).describe("A single string or a list of strings.")
|
|
262
263
|
}).describe("The input payload for this action.");
|
|
263
|
-
var getPricingOutput =
|
|
264
|
-
prices:
|
|
265
|
-
hasMore:
|
|
266
|
-
nextCursor:
|
|
264
|
+
var getPricingOutput = z.strictObject({
|
|
265
|
+
prices: z.array(z.record(z.string(), z.unknown().describe("A raw fal property value.")).describe("The raw fal object payload.")).describe("The list of raw fal objects."),
|
|
266
|
+
hasMore: z.boolean().describe("Whether additional result pages are available."),
|
|
267
|
+
nextCursor: z.string().describe("The pagination cursor for the next page of pricing results.").nullable()
|
|
267
268
|
}).describe("The output payload for this action.");
|
|
268
|
-
var estimatePricingInput =
|
|
269
|
-
estimateType:
|
|
270
|
-
endpoints:
|
|
269
|
+
var estimatePricingInput = z.strictObject({
|
|
270
|
+
estimateType: z.enum(["historical_api_price", "unit_price"]).describe("The pricing estimation method to use."),
|
|
271
|
+
endpoints: z.record(z.string(), z.unknown().describe("A raw fal property value.")).describe("The raw fal object payload.")
|
|
271
272
|
}).describe("The input payload for this action.");
|
|
272
|
-
var estimatePricingOutput =
|
|
273
|
-
estimateType:
|
|
274
|
-
totalCost:
|
|
275
|
-
currency:
|
|
273
|
+
var estimatePricingOutput = z.strictObject({
|
|
274
|
+
estimateType: z.string().describe("The estimation method that was applied."),
|
|
275
|
+
totalCost: z.number().describe("The aggregate estimated cost across all endpoints."),
|
|
276
|
+
currency: z.string().describe("The ISO 4217 currency code for the estimate.")
|
|
276
277
|
}).describe("The output payload for this action.");
|
|
277
|
-
var getJwksInput =
|
|
278
|
-
var getJwksOutput =
|
|
279
|
-
keys:
|
|
278
|
+
var getJwksInput = z.strictObject({}).describe("The input payload for this action.");
|
|
279
|
+
var getJwksOutput = z.strictObject({
|
|
280
|
+
keys: z.array(z.record(z.string(), z.unknown().describe("A raw fal property value.")).describe("The raw fal object payload.")).describe("The list of raw fal objects.")
|
|
280
281
|
}).describe("The output payload for this action.");
|
|
281
|
-
var queueGetStatusInput =
|
|
282
|
-
modelId:
|
|
283
|
-
requestId:
|
|
284
|
-
logs:
|
|
282
|
+
var queueGetStatusInput = z.strictObject({
|
|
283
|
+
modelId: z.string().describe("The model identifier in namespace/name format."),
|
|
284
|
+
requestId: z.string().describe("The queued request identifier."),
|
|
285
|
+
logs: z.int().min(0).max(1).describe("Set to 1 to include logs in the response.").optional()
|
|
285
286
|
}).describe("The input payload for this action.");
|
|
286
|
-
var queueGetStatusOutput =
|
|
287
|
-
status:
|
|
288
|
-
responseUrl:
|
|
289
|
-
queuePosition:
|
|
290
|
-
logs:
|
|
291
|
-
message:
|
|
292
|
-
level:
|
|
293
|
-
source:
|
|
294
|
-
timestamp:
|
|
287
|
+
var queueGetStatusOutput = z.strictObject({
|
|
288
|
+
status: z.string().describe("The current queue status."),
|
|
289
|
+
responseUrl: z.string().describe("The URL for fetching the final queued response.").nullable().optional(),
|
|
290
|
+
queuePosition: z.int().describe("The current queue position when the request is still queued.").nullable().optional(),
|
|
291
|
+
logs: z.array(z.strictObject({
|
|
292
|
+
message: z.string().describe("The log message text.").optional(),
|
|
293
|
+
level: z.string().describe("The log severity level.").optional(),
|
|
294
|
+
source: z.string().describe("The log source identifier.").optional(),
|
|
295
|
+
timestamp: z.string().describe("The log timestamp in ISO 8601 format.").optional()
|
|
295
296
|
}).describe("A queue log entry.")).describe("The queue processing logs.").optional()
|
|
296
297
|
}).describe("The output payload for this action.");
|
|
297
|
-
var queueGetStatusStreamInput =
|
|
298
|
-
modelId:
|
|
299
|
-
requestId:
|
|
300
|
-
logs:
|
|
298
|
+
var queueGetStatusStreamInput = z.strictObject({
|
|
299
|
+
modelId: z.string().describe("The model identifier in namespace/name format."),
|
|
300
|
+
requestId: z.string().describe("The queued request identifier."),
|
|
301
|
+
logs: z.int().min(0).max(1).describe("Set to 1 to include logs inside streamed updates.").optional()
|
|
301
302
|
}).describe("The input payload for this action.");
|
|
302
|
-
var queueGetStatusStreamOutput =
|
|
303
|
-
updates:
|
|
304
|
-
finalStatus:
|
|
305
|
-
responseUrl:
|
|
303
|
+
var queueGetStatusStreamOutput = z.strictObject({
|
|
304
|
+
updates: z.array(z.record(z.string(), z.unknown().describe("A raw fal property value.")).describe("The raw fal object payload.")).describe("The list of raw fal objects."),
|
|
305
|
+
finalStatus: z.string().describe("The last status value seen in the stream.").nullable().optional(),
|
|
306
|
+
responseUrl: z.string().describe("The final response URL seen in the stream, if present.").nullable().optional()
|
|
306
307
|
}).describe("The output payload for this action.");
|
|
307
|
-
var getQueueRequestResultInput =
|
|
308
|
-
modelId:
|
|
309
|
-
requestId:
|
|
308
|
+
var getQueueRequestResultInput = z.strictObject({
|
|
309
|
+
modelId: z.string().describe("The model identifier in namespace/name format."),
|
|
310
|
+
requestId: z.string().describe("The queued request identifier.")
|
|
310
311
|
}).describe("The input payload for this action.");
|
|
311
|
-
var getQueueRequestResultOutput =
|
|
312
|
-
status:
|
|
313
|
-
logs:
|
|
314
|
-
message:
|
|
315
|
-
level:
|
|
316
|
-
source:
|
|
317
|
-
timestamp:
|
|
312
|
+
var getQueueRequestResultOutput = z.strictObject({
|
|
313
|
+
status: z.string().describe("The final request status returned by the queue API."),
|
|
314
|
+
logs: z.array(z.strictObject({
|
|
315
|
+
message: z.string().describe("The log message text.").optional(),
|
|
316
|
+
level: z.string().describe("The log severity level.").optional(),
|
|
317
|
+
source: z.string().describe("The log source identifier.").optional(),
|
|
318
|
+
timestamp: z.string().describe("The log timestamp in ISO 8601 format.").optional()
|
|
318
319
|
}).describe("A queue log entry.")).describe("The logs captured for the queued request."),
|
|
319
|
-
response:
|
|
320
|
+
response: z.record(z.string(), z.unknown().describe("A raw fal property value.")).describe("The raw fal object payload.")
|
|
320
321
|
}).describe("The output payload for this action.");
|
|
321
|
-
var cancelQueueRequestInput =
|
|
322
|
-
modelId:
|
|
323
|
-
requestId:
|
|
322
|
+
var cancelQueueRequestInput = z.strictObject({
|
|
323
|
+
modelId: z.string().describe("The model identifier in namespace/name format."),
|
|
324
|
+
requestId: z.string().describe("The queued request identifier.")
|
|
324
325
|
}).describe("The input payload for this action.");
|
|
325
|
-
var cancelQueueRequestOutput =
|
|
326
|
-
status:
|
|
326
|
+
var cancelQueueRequestOutput = z.strictObject({
|
|
327
|
+
status: z.string().describe("The cancellation result status.")
|
|
327
328
|
}).describe("The output payload for this action.");
|
|
328
329
|
var falAiActions = {
|
|
329
330
|
get_models: {
|
|
330
331
|
description: "Discover fal model endpoints with optional text search, status, category, pagination, endpoint filtering, and response expansion.",
|
|
331
332
|
effect: "read",
|
|
332
333
|
inputSchema: getModelsInput,
|
|
333
|
-
outputSchema:
|
|
334
|
+
outputSchema: z.toJSONSchema(getModelsOutput, { io: "output", unrepresentable: "any" })
|
|
334
335
|
},
|
|
335
336
|
get_pricing: {
|
|
336
337
|
description: "Retrieve unit pricing information for one or more fal model endpoints, including billing unit and currency.",
|
|
337
338
|
effect: "read",
|
|
338
339
|
inputSchema: getPricingInput,
|
|
339
|
-
outputSchema:
|
|
340
|
+
outputSchema: z.toJSONSchema(getPricingOutput, { io: "output", unrepresentable: "any" })
|
|
340
341
|
},
|
|
341
342
|
estimate_pricing: {
|
|
342
343
|
description: "Estimate total fal model cost using either historical API call quantities or expected billing-unit quantities.",
|
|
343
344
|
effect: "write",
|
|
344
345
|
inputSchema: estimatePricingInput,
|
|
345
|
-
outputSchema:
|
|
346
|
+
outputSchema: z.toJSONSchema(estimatePricingOutput, { io: "output", unrepresentable: "any" })
|
|
346
347
|
},
|
|
347
348
|
get_jwks: {
|
|
348
349
|
description: "Retrieve the fal JSON Web Key Set used for webhook signature verification.",
|
|
349
350
|
effect: "read",
|
|
350
351
|
inputSchema: getJwksInput,
|
|
351
|
-
outputSchema:
|
|
352
|
+
outputSchema: z.toJSONSchema(getJwksOutput, { io: "output", unrepresentable: "any" })
|
|
352
353
|
},
|
|
353
354
|
queue_get_status: {
|
|
354
355
|
description: "Check the status of a queued fal request, with optional log retrieval for in-progress or completed work.",
|
|
355
356
|
effect: "write",
|
|
356
357
|
inputSchema: queueGetStatusInput,
|
|
357
|
-
outputSchema:
|
|
358
|
+
outputSchema: z.toJSONSchema(queueGetStatusOutput, { io: "output", unrepresentable: "any" })
|
|
358
359
|
},
|
|
359
360
|
queue_get_status_stream: {
|
|
360
361
|
description: "Consume fal queue status updates as a streamed sequence of SSE events until the server closes the stream.",
|
|
361
362
|
effect: "write",
|
|
362
363
|
inputSchema: queueGetStatusStreamInput,
|
|
363
|
-
outputSchema:
|
|
364
|
+
outputSchema: z.toJSONSchema(queueGetStatusStreamOutput, { io: "output", unrepresentable: "any" })
|
|
364
365
|
},
|
|
365
366
|
get_queue_request_result: {
|
|
366
367
|
description: "Retrieve the stored final result payload for a completed fal queued request.",
|
|
367
368
|
effect: "read",
|
|
368
369
|
inputSchema: getQueueRequestResultInput,
|
|
369
|
-
outputSchema:
|
|
370
|
+
outputSchema: z.toJSONSchema(getQueueRequestResultOutput, { io: "output", unrepresentable: "any" })
|
|
370
371
|
},
|
|
371
372
|
cancel_queue_request: {
|
|
372
373
|
description: "Request cancellation of a queued or in-progress fal request by model ID and request ID.",
|
|
373
374
|
effect: "destructive",
|
|
374
375
|
inputSchema: cancelQueueRequestInput,
|
|
375
|
-
outputSchema:
|
|
376
|
+
outputSchema: z.toJSONSchema(cancelQueueRequestOutput, { io: "output", unrepresentable: "any" })
|
|
376
377
|
}
|
|
377
378
|
};
|
|
378
379
|
|