@rudderhq/agent-runtime-utils 0.7.24-canary.2 → 0.7.24-canary.20

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 (78) hide show
  1. package/dist/contract-shards/rudder-agent-contract-capabilities-000.d.ts +1074 -0
  2. package/dist/contract-shards/rudder-agent-contract-capabilities-000.d.ts.map +1 -0
  3. package/dist/contract-shards/rudder-agent-contract-capabilities-000.js +1195 -0
  4. package/dist/contract-shards/rudder-agent-contract-capabilities-000.js.map +1 -0
  5. package/dist/contract-shards/rudder-agent-contract-capabilities-001.d.ts +1088 -0
  6. package/dist/contract-shards/rudder-agent-contract-capabilities-001.d.ts.map +1 -0
  7. package/dist/contract-shards/rudder-agent-contract-capabilities-001.js +1172 -0
  8. package/dist/contract-shards/rudder-agent-contract-capabilities-001.js.map +1 -0
  9. package/dist/contract-shards/rudder-agent-contract-capabilities-002.d.ts +1108 -0
  10. package/dist/contract-shards/rudder-agent-contract-capabilities-002.d.ts.map +1 -0
  11. package/dist/contract-shards/rudder-agent-contract-capabilities-002.js +1187 -0
  12. package/dist/contract-shards/rudder-agent-contract-capabilities-002.js.map +1 -0
  13. package/dist/contract-shards/rudder-agent-contract-capabilities-003.d.ts +942 -0
  14. package/dist/contract-shards/rudder-agent-contract-capabilities-003.d.ts.map +1 -0
  15. package/dist/contract-shards/rudder-agent-contract-capabilities-003.js +1155 -0
  16. package/dist/contract-shards/rudder-agent-contract-capabilities-003.js.map +1 -0
  17. package/dist/contract-shards/rudder-agent-contract-capabilities-004.d.ts +733 -0
  18. package/dist/contract-shards/rudder-agent-contract-capabilities-004.d.ts.map +1 -0
  19. package/dist/contract-shards/rudder-agent-contract-capabilities-004.js +897 -0
  20. package/dist/contract-shards/rudder-agent-contract-capabilities-004.js.map +1 -0
  21. package/dist/contract-shards/rudder-agent-contract-capabilities-005.d.ts +1025 -0
  22. package/dist/contract-shards/rudder-agent-contract-capabilities-005.d.ts.map +1 -0
  23. package/dist/contract-shards/rudder-agent-contract-capabilities-005.js +1189 -0
  24. package/dist/contract-shards/rudder-agent-contract-capabilities-005.js.map +1 -0
  25. package/dist/contract-shards/rudder-agent-contract-capabilities-006.d.ts +1094 -0
  26. package/dist/contract-shards/rudder-agent-contract-capabilities-006.d.ts.map +1 -0
  27. package/dist/contract-shards/rudder-agent-contract-capabilities-006.js +1156 -0
  28. package/dist/contract-shards/rudder-agent-contract-capabilities-006.js.map +1 -0
  29. package/dist/contract-shards/rudder-agent-contract-capabilities-007.d.ts +344 -0
  30. package/dist/contract-shards/rudder-agent-contract-capabilities-007.d.ts.map +1 -0
  31. package/dist/contract-shards/rudder-agent-contract-capabilities-007.js +365 -0
  32. package/dist/contract-shards/rudder-agent-contract-capabilities-007.js.map +1 -0
  33. package/dist/contract-shards/rudder-mcp-tool-descriptors-000.d.ts +1084 -0
  34. package/dist/contract-shards/rudder-mcp-tool-descriptors-000.d.ts.map +1 -0
  35. package/dist/contract-shards/rudder-mcp-tool-descriptors-000.js +1190 -0
  36. package/dist/contract-shards/rudder-mcp-tool-descriptors-000.js.map +1 -0
  37. package/dist/contract-shards/rudder-mcp-tool-descriptors-001.d.ts +988 -0
  38. package/dist/contract-shards/rudder-mcp-tool-descriptors-001.d.ts.map +1 -0
  39. package/dist/contract-shards/rudder-mcp-tool-descriptors-001.js +1187 -0
  40. package/dist/contract-shards/rudder-mcp-tool-descriptors-001.js.map +1 -0
  41. package/dist/contract-shards/rudder-mcp-tool-descriptors-002.d.ts +934 -0
  42. package/dist/contract-shards/rudder-mcp-tool-descriptors-002.d.ts.map +1 -0
  43. package/dist/contract-shards/rudder-mcp-tool-descriptors-002.js +1161 -0
  44. package/dist/contract-shards/rudder-mcp-tool-descriptors-002.js.map +1 -0
  45. package/dist/contract-shards/rudder-mcp-tool-descriptors-003.d.ts +1014 -0
  46. package/dist/contract-shards/rudder-mcp-tool-descriptors-003.d.ts.map +1 -0
  47. package/dist/contract-shards/rudder-mcp-tool-descriptors-003.js +1187 -0
  48. package/dist/contract-shards/rudder-mcp-tool-descriptors-003.js.map +1 -0
  49. package/dist/contract-shards/rudder-mcp-tool-descriptors-004.d.ts +987 -0
  50. package/dist/contract-shards/rudder-mcp-tool-descriptors-004.d.ts.map +1 -0
  51. package/dist/contract-shards/rudder-mcp-tool-descriptors-004.js +1059 -0
  52. package/dist/contract-shards/rudder-mcp-tool-descriptors-004.js.map +1 -0
  53. package/dist/gemini-cli-history.d.ts +4 -0
  54. package/dist/gemini-cli-history.d.ts.map +1 -0
  55. package/dist/gemini-cli-history.js +228 -0
  56. package/dist/gemini-cli-history.js.map +1 -0
  57. package/dist/native-process-runner.d.ts +2 -0
  58. package/dist/native-process-runner.d.ts.map +1 -1
  59. package/dist/native-process-runner.js +36 -18
  60. package/dist/native-process-runner.js.map +1 -1
  61. package/dist/native-process-runner.test.js +95 -2
  62. package/dist/native-process-runner.test.js.map +1 -1
  63. package/dist/rudder-agent-contract.generated.d.ts +60 -3
  64. package/dist/rudder-agent-contract.generated.d.ts.map +1 -1
  65. package/dist/rudder-agent-contract.generated.js +70 -8277
  66. package/dist/rudder-agent-contract.generated.js.map +1 -1
  67. package/dist/rudder-agent-contract.test.js +46 -4
  68. package/dist/rudder-agent-contract.test.js.map +1 -1
  69. package/dist/rudder-mcp-contract.d.ts +41 -1
  70. package/dist/rudder-mcp-contract.d.ts.map +1 -1
  71. package/dist/rudder-mcp-tool-descriptors.generated.d.ts +42 -2
  72. package/dist/rudder-mcp-tool-descriptors.generated.d.ts.map +1 -1
  73. package/dist/rudder-mcp-tool-descriptors.generated.js +50 -5760
  74. package/dist/rudder-mcp-tool-descriptors.generated.js.map +1 -1
  75. package/dist/session-compaction.d.ts.map +1 -1
  76. package/dist/session-compaction.js +0 -6
  77. package/dist/session-compaction.js.map +1 -1
  78. package/package.json +2 -2
@@ -0,0 +1,1059 @@
1
+ // Generated by scripts/generate-rudder-mcp-tool-descriptors.ts. Do not edit by hand.
2
+ export const GENERATED_RUDDER_MCP_TOOL_DESCRIPTORS_004 = [
3
+ {
4
+ "capabilityId": "automation.disable",
5
+ "name": "rudder_automation_disable",
6
+ "description": "Disable an automation by setting status to paused.",
7
+ "semanticDescription": "Disable an automation by setting status to paused. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: attached from runtime env when available.",
8
+ "annotations": {
9
+ "destructiveHint": true,
10
+ "idempotentHint": false,
11
+ "readOnlyHint": false,
12
+ "title": "Disable an automation by setting status to paused"
13
+ },
14
+ "mutating": true,
15
+ "requiresOrgId": false,
16
+ "requiresAgentId": false,
17
+ "attachesRunIdWhenAvailable": true,
18
+ "inputSchema": {
19
+ "additionalProperties": false,
20
+ "properties": {
21
+ "automation": {
22
+ "description": "Automation UUID or short reference.",
23
+ "maxLength": 200,
24
+ "minLength": 1,
25
+ "type": "string"
26
+ }
27
+ },
28
+ "required": [
29
+ "automation"
30
+ ],
31
+ "type": "object"
32
+ }
33
+ },
34
+ {
35
+ "capabilityId": "automation.run",
36
+ "name": "rudder_automation_run",
37
+ "description": "Trigger a manual automation run.",
38
+ "semanticDescription": "Trigger a manual automation run. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: attached from runtime env when available.",
39
+ "annotations": {
40
+ "destructiveHint": false,
41
+ "idempotentHint": false,
42
+ "readOnlyHint": false,
43
+ "title": "Trigger a manual automation run"
44
+ },
45
+ "mutating": true,
46
+ "requiresOrgId": false,
47
+ "requiresAgentId": false,
48
+ "attachesRunIdWhenAvailable": true,
49
+ "inputSchema": {
50
+ "additionalProperties": false,
51
+ "properties": {
52
+ "automation": {
53
+ "description": "Automation UUID or short reference.",
54
+ "maxLength": 200,
55
+ "minLength": 1,
56
+ "type": "string"
57
+ },
58
+ "idempotencyKey": {
59
+ "description": "Idempotency key.",
60
+ "maxLength": 500,
61
+ "minLength": 1,
62
+ "type": "string"
63
+ },
64
+ "payload": {
65
+ "description": "JSON payload object or JSON string.",
66
+ "type": [
67
+ "object",
68
+ "string"
69
+ ]
70
+ },
71
+ "source": {
72
+ "description": "Invocation source.",
73
+ "maxLength": 500,
74
+ "minLength": 1,
75
+ "type": "string"
76
+ },
77
+ "triggerId": {
78
+ "description": "Trigger id.",
79
+ "maxLength": 200,
80
+ "minLength": 1,
81
+ "type": "string"
82
+ }
83
+ },
84
+ "required": [
85
+ "automation"
86
+ ],
87
+ "type": "object"
88
+ }
89
+ },
90
+ {
91
+ "capabilityId": "chat.list",
92
+ "name": "rudder_chat_list",
93
+ "description": "List chat conversations without dumping full message history.",
94
+ "semanticDescription": "List chat conversations without dumping full message history. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: runtime env when available. Run attribution: not attached.",
95
+ "annotations": {
96
+ "destructiveHint": false,
97
+ "idempotentHint": true,
98
+ "readOnlyHint": true,
99
+ "title": "List chat conversations without dumping full message history"
100
+ },
101
+ "mutating": false,
102
+ "requiresOrgId": true,
103
+ "requiresAgentId": false,
104
+ "attachesRunIdWhenAvailable": false,
105
+ "inputSchema": {
106
+ "additionalProperties": false,
107
+ "properties": {
108
+ "limit": {
109
+ "description": "Maximum chat rows.",
110
+ "maximum": 100,
111
+ "minimum": 1,
112
+ "type": "number"
113
+ },
114
+ "query": {
115
+ "description": "Optional chat query.",
116
+ "maxLength": 2000,
117
+ "minLength": 1,
118
+ "type": "string"
119
+ },
120
+ "status": {
121
+ "description": "Chat status filter.",
122
+ "maxLength": 100,
123
+ "minLength": 1,
124
+ "type": "string"
125
+ }
126
+ },
127
+ "type": "object"
128
+ }
129
+ },
130
+ {
131
+ "capabilityId": "chat.search",
132
+ "name": "rudder_chat_search",
133
+ "description": "Search chats with bounded snippets and optional scope filtering.",
134
+ "semanticDescription": "Search chats with bounded snippets and optional scope filtering. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: runtime env when available. Run attribution: not attached.",
135
+ "annotations": {
136
+ "destructiveHint": false,
137
+ "idempotentHint": true,
138
+ "readOnlyHint": true,
139
+ "title": "Search chats with bounded snippets and optional scope filtering"
140
+ },
141
+ "mutating": false,
142
+ "requiresOrgId": true,
143
+ "requiresAgentId": false,
144
+ "attachesRunIdWhenAvailable": false,
145
+ "inputSchema": {
146
+ "additionalProperties": false,
147
+ "properties": {
148
+ "limit": {
149
+ "description": "Maximum matches.",
150
+ "maximum": 100,
151
+ "minimum": 1,
152
+ "type": "number"
153
+ },
154
+ "query": {
155
+ "description": "Non-empty chat search query.",
156
+ "maxLength": 2000,
157
+ "minLength": 1,
158
+ "type": "string"
159
+ },
160
+ "scope": {
161
+ "description": "Search scope.",
162
+ "maxLength": 100,
163
+ "minLength": 1,
164
+ "type": "string"
165
+ },
166
+ "snippetChars": {
167
+ "description": "Maximum snippet characters.",
168
+ "maximum": 10000,
169
+ "minimum": 100,
170
+ "type": "number"
171
+ },
172
+ "status": {
173
+ "description": "Chat status filter.",
174
+ "maxLength": 100,
175
+ "minLength": 1,
176
+ "type": "string"
177
+ }
178
+ },
179
+ "required": [
180
+ "query"
181
+ ],
182
+ "type": "object"
183
+ }
184
+ },
185
+ {
186
+ "capabilityId": "chat.get",
187
+ "name": "rudder_chat_get",
188
+ "description": "Read one chat conversation record.",
189
+ "semanticDescription": "Read one chat conversation record. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: not attached.",
190
+ "annotations": {
191
+ "destructiveHint": false,
192
+ "idempotentHint": true,
193
+ "readOnlyHint": true,
194
+ "title": "Read one chat conversation record"
195
+ },
196
+ "mutating": false,
197
+ "requiresOrgId": false,
198
+ "requiresAgentId": false,
199
+ "attachesRunIdWhenAvailable": false,
200
+ "inputSchema": {
201
+ "additionalProperties": false,
202
+ "properties": {
203
+ "chat": {
204
+ "description": "Chat conversation UUID or short reference.",
205
+ "maxLength": 200,
206
+ "minLength": 1,
207
+ "type": "string"
208
+ }
209
+ },
210
+ "required": [
211
+ "chat"
212
+ ],
213
+ "type": "object"
214
+ }
215
+ },
216
+ {
217
+ "capabilityId": "chat.messages",
218
+ "name": "rudder_chat_messages",
219
+ "description": "Read bounded chat messages with page cursors; transcript output is omitted unless requested.",
220
+ "semanticDescription": "Read bounded chat messages with page cursors; transcript output is omitted unless requested. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: not attached.",
221
+ "annotations": {
222
+ "destructiveHint": false,
223
+ "idempotentHint": true,
224
+ "readOnlyHint": true,
225
+ "title": "Read bounded chat messages with page cursors"
226
+ },
227
+ "mutating": false,
228
+ "requiresOrgId": false,
229
+ "requiresAgentId": false,
230
+ "attachesRunIdWhenAvailable": false,
231
+ "inputSchema": {
232
+ "additionalProperties": false,
233
+ "properties": {
234
+ "chat": {
235
+ "description": "Chat conversation UUID or short reference.",
236
+ "maxLength": 200,
237
+ "minLength": 1,
238
+ "type": "string"
239
+ },
240
+ "cursor": {
241
+ "description": "Opaque pagination cursor.",
242
+ "maxLength": 2000,
243
+ "minLength": 1,
244
+ "type": "string"
245
+ },
246
+ "includeOutput": {
247
+ "description": "Compatibility alias for includeTranscript.",
248
+ "type": "boolean"
249
+ },
250
+ "includeTranscript": {
251
+ "description": "Include bounded transcript data.",
252
+ "type": "boolean"
253
+ },
254
+ "limit": {
255
+ "description": "Maximum message rows.",
256
+ "maximum": 100,
257
+ "minimum": 1,
258
+ "type": "number"
259
+ },
260
+ "maxOutputChars": {
261
+ "description": "Maximum output characters per row.",
262
+ "maximum": 20000,
263
+ "minimum": 100,
264
+ "type": "number"
265
+ }
266
+ },
267
+ "required": [
268
+ "chat"
269
+ ],
270
+ "type": "object"
271
+ }
272
+ },
273
+ {
274
+ "capabilityId": "chat.transcript",
275
+ "name": "rudder_chat_transcript",
276
+ "description": "Read paginated chat messages with assistant transcript entries clipped in human output.",
277
+ "semanticDescription": "Read paginated chat messages with assistant transcript entries clipped in human output. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: not attached.",
278
+ "annotations": {
279
+ "destructiveHint": false,
280
+ "idempotentHint": true,
281
+ "readOnlyHint": true,
282
+ "title": "Read paginated chat messages with assistant transcript entries clipped in human output"
283
+ },
284
+ "mutating": false,
285
+ "requiresOrgId": false,
286
+ "requiresAgentId": false,
287
+ "attachesRunIdWhenAvailable": false,
288
+ "inputSchema": {
289
+ "additionalProperties": false,
290
+ "properties": {
291
+ "chat": {
292
+ "description": "Chat conversation UUID or short reference.",
293
+ "maxLength": 200,
294
+ "minLength": 1,
295
+ "type": "string"
296
+ },
297
+ "cursor": {
298
+ "description": "Opaque pagination cursor.",
299
+ "maxLength": 2000,
300
+ "minLength": 1,
301
+ "type": "string"
302
+ },
303
+ "limit": {
304
+ "description": "Maximum transcript rows.",
305
+ "maximum": 100,
306
+ "minimum": 1,
307
+ "type": "number"
308
+ },
309
+ "maxOutputChars": {
310
+ "description": "Maximum output characters per row.",
311
+ "maximum": 20000,
312
+ "minimum": 100,
313
+ "type": "number"
314
+ }
315
+ },
316
+ "required": [
317
+ "chat"
318
+ ],
319
+ "type": "object"
320
+ }
321
+ },
322
+ {
323
+ "capabilityId": "chat.read",
324
+ "name": "rudder_chat_read",
325
+ "description": "Read a bounded recent-message snapshot for one chat with page cursors.",
326
+ "semanticDescription": "Read a bounded recent-message snapshot for one chat with page cursors. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: not attached.",
327
+ "annotations": {
328
+ "destructiveHint": false,
329
+ "idempotentHint": true,
330
+ "readOnlyHint": true,
331
+ "title": "Read a bounded recent-message snapshot for one chat with page cursors"
332
+ },
333
+ "mutating": false,
334
+ "requiresOrgId": false,
335
+ "requiresAgentId": false,
336
+ "attachesRunIdWhenAvailable": false,
337
+ "inputSchema": {
338
+ "additionalProperties": false,
339
+ "properties": {
340
+ "chat": {
341
+ "description": "Chat conversation UUID or short reference.",
342
+ "maxLength": 200,
343
+ "minLength": 1,
344
+ "type": "string"
345
+ },
346
+ "cursor": {
347
+ "description": "Opaque pagination cursor.",
348
+ "maxLength": 2000,
349
+ "minLength": 1,
350
+ "type": "string"
351
+ },
352
+ "includeOutput": {
353
+ "description": "Compatibility alias for includeTranscript.",
354
+ "type": "boolean"
355
+ },
356
+ "includeTranscript": {
357
+ "description": "Include bounded transcript data.",
358
+ "type": "boolean"
359
+ },
360
+ "limit": {
361
+ "description": "Maximum message rows.",
362
+ "maximum": 100,
363
+ "minimum": 1,
364
+ "type": "number"
365
+ },
366
+ "maxOutputChars": {
367
+ "description": "Maximum output characters per row.",
368
+ "maximum": 20000,
369
+ "minimum": 100,
370
+ "type": "number"
371
+ },
372
+ "turnLimit": {
373
+ "description": "Maximum transcript turns.",
374
+ "maximum": 100,
375
+ "minimum": 1,
376
+ "type": "number"
377
+ }
378
+ },
379
+ "required": [
380
+ "chat"
381
+ ],
382
+ "type": "object"
383
+ }
384
+ },
385
+ {
386
+ "capabilityId": "chat.create",
387
+ "name": "rudder_chat_create",
388
+ "description": "Create a chat conversation with its first message.",
389
+ "semanticDescription": "Create a chat conversation with its first message. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: runtime env when available. Run attribution: attached from runtime env when available.",
390
+ "annotations": {
391
+ "destructiveHint": false,
392
+ "idempotentHint": false,
393
+ "readOnlyHint": false,
394
+ "title": "Create a chat conversation with its first message"
395
+ },
396
+ "mutating": true,
397
+ "requiresOrgId": true,
398
+ "requiresAgentId": false,
399
+ "attachesRunIdWhenAvailable": true,
400
+ "inputSchema": {
401
+ "additionalProperties": false,
402
+ "properties": {
403
+ "body": {
404
+ "description": "Initial agent-authored chat message.",
405
+ "maxLength": 500000,
406
+ "minLength": 1,
407
+ "type": "string"
408
+ },
409
+ "issueCreationMode": {
410
+ "description": "Issue creation mode.",
411
+ "maxLength": 100,
412
+ "minLength": 1,
413
+ "type": "string"
414
+ },
415
+ "payload": {
416
+ "description": "JSON payload object or JSON string.",
417
+ "type": [
418
+ "object",
419
+ "string"
420
+ ]
421
+ },
422
+ "planMode": {
423
+ "description": "Start the chat in plan mode.",
424
+ "type": "boolean"
425
+ },
426
+ "preferredAgentId": {
427
+ "description": "Preferred responding agent id.",
428
+ "maxLength": 200,
429
+ "minLength": 1,
430
+ "type": "string"
431
+ },
432
+ "summary": {
433
+ "description": "Chat summary.",
434
+ "maxLength": 10000,
435
+ "minLength": 1,
436
+ "type": "string"
437
+ },
438
+ "title": {
439
+ "description": "Chat title.",
440
+ "maxLength": 500,
441
+ "minLength": 1,
442
+ "type": "string"
443
+ }
444
+ },
445
+ "required": [
446
+ "body"
447
+ ],
448
+ "type": "object"
449
+ }
450
+ },
451
+ {
452
+ "capabilityId": "chat.send",
453
+ "name": "rudder_chat_send",
454
+ "description": "Send an agent-authored message directly to the operator in a chat.",
455
+ "semanticDescription": "Send an agent-authored message directly to the operator in a chat. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: required from runtime env. Run attribution: attached from runtime env when available.",
456
+ "annotations": {
457
+ "destructiveHint": false,
458
+ "idempotentHint": false,
459
+ "readOnlyHint": false,
460
+ "title": "Send an agent-authored message directly to the operator in a chat"
461
+ },
462
+ "mutating": true,
463
+ "requiresOrgId": false,
464
+ "requiresAgentId": true,
465
+ "attachesRunIdWhenAvailable": true,
466
+ "inputSchema": {
467
+ "additionalProperties": false,
468
+ "properties": {
469
+ "body": {
470
+ "description": "Agent-authored chat message.",
471
+ "maxLength": 500000,
472
+ "minLength": 1,
473
+ "type": "string"
474
+ },
475
+ "chat": {
476
+ "description": "Chat conversation UUID or short reference.",
477
+ "maxLength": 200,
478
+ "minLength": 1,
479
+ "type": "string"
480
+ },
481
+ "editUserMessageId": {
482
+ "description": "User message id to edit.",
483
+ "maxLength": 200,
484
+ "minLength": 1,
485
+ "type": "string"
486
+ }
487
+ },
488
+ "required": [
489
+ "chat",
490
+ "body"
491
+ ],
492
+ "type": "object"
493
+ }
494
+ },
495
+ {
496
+ "capabilityId": "chat.archive",
497
+ "name": "rudder_chat_archive",
498
+ "description": "Archive a chat conversation without deleting it.",
499
+ "semanticDescription": "Archive a chat conversation without deleting it. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: attached from runtime env when available.",
500
+ "annotations": {
501
+ "destructiveHint": true,
502
+ "idempotentHint": false,
503
+ "readOnlyHint": false,
504
+ "title": "Archive a chat conversation without deleting it"
505
+ },
506
+ "mutating": true,
507
+ "requiresOrgId": false,
508
+ "requiresAgentId": false,
509
+ "attachesRunIdWhenAvailable": true,
510
+ "inputSchema": {
511
+ "additionalProperties": false,
512
+ "properties": {
513
+ "chat": {
514
+ "description": "Chat conversation UUID or short reference.",
515
+ "maxLength": 200,
516
+ "minLength": 1,
517
+ "type": "string"
518
+ }
519
+ },
520
+ "required": [
521
+ "chat"
522
+ ],
523
+ "type": "object"
524
+ }
525
+ },
526
+ {
527
+ "capabilityId": "runs.list",
528
+ "name": "rudder_runs_list",
529
+ "description": "List lightweight run summaries with stable pagination and filters; use --full only for legacy full-row compatibility.",
530
+ "semanticDescription": "List lightweight run summaries with stable pagination and filters; use --full only for legacy full-row compatibility. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: runtime env when available. Run attribution: not attached.",
531
+ "annotations": {
532
+ "destructiveHint": false,
533
+ "idempotentHint": true,
534
+ "readOnlyHint": true,
535
+ "title": "List lightweight run summaries with stable pagination and filters"
536
+ },
537
+ "mutating": false,
538
+ "requiresOrgId": true,
539
+ "requiresAgentId": false,
540
+ "attachesRunIdWhenAvailable": false,
541
+ "inputSchema": {
542
+ "additionalProperties": false,
543
+ "properties": {
544
+ "createdBefore": {
545
+ "description": "Only runs created before this timestamp.",
546
+ "maxLength": 100,
547
+ "minLength": 1,
548
+ "type": "string"
549
+ },
550
+ "cursor": {
551
+ "description": "Opaque pagination cursor.",
552
+ "maxLength": 2000,
553
+ "minLength": 1,
554
+ "type": "string"
555
+ },
556
+ "issueId": {
557
+ "description": "Linked issue id filter.",
558
+ "maxLength": 200,
559
+ "minLength": 1,
560
+ "type": "string"
561
+ },
562
+ "limit": {
563
+ "description": "Summary page size.",
564
+ "maximum": 100,
565
+ "minimum": 1,
566
+ "type": "number"
567
+ },
568
+ "loadedSkill": {
569
+ "description": "Loaded skill filter.",
570
+ "maxLength": 500,
571
+ "minLength": 1,
572
+ "type": "string"
573
+ },
574
+ "relatedAgentId": {
575
+ "description": "Agent id filter.",
576
+ "maxLength": 200,
577
+ "minLength": 1,
578
+ "type": "string"
579
+ },
580
+ "runIdPrefix": {
581
+ "description": "Run id prefix filter.",
582
+ "maxLength": 200,
583
+ "minLength": 1,
584
+ "type": "string"
585
+ },
586
+ "runtime": {
587
+ "description": "Runtime type filter.",
588
+ "maxLength": 100,
589
+ "minLength": 1,
590
+ "type": "string"
591
+ },
592
+ "status": {
593
+ "description": "Run status filter.",
594
+ "maxLength": 100,
595
+ "minLength": 1,
596
+ "type": "string"
597
+ },
598
+ "updatedAfter": {
599
+ "description": "Only runs updated after this timestamp.",
600
+ "maxLength": 100,
601
+ "minLength": 1,
602
+ "type": "string"
603
+ },
604
+ "usedSkill": {
605
+ "description": "Used skill filter.",
606
+ "maxLength": 500,
607
+ "minLength": 1,
608
+ "type": "string"
609
+ }
610
+ },
611
+ "type": "object"
612
+ }
613
+ },
614
+ {
615
+ "capabilityId": "runs.by-skill",
616
+ "name": "rudder_runs_by_skill",
617
+ "description": "Build a paginated skill evidence packet from lightweight run summaries; use --full only for legacy full-row compatibility.",
618
+ "semanticDescription": "Build a paginated skill evidence packet from lightweight run summaries; use --full only for legacy full-row compatibility. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: runtime env when available. Run attribution: not attached.",
619
+ "annotations": {
620
+ "destructiveHint": false,
621
+ "idempotentHint": true,
622
+ "readOnlyHint": true,
623
+ "title": "Build a paginated skill evidence packet from lightweight run summaries"
624
+ },
625
+ "mutating": false,
626
+ "requiresOrgId": true,
627
+ "requiresAgentId": false,
628
+ "attachesRunIdWhenAvailable": false,
629
+ "inputSchema": {
630
+ "additionalProperties": false,
631
+ "properties": {
632
+ "createdBefore": {
633
+ "description": "Only runs created before this timestamp.",
634
+ "maxLength": 100,
635
+ "minLength": 1,
636
+ "type": "string"
637
+ },
638
+ "cursor": {
639
+ "description": "Opaque pagination cursor.",
640
+ "maxLength": 2000,
641
+ "minLength": 1,
642
+ "type": "string"
643
+ },
644
+ "evidence": {
645
+ "description": "Skill evidence type.",
646
+ "enum": [
647
+ "used",
648
+ "loaded"
649
+ ],
650
+ "maxLength": 20,
651
+ "minLength": 1,
652
+ "type": "string"
653
+ },
654
+ "issueId": {
655
+ "description": "Linked issue id filter.",
656
+ "maxLength": 200,
657
+ "minLength": 1,
658
+ "type": "string"
659
+ },
660
+ "limit": {
661
+ "description": "Summary page size.",
662
+ "maximum": 100,
663
+ "minimum": 1,
664
+ "type": "number"
665
+ },
666
+ "relatedAgentId": {
667
+ "description": "Agent id filter.",
668
+ "maxLength": 200,
669
+ "minLength": 1,
670
+ "type": "string"
671
+ },
672
+ "runtime": {
673
+ "description": "Runtime type filter.",
674
+ "maxLength": 100,
675
+ "minLength": 1,
676
+ "type": "string"
677
+ },
678
+ "skill": {
679
+ "description": "Skill key or display name.",
680
+ "maxLength": 500,
681
+ "minLength": 1,
682
+ "type": "string"
683
+ },
684
+ "status": {
685
+ "description": "Run status filter.",
686
+ "maxLength": 100,
687
+ "minLength": 1,
688
+ "type": "string"
689
+ }
690
+ },
691
+ "required": [
692
+ "skill"
693
+ ],
694
+ "type": "object"
695
+ }
696
+ },
697
+ {
698
+ "capabilityId": "runs.get",
699
+ "name": "rudder_runs_get",
700
+ "description": "Read one bounded run summary; use --full only from a direct trusted CLI for raw detail.",
701
+ "semanticDescription": "Read one bounded run summary; use --full only from a direct trusted CLI for raw detail. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: not attached.",
702
+ "annotations": {
703
+ "destructiveHint": false,
704
+ "idempotentHint": true,
705
+ "readOnlyHint": true,
706
+ "title": "Read one bounded run summary"
707
+ },
708
+ "mutating": false,
709
+ "requiresOrgId": false,
710
+ "requiresAgentId": false,
711
+ "attachesRunIdWhenAvailable": false,
712
+ "inputSchema": {
713
+ "additionalProperties": false,
714
+ "properties": {
715
+ "run": {
716
+ "description": "Run UUID, typed short reference (run_<prefix>), or legacy bare short prefix.",
717
+ "maxLength": 200,
718
+ "minLength": 1,
719
+ "type": "string"
720
+ }
721
+ },
722
+ "required": [
723
+ "run"
724
+ ],
725
+ "type": "object"
726
+ }
727
+ },
728
+ {
729
+ "capabilityId": "runs.events",
730
+ "name": "rudder_runs_events",
731
+ "description": "List a bounded page of persisted run events with a lossless opaque cursor and clipped payload previews.",
732
+ "semanticDescription": "List a bounded page of persisted run events with a lossless opaque cursor and clipped payload previews. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: not attached.",
733
+ "annotations": {
734
+ "destructiveHint": false,
735
+ "idempotentHint": true,
736
+ "readOnlyHint": true,
737
+ "title": "List a bounded page of persisted run events with a lossless opaque cursor and clipped payload previews"
738
+ },
739
+ "mutating": false,
740
+ "requiresOrgId": false,
741
+ "requiresAgentId": false,
742
+ "attachesRunIdWhenAvailable": false,
743
+ "inputSchema": {
744
+ "additionalProperties": false,
745
+ "properties": {
746
+ "afterSeq": {
747
+ "description": "Legacy sequence-only cursor.",
748
+ "maximum": 10000000,
749
+ "minimum": 0,
750
+ "type": "number"
751
+ },
752
+ "cursor": {
753
+ "description": "Opaque pagination cursor.",
754
+ "maxLength": 2000,
755
+ "minLength": 1,
756
+ "type": "string"
757
+ },
758
+ "limit": {
759
+ "description": "Event page size.",
760
+ "maximum": 500,
761
+ "minimum": 1,
762
+ "type": "number"
763
+ },
764
+ "maxChars": {
765
+ "description": "Maximum preview characters per event.",
766
+ "maximum": 20000,
767
+ "minimum": 100,
768
+ "type": "number"
769
+ },
770
+ "run": {
771
+ "description": "Run UUID, typed short reference (run_<prefix>), or legacy bare short prefix.",
772
+ "maxLength": 200,
773
+ "minLength": 1,
774
+ "type": "string"
775
+ }
776
+ },
777
+ "required": [
778
+ "run"
779
+ ],
780
+ "type": "object"
781
+ }
782
+ },
783
+ {
784
+ "capabilityId": "runs.log",
785
+ "name": "rudder_runs_log",
786
+ "description": "Read a bounded byte range of stored run log content.",
787
+ "semanticDescription": "Read a bounded byte range of stored run log content. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: not attached.",
788
+ "annotations": {
789
+ "destructiveHint": false,
790
+ "idempotentHint": true,
791
+ "readOnlyHint": true,
792
+ "title": "Read a bounded byte range of stored run log content"
793
+ },
794
+ "mutating": false,
795
+ "requiresOrgId": false,
796
+ "requiresAgentId": false,
797
+ "attachesRunIdWhenAvailable": false,
798
+ "inputSchema": {
799
+ "additionalProperties": false,
800
+ "properties": {
801
+ "limitBytes": {
802
+ "description": "Maximum bytes for ranged read.",
803
+ "maximum": 1000000,
804
+ "minimum": 1,
805
+ "type": "number"
806
+ },
807
+ "maxChars": {
808
+ "description": "Maximum displayed log characters.",
809
+ "maximum": 100000,
810
+ "minimum": 100,
811
+ "type": "number"
812
+ },
813
+ "offset": {
814
+ "description": "Byte offset for ranged read.",
815
+ "maximum": 1000000000,
816
+ "minimum": 0,
817
+ "type": "number"
818
+ },
819
+ "run": {
820
+ "description": "Run UUID, typed short reference (run_<prefix>), or legacy bare short prefix.",
821
+ "maxLength": 200,
822
+ "minLength": 1,
823
+ "type": "string"
824
+ }
825
+ },
826
+ "required": [
827
+ "run"
828
+ ],
829
+ "type": "object"
830
+ }
831
+ },
832
+ {
833
+ "capabilityId": "runs.transcript",
834
+ "name": "rudder_runs_transcript",
835
+ "description": "Read a compact server-normalized transcript; --json changes encoding only and --full is direct-CLI-only raw access.",
836
+ "semanticDescription": "Read a compact server-normalized transcript; --json changes encoding only and --full is direct-CLI-only raw access. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: not attached.",
837
+ "annotations": {
838
+ "destructiveHint": false,
839
+ "idempotentHint": true,
840
+ "readOnlyHint": true,
841
+ "title": "Read a compact server-normalized transcript"
842
+ },
843
+ "mutating": false,
844
+ "requiresOrgId": false,
845
+ "requiresAgentId": false,
846
+ "attachesRunIdWhenAvailable": false,
847
+ "inputSchema": {
848
+ "additionalProperties": false,
849
+ "properties": {
850
+ "aroundError": {
851
+ "description": "Transcript error step id.",
852
+ "maxLength": 200,
853
+ "minLength": 1,
854
+ "type": "string"
855
+ },
856
+ "chronological": {
857
+ "description": "Return oldest-first rows.",
858
+ "type": "boolean"
859
+ },
860
+ "contextTurns": {
861
+ "description": "Turns around the selected error.",
862
+ "maximum": 20,
863
+ "minimum": 1,
864
+ "type": "number"
865
+ },
866
+ "cursor": {
867
+ "description": "Opaque pagination cursor.",
868
+ "maxLength": 2000,
869
+ "minLength": 1,
870
+ "type": "string"
871
+ },
872
+ "errorsOnly": {
873
+ "description": "Return only error rows.",
874
+ "type": "boolean"
875
+ },
876
+ "includeOutput": {
877
+ "description": "Include clipped row output.",
878
+ "type": "boolean"
879
+ },
880
+ "maxChars": {
881
+ "description": "Maximum output characters per row.",
882
+ "maximum": 20000,
883
+ "minimum": 100,
884
+ "type": "number"
885
+ },
886
+ "narrative": {
887
+ "description": "Use narrative row formatting.",
888
+ "type": "boolean"
889
+ },
890
+ "run": {
891
+ "description": "Run UUID, typed short reference (run_<prefix>), or legacy bare short prefix.",
892
+ "maxLength": 200,
893
+ "minLength": 1,
894
+ "type": "string"
895
+ },
896
+ "turnLimit": {
897
+ "description": "Maximum turns.",
898
+ "maximum": 100,
899
+ "minimum": 1,
900
+ "type": "number"
901
+ }
902
+ },
903
+ "required": [
904
+ "run"
905
+ ],
906
+ "type": "object"
907
+ }
908
+ },
909
+ {
910
+ "capabilityId": "runs.errors",
911
+ "name": "rudder_runs_errors",
912
+ "description": "List failed tool calls, stderr, runtime failures, and jump-to-context commands.",
913
+ "semanticDescription": "List failed tool calls, stderr, runtime failures, and jump-to-context commands. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: not attached.",
914
+ "annotations": {
915
+ "destructiveHint": false,
916
+ "idempotentHint": true,
917
+ "readOnlyHint": true,
918
+ "title": "List failed tool calls, stderr, runtime failures, and jump-to-context commands"
919
+ },
920
+ "mutating": false,
921
+ "requiresOrgId": false,
922
+ "requiresAgentId": false,
923
+ "attachesRunIdWhenAvailable": false,
924
+ "inputSchema": {
925
+ "additionalProperties": false,
926
+ "properties": {
927
+ "cursor": {
928
+ "description": "Opaque pagination cursor.",
929
+ "maxLength": 2000,
930
+ "minLength": 1,
931
+ "type": "string"
932
+ },
933
+ "maxChars": {
934
+ "description": "Maximum output characters per error.",
935
+ "maximum": 20000,
936
+ "minimum": 100,
937
+ "type": "number"
938
+ },
939
+ "run": {
940
+ "description": "Run UUID, typed short reference (run_<prefix>), or legacy bare short prefix.",
941
+ "maxLength": 200,
942
+ "minLength": 1,
943
+ "type": "string"
944
+ }
945
+ },
946
+ "required": [
947
+ "run"
948
+ ],
949
+ "type": "object"
950
+ }
951
+ },
952
+ {
953
+ "capabilityId": "runs.cancel",
954
+ "name": "rudder_runs_cancel",
955
+ "description": "Cancel a heartbeat run through the governed server route.",
956
+ "semanticDescription": "Cancel a heartbeat run through the governed server route. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: attached from runtime env when available.",
957
+ "annotations": {
958
+ "destructiveHint": true,
959
+ "idempotentHint": false,
960
+ "readOnlyHint": false,
961
+ "title": "Cancel a heartbeat run through the governed server route"
962
+ },
963
+ "mutating": true,
964
+ "requiresOrgId": false,
965
+ "requiresAgentId": false,
966
+ "attachesRunIdWhenAvailable": true,
967
+ "inputSchema": {
968
+ "additionalProperties": false,
969
+ "properties": {
970
+ "run": {
971
+ "description": "Run UUID, typed short reference (run_<prefix>), or legacy bare short prefix.",
972
+ "maxLength": 200,
973
+ "minLength": 1,
974
+ "type": "string"
975
+ }
976
+ },
977
+ "required": [
978
+ "run"
979
+ ],
980
+ "type": "object"
981
+ }
982
+ },
983
+ {
984
+ "capabilityId": "runs.retry",
985
+ "name": "rudder_runs_retry",
986
+ "description": "Retry a failed, timed out, or cancelled run through the governed server route.",
987
+ "semanticDescription": "Retry a failed, timed out, or cancelled run through the governed server route. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: attached from runtime env when available.",
988
+ "annotations": {
989
+ "destructiveHint": false,
990
+ "idempotentHint": false,
991
+ "readOnlyHint": false,
992
+ "title": "Retry a failed, timed out, or cancelled run through the governed server route"
993
+ },
994
+ "mutating": true,
995
+ "requiresOrgId": false,
996
+ "requiresAgentId": false,
997
+ "attachesRunIdWhenAvailable": true,
998
+ "inputSchema": {
999
+ "additionalProperties": false,
1000
+ "properties": {
1001
+ "run": {
1002
+ "description": "Run UUID, typed short reference (run_<prefix>), or legacy bare short prefix.",
1003
+ "maxLength": 200,
1004
+ "minLength": 1,
1005
+ "type": "string"
1006
+ }
1007
+ },
1008
+ "required": [
1009
+ "run"
1010
+ ],
1011
+ "type": "object"
1012
+ }
1013
+ },
1014
+ {
1015
+ "capabilityId": "runs.create",
1016
+ "name": "rudder_runs_create",
1017
+ "description": "Create an independently governed Delegation Run for the current or another same-organization Agent.",
1018
+ "semanticDescription": "Create an independently governed Delegation Run for the current or another same-organization Agent. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: required from runtime env. Run attribution: attached from runtime env when available.",
1019
+ "annotations": {
1020
+ "destructiveHint": false,
1021
+ "idempotentHint": true,
1022
+ "readOnlyHint": false,
1023
+ "title": "Create an independently governed Delegation Run"
1024
+ },
1025
+ "mutating": true,
1026
+ "requiresOrgId": false,
1027
+ "requiresAgentId": true,
1028
+ "attachesRunIdWhenAvailable": true,
1029
+ "inputSchema": {
1030
+ "additionalProperties": false,
1031
+ "properties": {
1032
+ "idempotencyKey": {
1033
+ "description": "Required stable key for safe replay.",
1034
+ "maxLength": 500,
1035
+ "minLength": 1,
1036
+ "type": "string"
1037
+ },
1038
+ "targetAgentId": {
1039
+ "description": "Optional same-organization target Agent id.",
1040
+ "maxLength": 200,
1041
+ "minLength": 1,
1042
+ "type": "string"
1043
+ },
1044
+ "task": {
1045
+ "description": "Delegation task to run independently.",
1046
+ "maxLength": 20000,
1047
+ "minLength": 1,
1048
+ "type": "string"
1049
+ }
1050
+ },
1051
+ "required": [
1052
+ "task",
1053
+ "idempotencyKey"
1054
+ ],
1055
+ "type": "object"
1056
+ }
1057
+ }
1058
+ ];
1059
+ //# sourceMappingURL=rudder-mcp-tool-descriptors-004.js.map