@opentabs-dev/opentabs-plugin-temporal-cloud 0.0.85

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 (49) hide show
  1. package/README.md +53 -0
  2. package/dist/adapter.iife.js +15747 -0
  3. package/dist/adapter.iife.js.map +7 -0
  4. package/dist/index.d.ts +14 -0
  5. package/dist/index.d.ts.map +1 -0
  6. package/dist/index.js +34 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/temporal-api.d.ts +5 -0
  9. package/dist/temporal-api.d.ts.map +1 -0
  10. package/dist/temporal-api.js +87 -0
  11. package/dist/temporal-api.js.map +1 -0
  12. package/dist/tools/count-workflows.d.ts +8 -0
  13. package/dist/tools/count-workflows.d.ts.map +1 -0
  14. package/dist/tools/count-workflows.js +30 -0
  15. package/dist/tools/count-workflows.js.map +1 -0
  16. package/dist/tools/get-schedule.d.ts +25 -0
  17. package/dist/tools/get-schedule.d.ts.map +1 -0
  18. package/dist/tools/get-schedule.js +23 -0
  19. package/dist/tools/get-schedule.js.map +1 -0
  20. package/dist/tools/get-settings.d.ts +15 -0
  21. package/dist/tools/get-settings.d.ts.map +1 -0
  22. package/dist/tools/get-settings.js +42 -0
  23. package/dist/tools/get-settings.js.map +1 -0
  24. package/dist/tools/get-task-queue.d.ts +15 -0
  25. package/dist/tools/get-task-queue.d.ts.map +1 -0
  26. package/dist/tools/get-task-queue.js +31 -0
  27. package/dist/tools/get-task-queue.js.map +1 -0
  28. package/dist/tools/get-workflow-history.d.ts +18 -0
  29. package/dist/tools/get-workflow-history.d.ts.map +1 -0
  30. package/dist/tools/get-workflow-history.js +38 -0
  31. package/dist/tools/get-workflow-history.js.map +1 -0
  32. package/dist/tools/get-workflow.d.ts +27 -0
  33. package/dist/tools/get-workflow.d.ts.map +1 -0
  34. package/dist/tools/get-workflow.js +24 -0
  35. package/dist/tools/get-workflow.js.map +1 -0
  36. package/dist/tools/list-schedules.d.ts +19 -0
  37. package/dist/tools/list-schedules.d.ts.map +1 -0
  38. package/dist/tools/list-schedules.js +33 -0
  39. package/dist/tools/list-schedules.js.map +1 -0
  40. package/dist/tools/list-workflows.d.ts +26 -0
  41. package/dist/tools/list-workflows.d.ts.map +1 -0
  42. package/dist/tools/list-workflows.js +38 -0
  43. package/dist/tools/list-workflows.js.map +1 -0
  44. package/dist/tools/schemas.d.ts +290 -0
  45. package/dist/tools/schemas.d.ts.map +1 -0
  46. package/dist/tools/schemas.js +234 -0
  47. package/dist/tools/schemas.js.map +1 -0
  48. package/dist/tools.json +790 -0
  49. package/package.json +56 -0
@@ -0,0 +1,790 @@
1
+ {
2
+ "sdkVersion": "0.0.107",
3
+ "iconSvg": "<svg viewBox=\"385 387 397 397\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path fill=\"#141414\" d=\"M651.14,517.35C642.02,449.03,618.94,392,583.49,392s-58.53,57.03-67.65,125.35 c-68.32,9.12-125.35,32.2-125.35,67.65s57.04,58.53,125.35,67.65c9.12,68.31,32.2,125.35,67.65,125.35s58.53-57.04,67.65-125.35 c68.32-9.12,125.35-32.2,125.35-67.65S719.45,526.47,651.14,517.35z M513.61,632.75c-65.43-9.45-103.59-31.08-103.59-47.75 s38.16-38.3,103.59-47.75c-1.44,15.75-2.19,31.83-2.19,47.75C511.42,600.92,512.17,617.01,513.61,632.75z M583.49,411.53 c16.67,0,38.3,38.16,47.75,103.59c-15.74-1.44-31.83-2.19-47.75-2.19s-32.01,0.75-47.75,2.19 C545.19,449.69,566.82,411.53,583.49,411.53z M653.37,632.75c-3.22,0.47-16.43,2.02-19.77,2.35c-0.33,3.35-1.89,16.55-2.35,19.77 c-9.45,65.43-31.08,103.59-47.75,103.59s-38.3-38.16-47.75-103.59c-0.46-3.22-2.02-16.43-2.35-19.77 c-1.52-15.51-2.44-32.17-2.44-50.1s0.92-34.59,2.44-50.11c15.51-1.52,32.17-2.44,50.1-2.44s34.59,0.92,50.1,2.44 c3.35,0.33,16.55,1.89,19.77,2.35c65.43,9.45,103.6,31.09,103.6,47.75S718.8,623.3,653.37,632.75z\"/> </svg>",
4
+ "iconInactiveSvg": "<svg viewBox=\"385 387 397 397\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path fill=\"#999999\" d=\"M651.14,517.35C642.02,449.03,618.94,392,583.49,392s-58.53,57.03-67.65,125.35 c-68.32,9.12-125.35,32.2-125.35,67.65s57.04,58.53,125.35,67.65c9.12,68.31,32.2,125.35,67.65,125.35s58.53-57.04,67.65-125.35 c68.32-9.12,125.35-32.2,125.35-67.65S719.45,526.47,651.14,517.35z M513.61,632.75c-65.43-9.45-103.59-31.08-103.59-47.75 s38.16-38.3,103.59-47.75c-1.44,15.75-2.19,31.83-2.19,47.75C511.42,600.92,512.17,617.01,513.61,632.75z M583.49,411.53 c16.67,0,38.3,38.16,47.75,103.59c-15.74-1.44-31.83-2.19-47.75-2.19s-32.01,0.75-47.75,2.19 C545.19,449.69,566.82,411.53,583.49,411.53z M653.37,632.75c-3.22,0.47-16.43,2.02-19.77,2.35c-0.33,3.35-1.89,16.55-2.35,19.77 c-9.45,65.43-31.08,103.59-47.75,103.59s-38.3-38.16-47.75-103.59c-0.46-3.22-2.02-16.43-2.35-19.77 c-1.52-15.51-2.44-32.17-2.44-50.1s0.92-34.59,2.44-50.11c15.51-1.52,32.17-2.44,50.1-2.44s34.59,0.92,50.1,2.44 c3.35,0.33,16.55,1.89,19.77,2.35c65.43,9.45,103.6,31.09,103.6,47.75S718.8,623.3,653.37,632.75z\"/> </svg>",
5
+ "iconDarkSvg": "<svg viewBox=\"385 387 397 397\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path fill=\"#F2F2F2\" d=\"M651.14,517.35C642.02,449.03,618.94,392,583.49,392s-58.53,57.03-67.65,125.35 c-68.32,9.12-125.35,32.2-125.35,67.65s57.04,58.53,125.35,67.65c9.12,68.31,32.2,125.35,67.65,125.35s58.53-57.04,67.65-125.35 c68.32-9.12,125.35-32.2,125.35-67.65S719.45,526.47,651.14,517.35z M513.61,632.75c-65.43-9.45-103.59-31.08-103.59-47.75 s38.16-38.3,103.59-47.75c-1.44,15.75-2.19,31.83-2.19,47.75C511.42,600.92,512.17,617.01,513.61,632.75z M583.49,411.53 c16.67,0,38.3,38.16,47.75,103.59c-15.74-1.44-31.83-2.19-47.75-2.19s-32.01,0.75-47.75,2.19 C545.19,449.69,566.82,411.53,583.49,411.53z M653.37,632.75c-3.22,0.47-16.43,2.02-19.77,2.35c-0.33,3.35-1.89,16.55-2.35,19.77 c-9.45,65.43-31.08,103.59-47.75,103.59s-38.3-38.16-47.75-103.59c-0.46-3.22-2.02-16.43-2.35-19.77 c-1.52-15.51-2.44-32.17-2.44-50.1s0.92-34.59,2.44-50.11c15.51-1.52,32.17-2.44,50.1-2.44s34.59,0.92,50.1,2.44 c3.35,0.33,16.55,1.89,19.77,2.35c65.43,9.45,103.6,31.09,103.6,47.75S718.8,623.3,653.37,632.75z\"/> </svg>",
6
+ "iconDarkInactiveSvg": "<svg viewBox=\"385 387 397 397\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path fill=\"#f2f2f2\" d=\"M651.14,517.35C642.02,449.03,618.94,392,583.49,392s-58.53,57.03-67.65,125.35 c-68.32,9.12-125.35,32.2-125.35,67.65s57.04,58.53,125.35,67.65c9.12,68.31,32.2,125.35,67.65,125.35s58.53-57.04,67.65-125.35 c68.32-9.12,125.35-32.2,125.35-67.65S719.45,526.47,651.14,517.35z M513.61,632.75c-65.43-9.45-103.59-31.08-103.59-47.75 s38.16-38.3,103.59-47.75c-1.44,15.75-2.19,31.83-2.19,47.75C511.42,600.92,512.17,617.01,513.61,632.75z M583.49,411.53 c16.67,0,38.3,38.16,47.75,103.59c-15.74-1.44-31.83-2.19-47.75-2.19s-32.01,0.75-47.75,2.19 C545.19,449.69,566.82,411.53,583.49,411.53z M653.37,632.75c-3.22,0.47-16.43,2.02-19.77,2.35c-0.33,3.35-1.89,16.55-2.35,19.77 c-9.45,65.43-31.08,103.59-47.75,103.59s-38.3-38.16-47.75-103.59c-0.46-3.22-2.02-16.43-2.35-19.77 c-1.52-15.51-2.44-32.17-2.44-50.1s0.92-34.59,2.44-50.11c15.51-1.52,32.17-2.44,50.1-2.44s34.59,0.92,50.1,2.44 c3.35,0.33,16.55,1.89,19.77,2.35c65.43,9.45,103.6,31.09,103.6,47.75S718.8,623.3,653.37,632.75z\"/> </svg>",
7
+ "tools": [
8
+ {
9
+ "name": "list_workflows",
10
+ "displayName": "List Workflows",
11
+ "description": "List workflow executions in a namespace. Supports Temporal visibility query syntax for filtering (e.g., WorkflowType=\"MyWorkflow\", ExecutionStatus=\"Running\"). Defaults to the namespace in the current browser tab if not specified.",
12
+ "summary": "List workflow executions with optional filtering",
13
+ "icon": "list",
14
+ "group": "Workflows",
15
+ "input_schema": {
16
+ "type": "object",
17
+ "properties": {
18
+ "namespace": {
19
+ "description": "Temporal namespace (e.g., \"prod-us-west-2.abc123\"). Defaults to the namespace in the current browser tab.",
20
+ "type": "string"
21
+ },
22
+ "query": {
23
+ "description": "Temporal visibility query filter (e.g., WorkflowType=\"MyWorkflow\" AND ExecutionStatus=\"Running\")",
24
+ "type": "string"
25
+ },
26
+ "page_size": {
27
+ "description": "Results per page (default 100, max 200)",
28
+ "type": "integer",
29
+ "minimum": 1,
30
+ "maximum": 200
31
+ },
32
+ "next_page_token": {
33
+ "description": "Pagination token from a previous response",
34
+ "type": "string"
35
+ }
36
+ },
37
+ "additionalProperties": false
38
+ },
39
+ "output_schema": {
40
+ "type": "object",
41
+ "properties": {
42
+ "workflows": {
43
+ "type": "array",
44
+ "items": {
45
+ "type": "object",
46
+ "properties": {
47
+ "workflow_id": {
48
+ "type": "string",
49
+ "description": "Workflow ID"
50
+ },
51
+ "run_id": {
52
+ "type": "string",
53
+ "description": "Run ID for this execution"
54
+ },
55
+ "type": {
56
+ "type": "string",
57
+ "description": "Workflow type name"
58
+ },
59
+ "status": {
60
+ "type": "string",
61
+ "description": "Execution status (e.g., WORKFLOW_EXECUTION_STATUS_RUNNING)"
62
+ },
63
+ "task_queue": {
64
+ "type": "string",
65
+ "description": "Task queue name"
66
+ },
67
+ "start_time": {
68
+ "type": "string",
69
+ "description": "ISO 8601 start timestamp"
70
+ },
71
+ "execution_time": {
72
+ "type": "string",
73
+ "description": "ISO 8601 execution timestamp"
74
+ },
75
+ "close_time": {
76
+ "type": "string",
77
+ "description": "ISO 8601 close timestamp (empty if running)"
78
+ },
79
+ "history_length": {
80
+ "type": "string",
81
+ "description": "Number of events in history"
82
+ },
83
+ "memo": {
84
+ "type": "object",
85
+ "propertyNames": {
86
+ "type": "string"
87
+ },
88
+ "additionalProperties": {
89
+ "type": "string"
90
+ },
91
+ "description": "Memo fields (key-value pairs)"
92
+ },
93
+ "parent_workflow_id": {
94
+ "type": "string",
95
+ "description": "Parent workflow ID (empty if none)"
96
+ },
97
+ "parent_run_id": {
98
+ "type": "string",
99
+ "description": "Parent run ID (empty if none)"
100
+ },
101
+ "root_workflow_id": {
102
+ "type": "string",
103
+ "description": "Root workflow ID"
104
+ },
105
+ "root_run_id": {
106
+ "type": "string",
107
+ "description": "Root run ID"
108
+ }
109
+ },
110
+ "required": [
111
+ "workflow_id",
112
+ "run_id",
113
+ "type",
114
+ "status",
115
+ "task_queue",
116
+ "start_time",
117
+ "execution_time",
118
+ "close_time",
119
+ "history_length",
120
+ "memo",
121
+ "parent_workflow_id",
122
+ "parent_run_id",
123
+ "root_workflow_id",
124
+ "root_run_id"
125
+ ],
126
+ "additionalProperties": false
127
+ },
128
+ "description": "Workflow executions"
129
+ },
130
+ "next_page_token": {
131
+ "type": "string",
132
+ "description": "Token for next page (empty if no more results)"
133
+ }
134
+ },
135
+ "required": [
136
+ "workflows",
137
+ "next_page_token"
138
+ ],
139
+ "additionalProperties": false
140
+ }
141
+ },
142
+ {
143
+ "name": "get_workflow",
144
+ "displayName": "Get Workflow",
145
+ "description": "Get detailed information about a specific workflow execution including configuration, status, history length, search attributes, and memo fields. Useful for debugging workflow state.",
146
+ "summary": "Get workflow execution details",
147
+ "icon": "file-text",
148
+ "group": "Workflows",
149
+ "input_schema": {
150
+ "type": "object",
151
+ "properties": {
152
+ "namespace": {
153
+ "description": "Temporal namespace (e.g., \"prod-us-west-2.abc123\"). Defaults to the namespace in the current browser tab.",
154
+ "type": "string"
155
+ },
156
+ "workflow_id": {
157
+ "type": "string",
158
+ "description": "Workflow ID"
159
+ },
160
+ "run_id": {
161
+ "description": "Run ID (optional — uses latest run if omitted)",
162
+ "type": "string"
163
+ }
164
+ },
165
+ "required": [
166
+ "workflow_id"
167
+ ],
168
+ "additionalProperties": false
169
+ },
170
+ "output_schema": {
171
+ "type": "object",
172
+ "properties": {
173
+ "workflow_id": {
174
+ "type": "string",
175
+ "description": "Workflow ID"
176
+ },
177
+ "run_id": {
178
+ "type": "string",
179
+ "description": "Run ID"
180
+ },
181
+ "type": {
182
+ "type": "string",
183
+ "description": "Workflow type name"
184
+ },
185
+ "status": {
186
+ "type": "string",
187
+ "description": "Execution status"
188
+ },
189
+ "task_queue": {
190
+ "type": "string",
191
+ "description": "Task queue name"
192
+ },
193
+ "start_time": {
194
+ "type": "string",
195
+ "description": "ISO 8601 start timestamp"
196
+ },
197
+ "execution_time": {
198
+ "type": "string",
199
+ "description": "ISO 8601 execution timestamp"
200
+ },
201
+ "close_time": {
202
+ "type": "string",
203
+ "description": "ISO 8601 close timestamp (empty if running)"
204
+ },
205
+ "history_length": {
206
+ "type": "string",
207
+ "description": "Number of events in history"
208
+ },
209
+ "history_size_bytes": {
210
+ "type": "string",
211
+ "description": "History size in bytes"
212
+ },
213
+ "state_transition_count": {
214
+ "type": "string",
215
+ "description": "Number of state transitions"
216
+ },
217
+ "first_run_id": {
218
+ "type": "string",
219
+ "description": "First run ID in the chain"
220
+ },
221
+ "execution_timeout": {
222
+ "type": "string",
223
+ "description": "Workflow execution timeout"
224
+ },
225
+ "run_timeout": {
226
+ "type": "string",
227
+ "description": "Workflow run timeout"
228
+ },
229
+ "task_timeout": {
230
+ "type": "string",
231
+ "description": "Workflow task timeout"
232
+ },
233
+ "memo": {
234
+ "type": "object",
235
+ "propertyNames": {
236
+ "type": "string"
237
+ },
238
+ "additionalProperties": {
239
+ "type": "string"
240
+ },
241
+ "description": "Memo fields"
242
+ },
243
+ "search_attributes": {
244
+ "type": "object",
245
+ "propertyNames": {
246
+ "type": "string"
247
+ },
248
+ "additionalProperties": {
249
+ "type": "string"
250
+ },
251
+ "description": "Search attributes (decoded)"
252
+ },
253
+ "parent_workflow_id": {
254
+ "type": "string",
255
+ "description": "Parent workflow ID (empty if none)"
256
+ },
257
+ "parent_run_id": {
258
+ "type": "string",
259
+ "description": "Parent run ID (empty if none)"
260
+ }
261
+ },
262
+ "required": [
263
+ "workflow_id",
264
+ "run_id",
265
+ "type",
266
+ "status",
267
+ "task_queue",
268
+ "start_time",
269
+ "execution_time",
270
+ "close_time",
271
+ "history_length",
272
+ "history_size_bytes",
273
+ "state_transition_count",
274
+ "first_run_id",
275
+ "execution_timeout",
276
+ "run_timeout",
277
+ "task_timeout",
278
+ "memo",
279
+ "search_attributes",
280
+ "parent_workflow_id",
281
+ "parent_run_id"
282
+ ],
283
+ "additionalProperties": false
284
+ }
285
+ },
286
+ {
287
+ "name": "get_workflow_history",
288
+ "displayName": "Get Workflow History",
289
+ "description": "Get the event history for a workflow execution. Events include workflow started, activity scheduled/started/completed/failed, timer fired, signals received, and more. Essential for debugging workflow behavior and understanding failures.",
290
+ "summary": "Get workflow event history for debugging",
291
+ "icon": "clock",
292
+ "group": "Workflows",
293
+ "input_schema": {
294
+ "type": "object",
295
+ "properties": {
296
+ "namespace": {
297
+ "description": "Temporal namespace (e.g., \"prod-us-west-2.abc123\"). Defaults to the namespace in the current browser tab.",
298
+ "type": "string"
299
+ },
300
+ "workflow_id": {
301
+ "type": "string",
302
+ "description": "Workflow ID"
303
+ },
304
+ "run_id": {
305
+ "description": "Run ID (optional — uses latest run if omitted)",
306
+ "type": "string"
307
+ },
308
+ "page_size": {
309
+ "description": "Max events per page (default 100, max 1000)",
310
+ "type": "integer",
311
+ "minimum": 1,
312
+ "maximum": 1000
313
+ },
314
+ "next_page_token": {
315
+ "description": "Pagination token from a previous response",
316
+ "type": "string"
317
+ },
318
+ "wait_new_event": {
319
+ "description": "Long-poll for new events (default false)",
320
+ "type": "boolean"
321
+ }
322
+ },
323
+ "required": [
324
+ "workflow_id"
325
+ ],
326
+ "additionalProperties": false
327
+ },
328
+ "output_schema": {
329
+ "type": "object",
330
+ "properties": {
331
+ "events": {
332
+ "type": "array",
333
+ "items": {
334
+ "type": "object",
335
+ "properties": {
336
+ "event_id": {
337
+ "type": "string",
338
+ "description": "Event ID (sequential number)"
339
+ },
340
+ "event_type": {
341
+ "type": "string",
342
+ "description": "Event type (e.g., EVENT_TYPE_WORKFLOW_EXECUTION_STARTED)"
343
+ },
344
+ "event_time": {
345
+ "type": "string",
346
+ "description": "ISO 8601 timestamp"
347
+ },
348
+ "attributes": {
349
+ "type": "object",
350
+ "propertyNames": {
351
+ "type": "string"
352
+ },
353
+ "additionalProperties": {},
354
+ "description": "Event-specific attributes"
355
+ }
356
+ },
357
+ "required": [
358
+ "event_id",
359
+ "event_type",
360
+ "event_time",
361
+ "attributes"
362
+ ],
363
+ "additionalProperties": false
364
+ },
365
+ "description": "History events"
366
+ },
367
+ "next_page_token": {
368
+ "type": "string",
369
+ "description": "Token for next page (empty if no more events)"
370
+ }
371
+ },
372
+ "required": [
373
+ "events",
374
+ "next_page_token"
375
+ ],
376
+ "additionalProperties": false
377
+ }
378
+ },
379
+ {
380
+ "name": "count_workflows",
381
+ "displayName": "Count Workflows",
382
+ "description": "Count workflow executions matching an optional visibility query. Useful for getting a quick overview of workflow states without fetching full execution data.",
383
+ "summary": "Count workflows matching a query",
384
+ "icon": "hash",
385
+ "group": "Workflows",
386
+ "input_schema": {
387
+ "type": "object",
388
+ "properties": {
389
+ "namespace": {
390
+ "description": "Temporal namespace (e.g., \"prod-us-west-2.abc123\"). Defaults to the namespace in the current browser tab.",
391
+ "type": "string"
392
+ },
393
+ "query": {
394
+ "description": "Temporal visibility query filter (e.g., ExecutionStatus=\"Failed\" AND CloseTime > \"2024-01-01\")",
395
+ "type": "string"
396
+ }
397
+ },
398
+ "additionalProperties": false
399
+ },
400
+ "output_schema": {
401
+ "type": "object",
402
+ "properties": {
403
+ "count": {
404
+ "type": "string",
405
+ "description": "Number of matching workflow executions"
406
+ }
407
+ },
408
+ "required": [
409
+ "count"
410
+ ],
411
+ "additionalProperties": false
412
+ }
413
+ },
414
+ {
415
+ "name": "list_schedules",
416
+ "displayName": "List Schedules",
417
+ "description": "List all schedules in a namespace. Shows schedule IDs, workflow types, intervals/crons, recent action counts, and next scheduled times.",
418
+ "summary": "List all schedules in the namespace",
419
+ "icon": "calendar",
420
+ "group": "Schedules",
421
+ "input_schema": {
422
+ "type": "object",
423
+ "properties": {
424
+ "namespace": {
425
+ "description": "Temporal namespace (e.g., \"prod-us-west-2.abc123\"). Defaults to the namespace in the current browser tab.",
426
+ "type": "string"
427
+ },
428
+ "page_size": {
429
+ "description": "Results per page (default 100, max 200)",
430
+ "type": "integer",
431
+ "minimum": 1,
432
+ "maximum": 200
433
+ },
434
+ "next_page_token": {
435
+ "description": "Pagination token from a previous response",
436
+ "type": "string"
437
+ }
438
+ },
439
+ "additionalProperties": false
440
+ },
441
+ "output_schema": {
442
+ "type": "object",
443
+ "properties": {
444
+ "schedules": {
445
+ "type": "array",
446
+ "items": {
447
+ "type": "object",
448
+ "properties": {
449
+ "schedule_id": {
450
+ "type": "string",
451
+ "description": "Schedule ID"
452
+ },
453
+ "workflow_type": {
454
+ "type": "string",
455
+ "description": "Workflow type that this schedule starts"
456
+ },
457
+ "task_queue": {
458
+ "type": "string",
459
+ "description": "Task queue for scheduled workflows"
460
+ },
461
+ "spec_summary": {
462
+ "type": "string",
463
+ "description": "Human-readable schedule spec (interval or cron)"
464
+ },
465
+ "overlap_policy": {
466
+ "type": "string",
467
+ "description": "Overlap policy"
468
+ },
469
+ "state": {
470
+ "type": "string",
471
+ "description": "Schedule state (active/paused)"
472
+ },
473
+ "recent_actions_count": {
474
+ "type": "integer",
475
+ "minimum": -9007199254740991,
476
+ "maximum": 9007199254740991,
477
+ "description": "Number of recent actions"
478
+ },
479
+ "next_action_times": {
480
+ "type": "array",
481
+ "items": {
482
+ "type": "string"
483
+ },
484
+ "description": "Next scheduled action times (ISO 8601)"
485
+ }
486
+ },
487
+ "required": [
488
+ "schedule_id",
489
+ "workflow_type",
490
+ "task_queue",
491
+ "spec_summary",
492
+ "overlap_policy",
493
+ "state",
494
+ "recent_actions_count",
495
+ "next_action_times"
496
+ ],
497
+ "additionalProperties": false
498
+ },
499
+ "description": "Schedule entries"
500
+ },
501
+ "next_page_token": {
502
+ "type": "string",
503
+ "description": "Token for next page (empty if no more results)"
504
+ }
505
+ },
506
+ "required": [
507
+ "schedules",
508
+ "next_page_token"
509
+ ],
510
+ "additionalProperties": false
511
+ }
512
+ },
513
+ {
514
+ "name": "get_schedule",
515
+ "displayName": "Get Schedule",
516
+ "description": "Get detailed information about a specific schedule including its spec (interval/cron), action configuration, policies, pause state, and recent execution history.",
517
+ "summary": "Get schedule details and recent actions",
518
+ "icon": "calendar-clock",
519
+ "group": "Schedules",
520
+ "input_schema": {
521
+ "type": "object",
522
+ "properties": {
523
+ "namespace": {
524
+ "description": "Temporal namespace (e.g., \"prod-us-west-2.abc123\"). Defaults to the namespace in the current browser tab.",
525
+ "type": "string"
526
+ },
527
+ "schedule_id": {
528
+ "type": "string",
529
+ "description": "Schedule ID"
530
+ }
531
+ },
532
+ "required": [
533
+ "schedule_id"
534
+ ],
535
+ "additionalProperties": false
536
+ },
537
+ "output_schema": {
538
+ "type": "object",
539
+ "properties": {
540
+ "schedule_id": {
541
+ "type": "string",
542
+ "description": "Schedule ID"
543
+ },
544
+ "workflow_type": {
545
+ "type": "string",
546
+ "description": "Workflow type that this schedule starts"
547
+ },
548
+ "workflow_id": {
549
+ "type": "string",
550
+ "description": "Workflow ID pattern"
551
+ },
552
+ "task_queue": {
553
+ "type": "string",
554
+ "description": "Task queue for scheduled workflows"
555
+ },
556
+ "spec_summary": {
557
+ "type": "string",
558
+ "description": "Human-readable schedule spec"
559
+ },
560
+ "overlap_policy": {
561
+ "type": "string",
562
+ "description": "Overlap policy"
563
+ },
564
+ "catchup_window": {
565
+ "type": "string",
566
+ "description": "Catchup window duration"
567
+ },
568
+ "paused": {
569
+ "type": "boolean",
570
+ "description": "Whether the schedule is paused"
571
+ },
572
+ "notes": {
573
+ "type": "string",
574
+ "description": "Schedule notes"
575
+ },
576
+ "action_count": {
577
+ "type": "string",
578
+ "description": "Total number of actions taken"
579
+ },
580
+ "recent_actions": {
581
+ "type": "array",
582
+ "items": {
583
+ "type": "object",
584
+ "properties": {
585
+ "schedule_time": {
586
+ "type": "string",
587
+ "description": "Scheduled time (ISO 8601)"
588
+ },
589
+ "actual_time": {
590
+ "type": "string",
591
+ "description": "Actual execution time (ISO 8601)"
592
+ },
593
+ "workflow_id": {
594
+ "type": "string",
595
+ "description": "Resulting workflow ID"
596
+ },
597
+ "run_id": {
598
+ "type": "string",
599
+ "description": "Resulting run ID"
600
+ },
601
+ "status": {
602
+ "type": "string",
603
+ "description": "Workflow execution status"
604
+ }
605
+ },
606
+ "required": [
607
+ "schedule_time",
608
+ "actual_time",
609
+ "workflow_id",
610
+ "run_id",
611
+ "status"
612
+ ],
613
+ "additionalProperties": false
614
+ },
615
+ "description": "Recent schedule actions"
616
+ },
617
+ "next_action_times": {
618
+ "type": "array",
619
+ "items": {
620
+ "type": "string"
621
+ },
622
+ "description": "Next scheduled action times (ISO 8601)"
623
+ }
624
+ },
625
+ "required": [
626
+ "schedule_id",
627
+ "workflow_type",
628
+ "workflow_id",
629
+ "task_queue",
630
+ "spec_summary",
631
+ "overlap_policy",
632
+ "catchup_window",
633
+ "paused",
634
+ "notes",
635
+ "action_count",
636
+ "recent_actions",
637
+ "next_action_times"
638
+ ],
639
+ "additionalProperties": false
640
+ }
641
+ },
642
+ {
643
+ "name": "get_task_queue",
644
+ "displayName": "Get Task Queue",
645
+ "description": "Get information about a task queue including active pollers (workers), their identities, last access times, build IDs, and rate limits. Useful for debugging worker connectivity issues.",
646
+ "summary": "Get task queue pollers and worker info",
647
+ "icon": "server",
648
+ "group": "Infrastructure",
649
+ "input_schema": {
650
+ "type": "object",
651
+ "properties": {
652
+ "namespace": {
653
+ "description": "Temporal namespace (e.g., \"prod-us-west-2.abc123\"). Defaults to the namespace in the current browser tab.",
654
+ "type": "string"
655
+ },
656
+ "task_queue": {
657
+ "type": "string",
658
+ "description": "Task queue name"
659
+ }
660
+ },
661
+ "required": [
662
+ "task_queue"
663
+ ],
664
+ "additionalProperties": false
665
+ },
666
+ "output_schema": {
667
+ "type": "object",
668
+ "properties": {
669
+ "pollers": {
670
+ "type": "array",
671
+ "items": {
672
+ "type": "object",
673
+ "properties": {
674
+ "identity": {
675
+ "type": "string",
676
+ "description": "Worker identity"
677
+ },
678
+ "last_access_time": {
679
+ "type": "string",
680
+ "description": "Last poll time (ISO 8601)"
681
+ },
682
+ "rate_per_second": {
683
+ "type": "number",
684
+ "description": "Worker rate per second"
685
+ },
686
+ "worker_version_capabilities_build_id": {
687
+ "type": "string",
688
+ "description": "Worker build ID"
689
+ }
690
+ },
691
+ "required": [
692
+ "identity",
693
+ "last_access_time",
694
+ "rate_per_second",
695
+ "worker_version_capabilities_build_id"
696
+ ],
697
+ "additionalProperties": false
698
+ },
699
+ "description": "Active pollers (workers) on this queue"
700
+ },
701
+ "rate_limit_per_second": {
702
+ "type": "number",
703
+ "description": "Effective rate limit per second (0 = unlimited)"
704
+ },
705
+ "rate_limit_source": {
706
+ "type": "string",
707
+ "description": "Source of the rate limit (e.g., RATE_LIMIT_SOURCE_SYSTEM)"
708
+ }
709
+ },
710
+ "required": [
711
+ "pollers",
712
+ "rate_limit_per_second",
713
+ "rate_limit_source"
714
+ ],
715
+ "additionalProperties": false
716
+ }
717
+ },
718
+ {
719
+ "name": "get_settings",
720
+ "displayName": "Get Settings",
721
+ "description": "Get the Temporal UI settings for a namespace. Shows which actions are enabled/disabled (terminate, cancel, signal, reset, etc.), the server version, and codec configuration.",
722
+ "summary": "Get namespace UI settings and capabilities",
723
+ "icon": "settings",
724
+ "group": "Infrastructure",
725
+ "input_schema": {
726
+ "type": "object",
727
+ "properties": {
728
+ "namespace": {
729
+ "description": "Temporal namespace (e.g., \"prod-us-west-2.abc123\"). Defaults to the namespace in the current browser tab.",
730
+ "type": "string"
731
+ }
732
+ },
733
+ "additionalProperties": false
734
+ },
735
+ "output_schema": {
736
+ "type": "object",
737
+ "properties": {
738
+ "version": {
739
+ "type": "string",
740
+ "description": "Temporal server version"
741
+ },
742
+ "disable_write_actions": {
743
+ "type": "boolean",
744
+ "description": "Whether all write actions are disabled"
745
+ },
746
+ "workflow_terminate_disabled": {
747
+ "type": "boolean",
748
+ "description": "Whether workflow terminate is disabled"
749
+ },
750
+ "workflow_cancel_disabled": {
751
+ "type": "boolean",
752
+ "description": "Whether workflow cancel is disabled"
753
+ },
754
+ "workflow_signal_disabled": {
755
+ "type": "boolean",
756
+ "description": "Whether workflow signal is disabled"
757
+ },
758
+ "workflow_reset_disabled": {
759
+ "type": "boolean",
760
+ "description": "Whether workflow reset is disabled"
761
+ },
762
+ "workflow_pause_disabled": {
763
+ "type": "boolean",
764
+ "description": "Whether workflow pause is disabled"
765
+ },
766
+ "start_workflow_disabled": {
767
+ "type": "boolean",
768
+ "description": "Whether starting workflows is disabled"
769
+ },
770
+ "batch_actions_disabled": {
771
+ "type": "boolean",
772
+ "description": "Whether batch actions are disabled"
773
+ }
774
+ },
775
+ "required": [
776
+ "version",
777
+ "disable_write_actions",
778
+ "workflow_terminate_disabled",
779
+ "workflow_cancel_disabled",
780
+ "workflow_signal_disabled",
781
+ "workflow_reset_disabled",
782
+ "workflow_pause_disabled",
783
+ "start_workflow_disabled",
784
+ "batch_actions_disabled"
785
+ ],
786
+ "additionalProperties": false
787
+ }
788
+ }
789
+ ]
790
+ }