@oomol-lab/open-connector 1.6.3 → 1.6.5

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 (108) hide show
  1. package/assets/open-connector/catalog/apps/aisa.json +568 -0
  2. package/assets/open-connector/catalog/apps/bilibili.json +2586 -0
  3. package/assets/open-connector/catalog/apps/bitwarden.json +1423 -0
  4. package/assets/open-connector/catalog/apps/cronfree.json +303 -0
  5. package/assets/open-connector/catalog/apps/cufinder.json +368 -0
  6. package/assets/open-connector/catalog/apps/feishu_app_bot.json +2 -2
  7. package/assets/open-connector/catalog/apps/gmail.json +73 -0
  8. package/assets/open-connector/catalog/apps/investoday_mcp.json +22228 -197
  9. package/assets/open-connector/catalog/apps/ixspy.json +2274 -0
  10. package/assets/open-connector/catalog/apps/jin10.json +1 -1
  11. package/assets/open-connector/catalog/apps/osv.json +663 -0
  12. package/assets/open-connector/catalog/apps/pdf_vector.json +329 -0
  13. package/assets/open-connector/catalog/apps/pulsetic.json +406 -0
  14. package/assets/open-connector/catalog/apps/shopee.json +1785 -0
  15. package/assets/open-connector/catalog/apps/slack.json +81 -0
  16. package/assets/open-connector/catalog/apps/slackbot.json +81 -0
  17. package/assets/open-connector/catalog/apps/speak_ai.json +360 -0
  18. package/assets/open-connector/catalog/apps/tongdaxin.json +11 -440
  19. package/assets/open-connector/catalog/apps/zyhub.json +1585 -0
  20. package/assets/open-connector/catalog/apps-index.json +1 -1
  21. package/package.json +1 -1
  22. package/src/core/json-schema.d.ts +5 -1
  23. package/src/core/json-schema.js +14 -2
  24. package/src/core/types.d.ts +9 -0
  25. package/src/oauth/oauth-credential-refresh-service.js +3 -1
  26. package/src/oauth/oauth-flow-service.js +17 -2
  27. package/src/oauth/oauth-token.d.ts +13 -0
  28. package/src/providers/action-contracts.generated.d.ts +16 -4
  29. package/src/providers/aisa/executors.d.ts +4 -0
  30. package/src/providers/aisa/executors.js +176 -0
  31. package/src/providers/bilibili/articles.d.ts +3 -0
  32. package/src/providers/bilibili/articles.js +369 -0
  33. package/src/providers/bilibili/executors.d.ts +8 -0
  34. package/src/providers/bilibili/executors.js +262 -0
  35. package/src/providers/bilibili/runtime.d.ts +95 -0
  36. package/src/providers/bilibili/runtime.js +238 -0
  37. package/src/providers/bilibili/upload.d.ts +14 -0
  38. package/src/providers/bilibili/upload.js +105 -0
  39. package/src/providers/bitwarden/executors.d.ts +3 -0
  40. package/src/providers/bitwarden/executors.js +146 -0
  41. package/src/providers/cronfree/executors.d.ts +4 -0
  42. package/src/providers/cronfree/executors.js +89 -0
  43. package/src/providers/cufinder/executors.d.ts +4 -0
  44. package/src/providers/cufinder/executors.js +105 -0
  45. package/src/providers/dropbox/executors.js +21 -3
  46. package/src/providers/elevenreader/runtime.js +6 -5
  47. package/src/providers/feishu_app_bot/scopes.js +1 -1
  48. package/src/providers/gmail/attachment-stream.d.ts +2 -0
  49. package/src/providers/gmail/attachment-stream.js +162 -0
  50. package/src/providers/gmail/executors.d.ts +3 -1
  51. package/src/providers/gmail/executors.js +53 -25
  52. package/src/providers/investoday_mcp/official-actions.js +19 -372
  53. package/src/providers/investoday_mcp/official-tool-types.d.ts +10 -0
  54. package/src/providers/investoday_mcp/official-tool-types.js +4 -0
  55. package/src/providers/investoday_mcp/official-tools/charts.d.ts +2 -0
  56. package/src/providers/investoday_mcp/official-tools/charts.js +32 -0
  57. package/src/providers/investoday_mcp/official-tools/fixed-income.d.ts +2 -0
  58. package/src/providers/investoday_mcp/official-tools/fixed-income.js +326 -0
  59. package/src/providers/investoday_mcp/official-tools/funds.d.ts +2 -0
  60. package/src/providers/investoday_mcp/official-tools/funds.js +1085 -0
  61. package/src/providers/investoday_mcp/official-tools/hong-kong.d.ts +2 -0
  62. package/src/providers/investoday_mcp/official-tools/hong-kong.js +275 -0
  63. package/src/providers/investoday_mcp/official-tools/indices-industries.d.ts +2 -0
  64. package/src/providers/investoday_mcp/official-tools/indices-industries.js +642 -0
  65. package/src/providers/investoday_mcp/official-tools/macro-calendar.d.ts +2 -0
  66. package/src/providers/investoday_mcp/official-tools/macro-calendar.js +398 -0
  67. package/src/providers/investoday_mcp/official-tools/other.d.ts +2 -0
  68. package/src/providers/investoday_mcp/official-tools/other.js +131 -0
  69. package/src/providers/investoday_mcp/official-tools/research-news.d.ts +2 -0
  70. package/src/providers/investoday_mcp/official-tools/research-news.js +302 -0
  71. package/src/providers/investoday_mcp/official-tools/stocks.d.ts +2 -0
  72. package/src/providers/investoday_mcp/official-tools/stocks.js +2829 -0
  73. package/src/providers/ixspy/executors.d.ts +3 -0
  74. package/src/providers/ixspy/executors.js +220 -0
  75. package/src/providers/mcp-client.d.ts +1 -0
  76. package/src/providers/mcp-client.js +41 -27
  77. package/src/providers/osv/executors.d.ts +2 -0
  78. package/src/providers/osv/executors.js +11 -0
  79. package/src/providers/osv/runtime.d.ts +9 -0
  80. package/src/providers/osv/runtime.js +66 -0
  81. package/src/providers/pdf_vector/executors.d.ts +4 -0
  82. package/src/providers/pdf_vector/executors.js +108 -0
  83. package/src/providers/provider-runtime.d.ts +3 -0
  84. package/src/providers/provider-runtime.js +4 -1
  85. package/src/providers/pulsetic/executors.d.ts +4 -0
  86. package/src/providers/pulsetic/executors.js +126 -0
  87. package/src/providers/registry.generated.js +12 -0
  88. package/src/providers/sellersprite_mcp/executors.js +2 -1
  89. package/src/providers/shopee/actions.d.ts +2 -0
  90. package/src/providers/shopee/actions.js +474 -0
  91. package/src/providers/shopee/executors.d.ts +3 -0
  92. package/src/providers/shopee/executors.js +85 -0
  93. package/src/providers/shopee/runtime.d.ts +79 -0
  94. package/src/providers/shopee/runtime.js +693 -0
  95. package/src/providers/slack/actions.js +17 -0
  96. package/src/providers/slack/runtime.js +62 -4
  97. package/src/providers/speak_ai/executors.d.ts +3 -0
  98. package/src/providers/speak_ai/executors.js +187 -0
  99. package/src/providers/tongdaxin/executors.js +5 -4
  100. package/src/providers/tongdaxin/named-action-output.js +3 -9
  101. package/src/providers/tongdaxin/named-action-routing.js +1 -1
  102. package/src/providers/tongdaxin/named-actions.js +1 -6
  103. package/src/providers/tushare/runtime.js +22 -9
  104. package/src/providers/twenty_crm/runtime.js +4 -2
  105. package/src/providers/zyhub/executors.d.ts +3 -0
  106. package/src/providers/zyhub/executors.js +240 -0
  107. package/src/server/files/transit-files.d.ts +3 -2
  108. package/src/server/files/transit-files.js +31 -35
@@ -0,0 +1,1585 @@
1
+ {
2
+ "service": "zyhub",
3
+ "displayName": "Sina Finance ZYHub",
4
+ "description": "Query Sina Finance ZYHub market, company, and research data.",
5
+ "categories": [
6
+ "Finance",
7
+ "Data"
8
+ ],
9
+ "authTypes": [
10
+ "api_key"
11
+ ],
12
+ "auth": [
13
+ {
14
+ "type": "api_key",
15
+ "label": "API Key",
16
+ "placeholder": "ZYHUB_API_KEY",
17
+ "description": "ZYHub API key sent in the X-Auth-Token header. Obtain it from the official ZYHub service.",
18
+ "extraFields": []
19
+ }
20
+ ],
21
+ "homepageUrl": "https://zyhub.finance.sina.cn/",
22
+ "actions": [
23
+ {
24
+ "id": "zyhub.get_batch_forex_quotes",
25
+ "service": "zyhub",
26
+ "name": "get_batch_forex_quotes",
27
+ "description": "Get current quotes for multiple target currencies against one base currency.",
28
+ "operationType": "read",
29
+ "requiredScopes": [],
30
+ "providerPermissions": [],
31
+ "inputSchema": {
32
+ "type": "object",
33
+ "properties": {
34
+ "baseCurrency": {
35
+ "type": "string",
36
+ "minLength": 1,
37
+ "description": "The uppercase ISO 4217 base-currency code, such as USD.",
38
+ "pattern": "^[A-Z]{3}$"
39
+ },
40
+ "targetCurrencies": {
41
+ "type": "array",
42
+ "items": {
43
+ "type": "string",
44
+ "description": "An uppercase ISO 4217 target-currency code.",
45
+ "pattern": "^[A-Z]{3}$"
46
+ },
47
+ "description": "Uppercase ISO 4217 target-currency codes, such as CNY and JPY.",
48
+ "minItems": 1,
49
+ "uniqueItems": true
50
+ }
51
+ },
52
+ "additionalProperties": false,
53
+ "description": "The input payload for retrieving multiple currency-pair quotes."
54
+ },
55
+ "outputSchema": {
56
+ "type": "object",
57
+ "properties": {
58
+ "response": {
59
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
60
+ }
61
+ },
62
+ "additionalProperties": false,
63
+ "description": "The response returned by Sina Finance ZYHub."
64
+ }
65
+ },
66
+ {
67
+ "id": "zyhub.get_block_trades",
68
+ "service": "zyhub",
69
+ "name": "get_block_trades",
70
+ "description": "Get block trades for an A-share company.",
71
+ "operationType": "read",
72
+ "requiredScopes": [],
73
+ "providerPermissions": [],
74
+ "inputSchema": {
75
+ "type": "object",
76
+ "properties": {
77
+ "symbol": {
78
+ "type": "string",
79
+ "minLength": 1,
80
+ "description": "The A-share symbol with an sh or sz prefix, such as sh600519.",
81
+ "pattern": "^(sh|sz)[0-9]{6}$"
82
+ },
83
+ "page": {
84
+ "type": "integer",
85
+ "minimum": 1,
86
+ "description": "The one-based result page number."
87
+ },
88
+ "pageSize": {
89
+ "type": "integer",
90
+ "minimum": 1,
91
+ "description": "The number of results to return."
92
+ }
93
+ },
94
+ "additionalProperties": false,
95
+ "required": [
96
+ "symbol"
97
+ ],
98
+ "description": "The input payload for retrieving block trades."
99
+ },
100
+ "outputSchema": {
101
+ "type": "object",
102
+ "properties": {
103
+ "response": {
104
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
105
+ }
106
+ },
107
+ "additionalProperties": false,
108
+ "description": "The response returned by Sina Finance ZYHub."
109
+ }
110
+ },
111
+ {
112
+ "id": "zyhub.get_company_profile",
113
+ "service": "zyhub",
114
+ "name": "get_company_profile",
115
+ "description": "Get Sina Finance profile and reference data for an A-share company.",
116
+ "operationType": "read",
117
+ "requiredScopes": [],
118
+ "providerPermissions": [],
119
+ "inputSchema": {
120
+ "type": "object",
121
+ "properties": {
122
+ "symbol": {
123
+ "type": "string",
124
+ "minLength": 1,
125
+ "description": "The prefixed A-share symbol, such as sh688111."
126
+ }
127
+ },
128
+ "additionalProperties": false,
129
+ "description": "The input payload for retrieving an A-share company profile."
130
+ },
131
+ "outputSchema": {
132
+ "type": "object",
133
+ "properties": {
134
+ "response": {
135
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
136
+ }
137
+ },
138
+ "additionalProperties": false,
139
+ "description": "The response returned by Sina Finance ZYHub."
140
+ }
141
+ },
142
+ {
143
+ "id": "zyhub.get_daily_kline",
144
+ "service": "zyhub",
145
+ "name": "get_daily_kline",
146
+ "description": "Get daily Sina Finance candlesticks for a stock or global index.",
147
+ "operationType": "read",
148
+ "requiredScopes": [],
149
+ "providerPermissions": [],
150
+ "inputSchema": {
151
+ "type": "object",
152
+ "properties": {
153
+ "market": {
154
+ "type": "string",
155
+ "enum": [
156
+ "cn",
157
+ "hk",
158
+ "us",
159
+ "gi"
160
+ ],
161
+ "description": "The market containing the requested instrument."
162
+ },
163
+ "symbol": {
164
+ "type": "string",
165
+ "minLength": 1,
166
+ "description": "The market-specific instrument symbol, such as sh688001 or AAPL."
167
+ },
168
+ "adjustment": {
169
+ "type": "string",
170
+ "enum": [
171
+ "qfq",
172
+ "hfq"
173
+ ],
174
+ "description": "The price adjustment mode."
175
+ },
176
+ "comparison": {
177
+ "type": "string",
178
+ "enum": [
179
+ "le",
180
+ "ge"
181
+ ],
182
+ "description": "Whether results are on or before, or on or after, the target date."
183
+ },
184
+ "date": {
185
+ "type": "string",
186
+ "description": "The target trading date in YYYY-MM-DD format.",
187
+ "format": "date"
188
+ },
189
+ "limit": {
190
+ "type": "integer",
191
+ "minimum": 1,
192
+ "description": "The number of daily candlesticks to return."
193
+ }
194
+ },
195
+ "additionalProperties": false,
196
+ "required": [
197
+ "market",
198
+ "symbol"
199
+ ],
200
+ "description": "The input payload for retrieving daily candlesticks."
201
+ },
202
+ "outputSchema": {
203
+ "type": "object",
204
+ "properties": {
205
+ "response": {
206
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
207
+ }
208
+ },
209
+ "additionalProperties": false,
210
+ "description": "The response returned by Sina Finance ZYHub."
211
+ }
212
+ },
213
+ {
214
+ "id": "zyhub.get_financial_report",
215
+ "service": "zyhub",
216
+ "name": "get_financial_report",
217
+ "description": "Get one A-share financial statement or indicator report for a reporting date.",
218
+ "operationType": "read",
219
+ "requiredScopes": [],
220
+ "providerPermissions": [],
221
+ "inputSchema": {
222
+ "type": "object",
223
+ "properties": {
224
+ "symbol": {
225
+ "type": "string",
226
+ "minLength": 1,
227
+ "description": "The A-share symbol with an sh or sz prefix, such as sh600519.",
228
+ "pattern": "^(sh|sz)[0-9]{6}$"
229
+ },
230
+ "reportType": {
231
+ "type": "string",
232
+ "enum": [
233
+ "income_statement",
234
+ "balance_sheet",
235
+ "cash_flow",
236
+ "key_indicators",
237
+ "special_indicators"
238
+ ],
239
+ "description": "The financial-report dataset to retrieve."
240
+ },
241
+ "reportDate": {
242
+ "type": "string",
243
+ "description": "The reporting date in YYYYMMDD format.",
244
+ "pattern": "^[0-9]{8}$"
245
+ }
246
+ },
247
+ "additionalProperties": false,
248
+ "description": "The input payload for retrieving a financial report."
249
+ },
250
+ "outputSchema": {
251
+ "type": "object",
252
+ "properties": {
253
+ "response": {
254
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
255
+ }
256
+ },
257
+ "additionalProperties": false,
258
+ "description": "The response returned by Sina Finance ZYHub."
259
+ }
260
+ },
261
+ {
262
+ "id": "zyhub.get_forex_quote",
263
+ "service": "zyhub",
264
+ "name": "get_forex_quote",
265
+ "description": "Get the latest Sina Finance quote for a currency pair.",
266
+ "operationType": "read",
267
+ "requiredScopes": [],
268
+ "providerPermissions": [],
269
+ "inputSchema": {
270
+ "type": "object",
271
+ "properties": {
272
+ "symbol": {
273
+ "type": "string",
274
+ "minLength": 1,
275
+ "description": "The uppercase currency-pair code, such as USDCNY.",
276
+ "pattern": "^[A-Z]+$"
277
+ }
278
+ },
279
+ "additionalProperties": false,
280
+ "description": "The input payload for retrieving a currency-pair quote."
281
+ },
282
+ "outputSchema": {
283
+ "type": "object",
284
+ "properties": {
285
+ "response": {
286
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
287
+ }
288
+ },
289
+ "additionalProperties": false,
290
+ "description": "The response returned by Sina Finance ZYHub."
291
+ }
292
+ },
293
+ {
294
+ "id": "zyhub.get_fund_asset_allocation",
295
+ "service": "zyhub",
296
+ "name": "get_fund_asset_allocation",
297
+ "description": "Get a fund's asset allocation.",
298
+ "operationType": "read",
299
+ "requiredScopes": [],
300
+ "providerPermissions": [],
301
+ "inputSchema": {
302
+ "type": "object",
303
+ "properties": {
304
+ "symbol": {
305
+ "type": "string",
306
+ "minLength": 1,
307
+ "description": "The six-digit fund code, such as 016128.",
308
+ "pattern": "^[0-9]{6}$"
309
+ }
310
+ },
311
+ "additionalProperties": false,
312
+ "description": "The input payload for retrieving fund data."
313
+ },
314
+ "outputSchema": {
315
+ "type": "object",
316
+ "properties": {
317
+ "response": {
318
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
319
+ }
320
+ },
321
+ "additionalProperties": false,
322
+ "description": "The response returned by Sina Finance ZYHub."
323
+ }
324
+ },
325
+ {
326
+ "id": "zyhub.get_fund_industry_allocation",
327
+ "service": "zyhub",
328
+ "name": "get_fund_industry_allocation",
329
+ "description": "Get a fund's industry allocation and changes from the prior reporting period.",
330
+ "operationType": "read",
331
+ "requiredScopes": [],
332
+ "providerPermissions": [],
333
+ "inputSchema": {
334
+ "type": "object",
335
+ "properties": {
336
+ "symbol": {
337
+ "type": "string",
338
+ "minLength": 1,
339
+ "description": "The six-digit fund code, such as 016128.",
340
+ "pattern": "^[0-9]{6}$"
341
+ }
342
+ },
343
+ "additionalProperties": false,
344
+ "description": "The input payload for retrieving fund data."
345
+ },
346
+ "outputSchema": {
347
+ "type": "object",
348
+ "properties": {
349
+ "response": {
350
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
351
+ }
352
+ },
353
+ "additionalProperties": false,
354
+ "description": "The response returned by Sina Finance ZYHub."
355
+ }
356
+ },
357
+ {
358
+ "id": "zyhub.get_fund_manager",
359
+ "service": "zyhub",
360
+ "name": "get_fund_manager",
361
+ "description": "Get the background and historical average return of a fund manager.",
362
+ "operationType": "read",
363
+ "requiredScopes": [],
364
+ "providerPermissions": [],
365
+ "inputSchema": {
366
+ "type": "object",
367
+ "properties": {
368
+ "managerCode": {
369
+ "type": "string",
370
+ "minLength": 1,
371
+ "description": "The manager code returned by get_fund_profile."
372
+ }
373
+ },
374
+ "additionalProperties": false,
375
+ "description": "The input payload for retrieving a fund-manager profile."
376
+ },
377
+ "outputSchema": {
378
+ "type": "object",
379
+ "properties": {
380
+ "response": {
381
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
382
+ }
383
+ },
384
+ "additionalProperties": false,
385
+ "description": "The response returned by Sina Finance ZYHub."
386
+ }
387
+ },
388
+ {
389
+ "id": "zyhub.get_fund_metrics",
390
+ "service": "zyhub",
391
+ "name": "get_fund_metrics",
392
+ "description": "Get core performance and risk metrics for a fund.",
393
+ "operationType": "read",
394
+ "requiredScopes": [],
395
+ "providerPermissions": [],
396
+ "inputSchema": {
397
+ "type": "object",
398
+ "properties": {
399
+ "symbol": {
400
+ "type": "string",
401
+ "minLength": 1,
402
+ "description": "The six-digit fund code, such as 016128.",
403
+ "pattern": "^[0-9]{6}$"
404
+ }
405
+ },
406
+ "additionalProperties": false,
407
+ "description": "The input payload for retrieving fund data."
408
+ },
409
+ "outputSchema": {
410
+ "type": "object",
411
+ "properties": {
412
+ "response": {
413
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
414
+ }
415
+ },
416
+ "additionalProperties": false,
417
+ "description": "The response returned by Sina Finance ZYHub."
418
+ }
419
+ },
420
+ {
421
+ "id": "zyhub.get_fund_net_values",
422
+ "service": "zyhub",
423
+ "name": "get_fund_net_values",
424
+ "description": "Get historical unit and cumulative net values for a fund.",
425
+ "operationType": "read",
426
+ "requiredScopes": [],
427
+ "providerPermissions": [],
428
+ "inputSchema": {
429
+ "type": "object",
430
+ "properties": {
431
+ "symbol": {
432
+ "type": "string",
433
+ "minLength": 1,
434
+ "description": "The six-digit fund code, such as 016128.",
435
+ "pattern": "^[0-9]{6}$"
436
+ }
437
+ },
438
+ "additionalProperties": false,
439
+ "description": "The input payload for retrieving fund data."
440
+ },
441
+ "outputSchema": {
442
+ "type": "object",
443
+ "properties": {
444
+ "response": {
445
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
446
+ }
447
+ },
448
+ "additionalProperties": false,
449
+ "description": "The response returned by Sina Finance ZYHub."
450
+ }
451
+ },
452
+ {
453
+ "id": "zyhub.get_fund_profile",
454
+ "service": "zyhub",
455
+ "name": "get_fund_profile",
456
+ "description": "Get a fund's profile, classification, manager, scale, and investment mandate.",
457
+ "operationType": "read",
458
+ "requiredScopes": [],
459
+ "providerPermissions": [],
460
+ "inputSchema": {
461
+ "type": "object",
462
+ "properties": {
463
+ "symbol": {
464
+ "type": "string",
465
+ "minLength": 1,
466
+ "description": "The six-digit fund code, such as 016128.",
467
+ "pattern": "^[0-9]{6}$"
468
+ }
469
+ },
470
+ "additionalProperties": false,
471
+ "description": "The input payload for retrieving fund data."
472
+ },
473
+ "outputSchema": {
474
+ "type": "object",
475
+ "properties": {
476
+ "response": {
477
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
478
+ }
479
+ },
480
+ "additionalProperties": false,
481
+ "description": "The response returned by Sina Finance ZYHub."
482
+ }
483
+ },
484
+ {
485
+ "id": "zyhub.get_fund_returns",
486
+ "service": "zyhub",
487
+ "name": "get_fund_returns",
488
+ "description": "Get cumulative returns and peer rankings for a fund.",
489
+ "operationType": "read",
490
+ "requiredScopes": [],
491
+ "providerPermissions": [],
492
+ "inputSchema": {
493
+ "type": "object",
494
+ "properties": {
495
+ "symbol": {
496
+ "type": "string",
497
+ "minLength": 1,
498
+ "description": "The six-digit fund code, such as 016128.",
499
+ "pattern": "^[0-9]{6}$"
500
+ }
501
+ },
502
+ "additionalProperties": false,
503
+ "description": "The input payload for retrieving fund data."
504
+ },
505
+ "outputSchema": {
506
+ "type": "object",
507
+ "properties": {
508
+ "response": {
509
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
510
+ }
511
+ },
512
+ "additionalProperties": false,
513
+ "description": "The response returned by Sina Finance ZYHub."
514
+ }
515
+ },
516
+ {
517
+ "id": "zyhub.get_fund_stock_holdings",
518
+ "service": "zyhub",
519
+ "name": "get_fund_stock_holdings",
520
+ "description": "Get the major stock holdings of a fund.",
521
+ "operationType": "read",
522
+ "requiredScopes": [],
523
+ "providerPermissions": [],
524
+ "inputSchema": {
525
+ "type": "object",
526
+ "properties": {
527
+ "symbol": {
528
+ "type": "string",
529
+ "minLength": 1,
530
+ "description": "The six-digit fund code, such as 016128.",
531
+ "pattern": "^[0-9]{6}$"
532
+ },
533
+ "page": {
534
+ "type": "integer",
535
+ "minimum": 1,
536
+ "description": "The one-based result page number."
537
+ },
538
+ "pageSize": {
539
+ "type": "integer",
540
+ "minimum": 1,
541
+ "description": "The number of results to return."
542
+ }
543
+ },
544
+ "additionalProperties": false,
545
+ "required": [
546
+ "symbol"
547
+ ],
548
+ "description": "The input payload for retrieving fund stock holdings."
549
+ },
550
+ "outputSchema": {
551
+ "type": "object",
552
+ "properties": {
553
+ "response": {
554
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
555
+ }
556
+ },
557
+ "additionalProperties": false,
558
+ "description": "The response returned by Sina Finance ZYHub."
559
+ }
560
+ },
561
+ {
562
+ "id": "zyhub.get_futures_quote",
563
+ "service": "zyhub",
564
+ "name": "get_futures_quote",
565
+ "description": "Get the latest quote for a domestic, global, or Chinese financial futures contract.",
566
+ "operationType": "read",
567
+ "requiredScopes": [],
568
+ "providerPermissions": [],
569
+ "inputSchema": {
570
+ "type": "object",
571
+ "properties": {
572
+ "market": {
573
+ "type": "string",
574
+ "enum": [
575
+ "domestic",
576
+ "global",
577
+ "financial"
578
+ ],
579
+ "description": "The futures market."
580
+ },
581
+ "symbol": {
582
+ "type": "string",
583
+ "minLength": 1,
584
+ "description": "The futures contract symbol, such as CHA50CFD."
585
+ }
586
+ },
587
+ "additionalProperties": false,
588
+ "description": "The input payload for retrieving a futures quote."
589
+ },
590
+ "outputSchema": {
591
+ "type": "object",
592
+ "properties": {
593
+ "response": {
594
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
595
+ }
596
+ },
597
+ "additionalProperties": false,
598
+ "description": "The response returned by Sina Finance ZYHub."
599
+ }
600
+ },
601
+ {
602
+ "id": "zyhub.get_intraday_kline",
603
+ "service": "zyhub",
604
+ "name": "get_intraday_kline",
605
+ "description": "Get minute-level candlesticks for an A-share, index, or virtual sector.",
606
+ "operationType": "read",
607
+ "requiredScopes": [],
608
+ "providerPermissions": [],
609
+ "inputSchema": {
610
+ "type": "object",
611
+ "properties": {
612
+ "symbol": {
613
+ "type": "string",
614
+ "minLength": 1,
615
+ "description": "The A-share, index, or virtual-sector symbol."
616
+ },
617
+ "intervalMinutes": {
618
+ "type": "string",
619
+ "enum": [
620
+ "1",
621
+ "3",
622
+ "5",
623
+ "10",
624
+ "15",
625
+ "30",
626
+ "60",
627
+ "90",
628
+ "120",
629
+ "180",
630
+ "240"
631
+ ],
632
+ "description": "The candlestick interval in minutes."
633
+ },
634
+ "limit": {
635
+ "type": "integer",
636
+ "minimum": 1,
637
+ "maximum": 2000,
638
+ "description": "The number of candlesticks to return, up to 2000."
639
+ }
640
+ },
641
+ "additionalProperties": false,
642
+ "description": "The input payload for retrieving intraday candlesticks."
643
+ },
644
+ "outputSchema": {
645
+ "type": "object",
646
+ "properties": {
647
+ "response": {
648
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
649
+ }
650
+ },
651
+ "additionalProperties": false,
652
+ "description": "The response returned by Sina Finance ZYHub."
653
+ }
654
+ },
655
+ {
656
+ "id": "zyhub.get_major_events",
657
+ "service": "zyhub",
658
+ "name": "get_major_events",
659
+ "description": "Get major corporate events for an A-share, Hong Kong, or US-listed company.",
660
+ "operationType": "read",
661
+ "requiredScopes": [],
662
+ "providerPermissions": [],
663
+ "inputSchema": {
664
+ "type": "object",
665
+ "properties": {
666
+ "market": {
667
+ "type": "string",
668
+ "enum": [
669
+ "cn",
670
+ "hk",
671
+ "us"
672
+ ],
673
+ "description": "The market containing the company."
674
+ },
675
+ "symbol": {
676
+ "type": "string",
677
+ "minLength": 1,
678
+ "description": "The market-specific stock symbol."
679
+ },
680
+ "limit": {
681
+ "type": "integer",
682
+ "minimum": 1,
683
+ "description": "The number of results to return."
684
+ }
685
+ },
686
+ "additionalProperties": false,
687
+ "description": "The input payload for retrieving major corporate events."
688
+ },
689
+ "outputSchema": {
690
+ "type": "object",
691
+ "properties": {
692
+ "response": {
693
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
694
+ }
695
+ },
696
+ "additionalProperties": false,
697
+ "description": "The response returned by Sina Finance ZYHub."
698
+ }
699
+ },
700
+ {
701
+ "id": "zyhub.get_margin_trading",
702
+ "service": "zyhub",
703
+ "name": "get_margin_trading",
704
+ "description": "Get historical margin-financing and securities-lending data for an A-share.",
705
+ "operationType": "read",
706
+ "requiredScopes": [],
707
+ "providerPermissions": [],
708
+ "inputSchema": {
709
+ "type": "object",
710
+ "properties": {
711
+ "symbol": {
712
+ "type": "string",
713
+ "minLength": 1,
714
+ "description": "The A-share symbol with an sh or sz prefix, such as sh600519.",
715
+ "pattern": "^(sh|sz)[0-9]{6}$"
716
+ },
717
+ "page": {
718
+ "type": "integer",
719
+ "minimum": 1,
720
+ "description": "The one-based result page number."
721
+ },
722
+ "pageSize": {
723
+ "type": "integer",
724
+ "minimum": 1,
725
+ "description": "The number of results to return."
726
+ }
727
+ },
728
+ "additionalProperties": false,
729
+ "required": [
730
+ "symbol"
731
+ ],
732
+ "description": "The input payload for retrieving margin-trading data."
733
+ },
734
+ "outputSchema": {
735
+ "type": "object",
736
+ "properties": {
737
+ "response": {
738
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
739
+ }
740
+ },
741
+ "additionalProperties": false,
742
+ "description": "The response returned by Sina Finance ZYHub."
743
+ }
744
+ },
745
+ {
746
+ "id": "zyhub.get_news_article",
747
+ "service": "zyhub",
748
+ "name": "get_news_article",
749
+ "description": "Get the title, publication time, and body of one Sina Finance article.",
750
+ "operationType": "read",
751
+ "requiredScopes": [],
752
+ "providerPermissions": [],
753
+ "inputSchema": {
754
+ "type": "object",
755
+ "properties": {
756
+ "documentId": {
757
+ "type": "string",
758
+ "minLength": 1,
759
+ "description": "The article document ID returned by a news action."
760
+ }
761
+ },
762
+ "additionalProperties": false,
763
+ "description": "The input payload for retrieving a news article."
764
+ },
765
+ "outputSchema": {
766
+ "type": "object",
767
+ "properties": {
768
+ "response": {
769
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
770
+ }
771
+ },
772
+ "additionalProperties": false,
773
+ "description": "The response returned by Sina Finance ZYHub."
774
+ }
775
+ },
776
+ {
777
+ "id": "zyhub.get_revenue_composition",
778
+ "service": "zyhub",
779
+ "name": "get_revenue_composition",
780
+ "description": "Get an A-share company's revenue, cost, and gross-margin composition.",
781
+ "operationType": "read",
782
+ "requiredScopes": [],
783
+ "providerPermissions": [],
784
+ "inputSchema": {
785
+ "type": "object",
786
+ "properties": {
787
+ "symbol": {
788
+ "type": "string",
789
+ "minLength": 1,
790
+ "description": "The A-share symbol with an sh or sz prefix, such as sh600519.",
791
+ "pattern": "^(sh|sz)[0-9]{6}$"
792
+ },
793
+ "reportDate": {
794
+ "type": "string",
795
+ "description": "The optional reporting date in YYYYMMDD format.",
796
+ "pattern": "^[0-9]{8}$"
797
+ }
798
+ },
799
+ "additionalProperties": false,
800
+ "required": [
801
+ "symbol"
802
+ ],
803
+ "description": "The input payload for retrieving revenue composition."
804
+ },
805
+ "outputSchema": {
806
+ "type": "object",
807
+ "properties": {
808
+ "response": {
809
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
810
+ }
811
+ },
812
+ "additionalProperties": false,
813
+ "description": "The response returned by Sina Finance ZYHub."
814
+ }
815
+ },
816
+ {
817
+ "id": "zyhub.get_sector_constituents",
818
+ "service": "zyhub",
819
+ "name": "get_sector_constituents",
820
+ "description": "Get and rank the constituents of an A-share index or virtual sector.",
821
+ "operationType": "read",
822
+ "requiredScopes": [],
823
+ "providerPermissions": [],
824
+ "inputSchema": {
825
+ "type": "object",
826
+ "properties": {
827
+ "sectorSymbol": {
828
+ "type": "string",
829
+ "minLength": 1,
830
+ "description": "The index or virtual-sector symbol, such as sh000001."
831
+ },
832
+ "fields": {
833
+ "type": "array",
834
+ "items": {
835
+ "type": "string",
836
+ "minLength": 1,
837
+ "description": "An official response field name without commas.",
838
+ "pattern": "^[^,]+$"
839
+ },
840
+ "description": "Optional official response fields.",
841
+ "minItems": 1,
842
+ "uniqueItems": true
843
+ },
844
+ "sortBy": {
845
+ "type": "string",
846
+ "minLength": 1,
847
+ "description": "The official field used to sort constituents."
848
+ },
849
+ "sortDirection": {
850
+ "type": "string",
851
+ "enum": [
852
+ "asc",
853
+ "desc"
854
+ ],
855
+ "description": "The sort direction."
856
+ },
857
+ "page": {
858
+ "type": "integer",
859
+ "minimum": 1,
860
+ "description": "The one-based result page number."
861
+ },
862
+ "pageSize": {
863
+ "type": "integer",
864
+ "minimum": 1,
865
+ "description": "The number of results to return."
866
+ },
867
+ "includeNewStocks": {
868
+ "type": "boolean",
869
+ "description": "Whether to include newly listed stocks."
870
+ },
871
+ "includeRecentStocks": {
872
+ "type": "boolean",
873
+ "description": "Whether to include recently listed stocks."
874
+ }
875
+ },
876
+ "additionalProperties": false,
877
+ "required": [
878
+ "sectorSymbol"
879
+ ],
880
+ "description": "The input payload for retrieving sector constituents."
881
+ },
882
+ "outputSchema": {
883
+ "type": "object",
884
+ "properties": {
885
+ "response": {
886
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
887
+ }
888
+ },
889
+ "additionalProperties": false,
890
+ "description": "The response returned by Sina Finance ZYHub."
891
+ }
892
+ },
893
+ {
894
+ "id": "zyhub.get_stock_industry",
895
+ "service": "zyhub",
896
+ "name": "get_stock_industry",
897
+ "description": "Get the Shenwan level-one, level-two, and level-three industries for an A-share.",
898
+ "operationType": "read",
899
+ "requiredScopes": [],
900
+ "providerPermissions": [],
901
+ "inputSchema": {
902
+ "type": "object",
903
+ "properties": {
904
+ "symbol": {
905
+ "type": "string",
906
+ "minLength": 1,
907
+ "description": "The six-digit A-share code without a market prefix.",
908
+ "pattern": "^[0-9]{6}$"
909
+ }
910
+ },
911
+ "additionalProperties": false,
912
+ "description": "The input payload for retrieving Shenwan industry classifications."
913
+ },
914
+ "outputSchema": {
915
+ "type": "object",
916
+ "properties": {
917
+ "response": {
918
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
919
+ }
920
+ },
921
+ "additionalProperties": false,
922
+ "description": "The response returned by Sina Finance ZYHub."
923
+ }
924
+ },
925
+ {
926
+ "id": "zyhub.get_stock_quote",
927
+ "service": "zyhub",
928
+ "name": "get_stock_quote",
929
+ "description": "Get the latest Sina Finance quote for a stock or global index.",
930
+ "operationType": "read",
931
+ "requiredScopes": [],
932
+ "providerPermissions": [],
933
+ "inputSchema": {
934
+ "type": "object",
935
+ "properties": {
936
+ "market": {
937
+ "type": "string",
938
+ "enum": [
939
+ "cn",
940
+ "hk",
941
+ "us",
942
+ "gi"
943
+ ],
944
+ "description": "The market containing the requested instrument."
945
+ },
946
+ "symbol": {
947
+ "type": "string",
948
+ "minLength": 1,
949
+ "description": "The market-specific instrument symbol, such as sh688001 or AAPL."
950
+ }
951
+ },
952
+ "additionalProperties": false,
953
+ "description": "The input payload for retrieving a current stock quote."
954
+ },
955
+ "outputSchema": {
956
+ "type": "object",
957
+ "properties": {
958
+ "response": {
959
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
960
+ }
961
+ },
962
+ "additionalProperties": false,
963
+ "description": "The response returned by Sina Finance ZYHub."
964
+ }
965
+ },
966
+ {
967
+ "id": "zyhub.get_valuation_history",
968
+ "service": "zyhub",
969
+ "name": "get_valuation_history",
970
+ "description": "Get historical valuation data for an A-share, its industry, and the broad market.",
971
+ "operationType": "read",
972
+ "requiredScopes": [],
973
+ "providerPermissions": [],
974
+ "inputSchema": {
975
+ "type": "object",
976
+ "properties": {
977
+ "symbol": {
978
+ "type": "string",
979
+ "minLength": 1,
980
+ "description": "The A-share symbol with an sh or sz prefix, such as sh600519.",
981
+ "pattern": "^(sh|sz)[0-9]{6}$"
982
+ },
983
+ "period": {
984
+ "type": "string",
985
+ "enum": [
986
+ "1y",
987
+ "3y",
988
+ "5y",
989
+ "10y",
990
+ "all"
991
+ ],
992
+ "description": "The historical period to retrieve."
993
+ },
994
+ "metric": {
995
+ "type": "string",
996
+ "enum": [
997
+ "pe_ttm",
998
+ "pb",
999
+ "pcf",
1000
+ "dividend_yield",
1001
+ "market_cap"
1002
+ ],
1003
+ "description": "The valuation metric to retrieve."
1004
+ }
1005
+ },
1006
+ "additionalProperties": false,
1007
+ "description": "The input payload for retrieving valuation history."
1008
+ },
1009
+ "outputSchema": {
1010
+ "type": "object",
1011
+ "properties": {
1012
+ "response": {
1013
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
1014
+ }
1015
+ },
1016
+ "additionalProperties": false,
1017
+ "description": "The response returned by Sina Finance ZYHub."
1018
+ }
1019
+ },
1020
+ {
1021
+ "id": "zyhub.list_consecutive_limit_up_stocks",
1022
+ "service": "zyhub",
1023
+ "name": "list_consecutive_limit_up_stocks",
1024
+ "description": "List A-shares currently in the consecutive-limit-up pool.",
1025
+ "operationType": "read",
1026
+ "requiredScopes": [],
1027
+ "providerPermissions": [],
1028
+ "inputSchema": {
1029
+ "type": "object",
1030
+ "properties": {},
1031
+ "additionalProperties": false,
1032
+ "description": "This action does not require input parameters."
1033
+ },
1034
+ "outputSchema": {
1035
+ "type": "object",
1036
+ "properties": {
1037
+ "response": {
1038
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
1039
+ }
1040
+ },
1041
+ "additionalProperties": false,
1042
+ "description": "The response returned by Sina Finance ZYHub."
1043
+ }
1044
+ },
1045
+ {
1046
+ "id": "zyhub.list_financial_report_dates",
1047
+ "service": "zyhub",
1048
+ "name": "list_financial_report_dates",
1049
+ "description": "List available financial-report dates for an A-share company.",
1050
+ "operationType": "read",
1051
+ "requiredScopes": [],
1052
+ "providerPermissions": [],
1053
+ "inputSchema": {
1054
+ "type": "object",
1055
+ "properties": {
1056
+ "symbol": {
1057
+ "type": "string",
1058
+ "minLength": 1,
1059
+ "description": "The A-share symbol with an sh or sz prefix, such as sh600519.",
1060
+ "pattern": "^(sh|sz)[0-9]{6}$"
1061
+ }
1062
+ },
1063
+ "additionalProperties": false,
1064
+ "description": "The input payload for listing financial-report dates."
1065
+ },
1066
+ "outputSchema": {
1067
+ "type": "object",
1068
+ "properties": {
1069
+ "response": {
1070
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
1071
+ }
1072
+ },
1073
+ "additionalProperties": false,
1074
+ "description": "The response returned by Sina Finance ZYHub."
1075
+ }
1076
+ },
1077
+ {
1078
+ "id": "zyhub.list_flash_news",
1079
+ "service": "zyhub",
1080
+ "name": "list_flash_news",
1081
+ "description": "List the latest Sina Finance market flashes or page around a known document ID.",
1082
+ "operationType": "read",
1083
+ "requiredScopes": [],
1084
+ "providerPermissions": [],
1085
+ "inputSchema": {
1086
+ "type": "object",
1087
+ "properties": {
1088
+ "documentId": {
1089
+ "type": "string",
1090
+ "minLength": 1,
1091
+ "description": "A flash document ID used as the pagination anchor."
1092
+ },
1093
+ "direction": {
1094
+ "type": "string",
1095
+ "enum": [
1096
+ "after",
1097
+ "before"
1098
+ ],
1099
+ "description": "Whether to list flashes after or before the anchor."
1100
+ },
1101
+ "page": {
1102
+ "type": "integer",
1103
+ "minimum": 1,
1104
+ "description": "The one-based result page number."
1105
+ },
1106
+ "pageSize": {
1107
+ "type": "integer",
1108
+ "minimum": 1,
1109
+ "description": "The number of results to return."
1110
+ }
1111
+ },
1112
+ "additionalProperties": false,
1113
+ "description": "The input payload for listing market flashes."
1114
+ },
1115
+ "outputSchema": {
1116
+ "type": "object",
1117
+ "properties": {
1118
+ "response": {
1119
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
1120
+ }
1121
+ },
1122
+ "additionalProperties": false,
1123
+ "description": "The response returned by Sina Finance ZYHub."
1124
+ }
1125
+ },
1126
+ {
1127
+ "id": "zyhub.list_hot_stocks",
1128
+ "service": "zyhub",
1129
+ "name": "list_hot_stocks",
1130
+ "description": "List daily or hourly popular stocks and funds.",
1131
+ "operationType": "read",
1132
+ "requiredScopes": [],
1133
+ "providerPermissions": [],
1134
+ "inputSchema": {
1135
+ "type": "object",
1136
+ "properties": {
1137
+ "period": {
1138
+ "type": "string",
1139
+ "enum": [
1140
+ "day",
1141
+ "hour"
1142
+ ],
1143
+ "description": "The popularity ranking period."
1144
+ },
1145
+ "market": {
1146
+ "type": "string",
1147
+ "minLength": 1,
1148
+ "description": "The optional market filter, such as cn, hk, us, or fund."
1149
+ },
1150
+ "page": {
1151
+ "type": "integer",
1152
+ "minimum": 1,
1153
+ "description": "The one-based result page number."
1154
+ },
1155
+ "pageSize": {
1156
+ "type": "integer",
1157
+ "minimum": 1,
1158
+ "description": "The number of results to return."
1159
+ }
1160
+ },
1161
+ "additionalProperties": false,
1162
+ "required": [
1163
+ "period"
1164
+ ],
1165
+ "description": "The input payload for listing popular instruments."
1166
+ },
1167
+ "outputSchema": {
1168
+ "type": "object",
1169
+ "properties": {
1170
+ "response": {
1171
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
1172
+ }
1173
+ },
1174
+ "additionalProperties": false,
1175
+ "description": "The response returned by Sina Finance ZYHub."
1176
+ }
1177
+ },
1178
+ {
1179
+ "id": "zyhub.list_limit_up_stocks",
1180
+ "service": "zyhub",
1181
+ "name": "list_limit_up_stocks",
1182
+ "description": "List the current A-share limit-up pool.",
1183
+ "operationType": "read",
1184
+ "requiredScopes": [],
1185
+ "providerPermissions": [],
1186
+ "inputSchema": {
1187
+ "type": "object",
1188
+ "properties": {},
1189
+ "additionalProperties": false,
1190
+ "description": "This action does not require input parameters."
1191
+ },
1192
+ "outputSchema": {
1193
+ "type": "object",
1194
+ "properties": {
1195
+ "response": {
1196
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
1197
+ }
1198
+ },
1199
+ "additionalProperties": false,
1200
+ "description": "The response returned by Sina Finance ZYHub."
1201
+ }
1202
+ },
1203
+ {
1204
+ "id": "zyhub.list_sector_rankings",
1205
+ "service": "zyhub",
1206
+ "name": "list_sector_rankings",
1207
+ "description": "Rank A-share industries, concepts, or regions by market and fund-flow metrics.",
1208
+ "operationType": "read",
1209
+ "requiredScopes": [],
1210
+ "providerPermissions": [],
1211
+ "inputSchema": {
1212
+ "type": "object",
1213
+ "properties": {
1214
+ "sectorType": {
1215
+ "type": "string",
1216
+ "enum": [
1217
+ "all",
1218
+ "shenwan_level_1",
1219
+ "shenwan_level_2",
1220
+ "shenwan_level_3",
1221
+ "concept",
1222
+ "region"
1223
+ ],
1224
+ "description": "The sector classification to rank."
1225
+ },
1226
+ "sortBy": {
1227
+ "type": "string",
1228
+ "minLength": 1,
1229
+ "description": "The official metric used to sort sectors, such as percent or rp_net."
1230
+ },
1231
+ "sortDirection": {
1232
+ "type": "string",
1233
+ "enum": [
1234
+ "asc",
1235
+ "desc"
1236
+ ],
1237
+ "description": "The sort direction."
1238
+ },
1239
+ "page": {
1240
+ "type": "integer",
1241
+ "minimum": 1,
1242
+ "description": "The one-based result page number."
1243
+ },
1244
+ "pageSize": {
1245
+ "type": "integer",
1246
+ "minimum": 1,
1247
+ "maximum": 30,
1248
+ "description": "The number of sectors to return, up to 30."
1249
+ }
1250
+ },
1251
+ "additionalProperties": false,
1252
+ "description": "The input payload for ranking A-share sectors."
1253
+ },
1254
+ "outputSchema": {
1255
+ "type": "object",
1256
+ "properties": {
1257
+ "response": {
1258
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
1259
+ }
1260
+ },
1261
+ "additionalProperties": false,
1262
+ "description": "The response returned by Sina Finance ZYHub."
1263
+ }
1264
+ },
1265
+ {
1266
+ "id": "zyhub.list_stock_connect_holdings",
1267
+ "service": "zyhub",
1268
+ "name": "list_stock_connect_holdings",
1269
+ "description": "List Shanghai, Shenzhen, or Hong Kong Stock Connect holdings.",
1270
+ "operationType": "read",
1271
+ "requiredScopes": [],
1272
+ "providerPermissions": [],
1273
+ "inputSchema": {
1274
+ "type": "object",
1275
+ "properties": {
1276
+ "channel": {
1277
+ "type": "string",
1278
+ "enum": [
1279
+ "hk",
1280
+ "sz",
1281
+ "sh"
1282
+ ],
1283
+ "description": "The Stock Connect channel."
1284
+ },
1285
+ "sortBy": {
1286
+ "type": "string",
1287
+ "enum": [
1288
+ "hold_date",
1289
+ "hold_num",
1290
+ "hold_ratio",
1291
+ "close",
1292
+ "percent",
1293
+ "cur_capital",
1294
+ "day1_capital_chg",
1295
+ "day5_capital_chg",
1296
+ "day10_capital_chg",
1297
+ "zf_60"
1298
+ ],
1299
+ "description": "The field used to sort holdings."
1300
+ },
1301
+ "sortDirection": {
1302
+ "type": "string",
1303
+ "enum": [
1304
+ "asc",
1305
+ "desc"
1306
+ ],
1307
+ "description": "The sort direction."
1308
+ },
1309
+ "page": {
1310
+ "type": "integer",
1311
+ "minimum": 1,
1312
+ "description": "The one-based result page number."
1313
+ },
1314
+ "pageSize": {
1315
+ "type": "integer",
1316
+ "minimum": 1,
1317
+ "description": "The number of results to return."
1318
+ }
1319
+ },
1320
+ "additionalProperties": false,
1321
+ "required": [
1322
+ "channel",
1323
+ "sortBy",
1324
+ "sortDirection"
1325
+ ],
1326
+ "description": "The input payload for listing Stock Connect holdings."
1327
+ },
1328
+ "outputSchema": {
1329
+ "type": "object",
1330
+ "properties": {
1331
+ "response": {
1332
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
1333
+ }
1334
+ },
1335
+ "additionalProperties": false,
1336
+ "description": "The response returned by Sina Finance ZYHub."
1337
+ }
1338
+ },
1339
+ {
1340
+ "id": "zyhub.list_strong_sectors",
1341
+ "service": "zyhub",
1342
+ "name": "list_strong_sectors",
1343
+ "description": "List strong A-share concept, industry, or regional sectors.",
1344
+ "operationType": "read",
1345
+ "requiredScopes": [],
1346
+ "providerPermissions": [],
1347
+ "inputSchema": {
1348
+ "type": "object",
1349
+ "properties": {
1350
+ "boardGroup": {
1351
+ "type": "string",
1352
+ "enum": [
1353
+ "all",
1354
+ "growth",
1355
+ "other"
1356
+ ],
1357
+ "description": "The board group used to filter stocks."
1358
+ },
1359
+ "sectorType": {
1360
+ "type": "string",
1361
+ "enum": [
1362
+ "concept",
1363
+ "industry",
1364
+ "region"
1365
+ ],
1366
+ "description": "The sector classification to return."
1367
+ },
1368
+ "excludeSt": {
1369
+ "type": "boolean",
1370
+ "description": "Whether to exclude ST stocks."
1371
+ }
1372
+ },
1373
+ "additionalProperties": false,
1374
+ "description": "The input payload for listing strong sectors."
1375
+ },
1376
+ "outputSchema": {
1377
+ "type": "object",
1378
+ "properties": {
1379
+ "response": {
1380
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
1381
+ }
1382
+ },
1383
+ "additionalProperties": false,
1384
+ "description": "The response returned by Sina Finance ZYHub."
1385
+ }
1386
+ },
1387
+ {
1388
+ "id": "zyhub.search_flash_news",
1389
+ "service": "zyhub",
1390
+ "name": "search_flash_news",
1391
+ "description": "Search Sina Finance market flashes by one or more keywords.",
1392
+ "operationType": "read",
1393
+ "requiredScopes": [],
1394
+ "providerPermissions": [],
1395
+ "inputSchema": {
1396
+ "type": "object",
1397
+ "properties": {
1398
+ "keywords": {
1399
+ "type": "array",
1400
+ "items": {
1401
+ "type": "string",
1402
+ "minLength": 1,
1403
+ "maxLength": 15,
1404
+ "description": "A keyword containing at most 15 characters and no commas.",
1405
+ "pattern": "^[^,]+$"
1406
+ },
1407
+ "description": "One to ten keywords to search for.",
1408
+ "minItems": 1,
1409
+ "maxItems": 10
1410
+ },
1411
+ "page": {
1412
+ "type": "integer",
1413
+ "minimum": 1,
1414
+ "description": "The one-based result page number."
1415
+ },
1416
+ "pageSize": {
1417
+ "type": "integer",
1418
+ "minimum": 1,
1419
+ "maximum": 20,
1420
+ "description": "The number of flashes per page, up to 20."
1421
+ }
1422
+ },
1423
+ "additionalProperties": false,
1424
+ "required": [
1425
+ "keywords"
1426
+ ],
1427
+ "description": "The input payload for searching market flashes."
1428
+ },
1429
+ "outputSchema": {
1430
+ "type": "object",
1431
+ "properties": {
1432
+ "response": {
1433
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
1434
+ }
1435
+ },
1436
+ "additionalProperties": false,
1437
+ "description": "The response returned by Sina Finance ZYHub."
1438
+ }
1439
+ },
1440
+ {
1441
+ "id": "zyhub.search_news",
1442
+ "service": "zyhub",
1443
+ "name": "search_news",
1444
+ "description": "Search Sina Finance news by one or more keywords.",
1445
+ "operationType": "read",
1446
+ "requiredScopes": [],
1447
+ "providerPermissions": [],
1448
+ "inputSchema": {
1449
+ "type": "object",
1450
+ "properties": {
1451
+ "keywords": {
1452
+ "type": "array",
1453
+ "items": {
1454
+ "type": "string",
1455
+ "minLength": 1,
1456
+ "maxLength": 15,
1457
+ "description": "A keyword containing at most 15 characters and no commas.",
1458
+ "pattern": "^[^,]+$"
1459
+ },
1460
+ "description": "One to ten keywords to search for.",
1461
+ "minItems": 1,
1462
+ "maxItems": 10
1463
+ },
1464
+ "page": {
1465
+ "type": "integer",
1466
+ "minimum": 1,
1467
+ "description": "The one-based result page number."
1468
+ },
1469
+ "pageSize": {
1470
+ "type": "integer",
1471
+ "minimum": 1,
1472
+ "maximum": 20,
1473
+ "description": "The number of news items to return per page."
1474
+ }
1475
+ },
1476
+ "additionalProperties": false,
1477
+ "required": [
1478
+ "keywords"
1479
+ ],
1480
+ "description": "The input payload for searching Sina Finance news."
1481
+ },
1482
+ "outputSchema": {
1483
+ "type": "object",
1484
+ "properties": {
1485
+ "response": {
1486
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
1487
+ }
1488
+ },
1489
+ "additionalProperties": false,
1490
+ "description": "The response returned by Sina Finance ZYHub."
1491
+ }
1492
+ },
1493
+ {
1494
+ "id": "zyhub.search_stock_news",
1495
+ "service": "zyhub",
1496
+ "name": "search_stock_news",
1497
+ "description": "Search news for one A-share, Hong Kong, or US-listed stock.",
1498
+ "operationType": "read",
1499
+ "requiredScopes": [],
1500
+ "providerPermissions": [],
1501
+ "inputSchema": {
1502
+ "type": "object",
1503
+ "properties": {
1504
+ "market": {
1505
+ "type": "string",
1506
+ "enum": [
1507
+ "cn",
1508
+ "hk",
1509
+ "us"
1510
+ ],
1511
+ "description": "The market containing the stock."
1512
+ },
1513
+ "symbol": {
1514
+ "type": "string",
1515
+ "minLength": 1,
1516
+ "description": "The market-specific stock symbol."
1517
+ },
1518
+ "page": {
1519
+ "type": "integer",
1520
+ "minimum": 1,
1521
+ "description": "The one-based result page number."
1522
+ },
1523
+ "pageSize": {
1524
+ "type": "integer",
1525
+ "minimum": 1,
1526
+ "maximum": 20,
1527
+ "description": "The number of news items per page, up to 20."
1528
+ }
1529
+ },
1530
+ "additionalProperties": false,
1531
+ "required": [
1532
+ "market",
1533
+ "symbol"
1534
+ ],
1535
+ "description": "The input payload for searching stock-specific news."
1536
+ },
1537
+ "outputSchema": {
1538
+ "type": "object",
1539
+ "properties": {
1540
+ "response": {
1541
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
1542
+ }
1543
+ },
1544
+ "additionalProperties": false,
1545
+ "description": "The response returned by Sina Finance ZYHub."
1546
+ }
1547
+ },
1548
+ {
1549
+ "id": "zyhub.search_symbols",
1550
+ "service": "zyhub",
1551
+ "name": "search_symbols",
1552
+ "description": "Search Sina Finance instrument symbols across one or more markets.",
1553
+ "operationType": "read",
1554
+ "requiredScopes": [],
1555
+ "providerPermissions": [],
1556
+ "inputSchema": {
1557
+ "type": "object",
1558
+ "properties": {
1559
+ "marketTypes": {
1560
+ "type": "string",
1561
+ "minLength": 1,
1562
+ "description": "Comma-separated Sina Finance market type codes, such as 11 for A shares or 31 for Hong Kong stocks."
1563
+ },
1564
+ "query": {
1565
+ "type": "string",
1566
+ "minLength": 1,
1567
+ "description": "The company name, ticker, or other text to search for."
1568
+ }
1569
+ },
1570
+ "additionalProperties": false,
1571
+ "description": "The input payload for searching instrument symbols."
1572
+ },
1573
+ "outputSchema": {
1574
+ "type": "object",
1575
+ "properties": {
1576
+ "response": {
1577
+ "description": "The upstream JSON value or text returned by the selected ZYHub API."
1578
+ }
1579
+ },
1580
+ "additionalProperties": false,
1581
+ "description": "The response returned by Sina Finance ZYHub."
1582
+ }
1583
+ }
1584
+ ]
1585
+ }