@rudderhq/agent-runtime-utils 0.7.24-canary.2 → 0.7.24-canary.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contract-shards/rudder-agent-contract-capabilities-000.d.ts +1074 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-000.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-000.js +1195 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-000.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-001.d.ts +1088 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-001.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-001.js +1172 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-001.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-002.d.ts +1108 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-002.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-002.js +1187 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-002.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-003.d.ts +942 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-003.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-003.js +1155 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-003.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-004.d.ts +733 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-004.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-004.js +897 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-004.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-005.d.ts +1025 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-005.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-005.js +1189 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-005.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-006.d.ts +1094 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-006.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-006.js +1156 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-006.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-007.d.ts +344 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-007.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-007.js +365 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-007.js.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-000.d.ts +1084 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-000.d.ts.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-000.js +1190 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-000.js.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-001.d.ts +988 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-001.d.ts.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-001.js +1187 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-001.js.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-002.d.ts +934 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-002.d.ts.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-002.js +1161 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-002.js.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-003.d.ts +1014 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-003.d.ts.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-003.js +1187 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-003.js.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-004.d.ts +987 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-004.d.ts.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-004.js +1059 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-004.js.map +1 -0
- package/dist/gemini-cli-history.d.ts +4 -0
- package/dist/gemini-cli-history.d.ts.map +1 -0
- package/dist/gemini-cli-history.js +228 -0
- package/dist/gemini-cli-history.js.map +1 -0
- package/dist/native-process-runner.d.ts +2 -0
- package/dist/native-process-runner.d.ts.map +1 -1
- package/dist/native-process-runner.js +36 -18
- package/dist/native-process-runner.js.map +1 -1
- package/dist/native-process-runner.test.js +95 -2
- package/dist/native-process-runner.test.js.map +1 -1
- package/dist/rudder-agent-contract.generated.d.ts +60 -3
- package/dist/rudder-agent-contract.generated.d.ts.map +1 -1
- package/dist/rudder-agent-contract.generated.js +70 -8277
- package/dist/rudder-agent-contract.generated.js.map +1 -1
- package/dist/rudder-agent-contract.test.js +46 -4
- package/dist/rudder-agent-contract.test.js.map +1 -1
- package/dist/rudder-mcp-contract.d.ts +41 -1
- package/dist/rudder-mcp-contract.d.ts.map +1 -1
- package/dist/rudder-mcp-tool-descriptors.generated.d.ts +42 -2
- package/dist/rudder-mcp-tool-descriptors.generated.d.ts.map +1 -1
- package/dist/rudder-mcp-tool-descriptors.generated.js +50 -5760
- package/dist/rudder-mcp-tool-descriptors.generated.js.map +1 -1
- package/dist/session-compaction.d.ts.map +1 -1
- package/dist/session-compaction.js +0 -6
- package/dist/session-compaction.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,1155 @@
|
|
|
1
|
+
// Generated by scripts/generate-rudder-mcp-tool-descriptors.ts. Do not edit by hand.
|
|
2
|
+
export const GENERATED_RUDDER_AGENT_CONTRACT_CAPABILITIES_003 = [
|
|
3
|
+
{
|
|
4
|
+
"api": {
|
|
5
|
+
"method": "POST",
|
|
6
|
+
"pathTemplate": "/api/browser/viewport",
|
|
7
|
+
"transport": "direct"
|
|
8
|
+
},
|
|
9
|
+
"cli": {
|
|
10
|
+
"attachesRunIdWhenAvailable": true,
|
|
11
|
+
"category": "browser",
|
|
12
|
+
"command": "rudder browser viewport --action <get|set|reset> [--width <px> --height <px>]",
|
|
13
|
+
"contract": "agent-v1",
|
|
14
|
+
"description": "Inspect, set, or reset the responsive viewport for the current Rudder Browser run.",
|
|
15
|
+
"id": "browser.viewport",
|
|
16
|
+
"mutating": true,
|
|
17
|
+
"requiresAgentId": true,
|
|
18
|
+
"requiresOrgId": true,
|
|
19
|
+
"requiresRunId": true
|
|
20
|
+
},
|
|
21
|
+
"id": "browser.viewport",
|
|
22
|
+
"mcp": {
|
|
23
|
+
"annotations": {
|
|
24
|
+
"destructiveHint": false,
|
|
25
|
+
"idempotentHint": false,
|
|
26
|
+
"readOnlyHint": false,
|
|
27
|
+
"title": "Inspect, set, or reset the responsive viewport for the current Rudder Browser run"
|
|
28
|
+
},
|
|
29
|
+
"capabilityId": "browser.viewport",
|
|
30
|
+
"description": "Inspect, set, or reset the responsive viewport for the current Rudder Browser run. 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: required from runtime env. Run attribution: attached from runtime env when available.",
|
|
31
|
+
"inputSchema": {
|
|
32
|
+
"additionalProperties": false,
|
|
33
|
+
"properties": {
|
|
34
|
+
"action": {
|
|
35
|
+
"description": "Viewport action.",
|
|
36
|
+
"enum": [
|
|
37
|
+
"get",
|
|
38
|
+
"set",
|
|
39
|
+
"reset"
|
|
40
|
+
],
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"height": {
|
|
44
|
+
"description": "Viewport height in CSS pixels.",
|
|
45
|
+
"maximum": 2160,
|
|
46
|
+
"minimum": 240,
|
|
47
|
+
"type": "number"
|
|
48
|
+
},
|
|
49
|
+
"width": {
|
|
50
|
+
"description": "Viewport width in CSS pixels.",
|
|
51
|
+
"maximum": 3840,
|
|
52
|
+
"minimum": 320,
|
|
53
|
+
"type": "number"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"required": [
|
|
57
|
+
"action"
|
|
58
|
+
],
|
|
59
|
+
"type": "object"
|
|
60
|
+
},
|
|
61
|
+
"name": "rudder_browser_viewport"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"api": {
|
|
66
|
+
"method": "POST",
|
|
67
|
+
"pathTemplate": "/api/browser/visibility",
|
|
68
|
+
"transport": "direct"
|
|
69
|
+
},
|
|
70
|
+
"cli": {
|
|
71
|
+
"attachesRunIdWhenAvailable": true,
|
|
72
|
+
"category": "browser",
|
|
73
|
+
"command": "rudder browser visibility [--visible <true|false>]",
|
|
74
|
+
"contract": "agent-v1",
|
|
75
|
+
"description": "Inspect or change whether the current run's selected Rudder Browser tab is visible.",
|
|
76
|
+
"id": "browser.visibility",
|
|
77
|
+
"mutating": true,
|
|
78
|
+
"requiresAgentId": true,
|
|
79
|
+
"requiresOrgId": true,
|
|
80
|
+
"requiresRunId": true
|
|
81
|
+
},
|
|
82
|
+
"id": "browser.visibility",
|
|
83
|
+
"mcp": {
|
|
84
|
+
"annotations": {
|
|
85
|
+
"destructiveHint": false,
|
|
86
|
+
"idempotentHint": false,
|
|
87
|
+
"readOnlyHint": false,
|
|
88
|
+
"title": "Inspect or change whether the current run's selected Rudder Browser tab is visible"
|
|
89
|
+
},
|
|
90
|
+
"capabilityId": "browser.visibility",
|
|
91
|
+
"description": "Inspect or change whether the current run's selected Rudder Browser tab is visible. 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: required from runtime env. Run attribution: attached from runtime env when available.",
|
|
92
|
+
"inputSchema": {
|
|
93
|
+
"additionalProperties": false,
|
|
94
|
+
"properties": {
|
|
95
|
+
"visible": {
|
|
96
|
+
"description": "Whether the selected Agent Browser tab is visible.",
|
|
97
|
+
"type": "boolean"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"type": "object"
|
|
101
|
+
},
|
|
102
|
+
"name": "rudder_browser_visibility"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"api": {
|
|
107
|
+
"method": "POST",
|
|
108
|
+
"pathTemplate": "/api/browser/snapshot",
|
|
109
|
+
"transport": "direct"
|
|
110
|
+
},
|
|
111
|
+
"cli": {
|
|
112
|
+
"attachesRunIdWhenAvailable": true,
|
|
113
|
+
"category": "browser",
|
|
114
|
+
"command": "rudder browser snapshot <tab-id> [--input <json>]",
|
|
115
|
+
"contract": "agent-v1",
|
|
116
|
+
"description": "Capture a bounded DOM and accessibility-oriented snapshot, including frame structure and ephemeral node ids.",
|
|
117
|
+
"id": "browser.snapshot",
|
|
118
|
+
"mutating": false,
|
|
119
|
+
"requiresAgentId": true,
|
|
120
|
+
"requiresOrgId": true,
|
|
121
|
+
"requiresRunId": true
|
|
122
|
+
},
|
|
123
|
+
"id": "browser.snapshot",
|
|
124
|
+
"mcp": {
|
|
125
|
+
"annotations": {
|
|
126
|
+
"destructiveHint": false,
|
|
127
|
+
"idempotentHint": true,
|
|
128
|
+
"readOnlyHint": true,
|
|
129
|
+
"title": "Capture a bounded DOM and accessibility-oriented snapshot, including frame structure and ephemeral node ids"
|
|
130
|
+
},
|
|
131
|
+
"capabilityId": "browser.snapshot",
|
|
132
|
+
"description": "Capture a bounded DOM and accessibility-oriented snapshot, including frame structure and ephemeral node ids. 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: required from runtime env. Run attribution: attached from runtime env when available.",
|
|
133
|
+
"inputSchema": {
|
|
134
|
+
"additionalProperties": false,
|
|
135
|
+
"properties": {
|
|
136
|
+
"boxes": {
|
|
137
|
+
"description": "Include viewport-relative element boxes.",
|
|
138
|
+
"type": "boolean"
|
|
139
|
+
},
|
|
140
|
+
"depth": {
|
|
141
|
+
"description": "Maximum snapshot tree depth.",
|
|
142
|
+
"maximum": 30,
|
|
143
|
+
"minimum": 1,
|
|
144
|
+
"type": "number"
|
|
145
|
+
},
|
|
146
|
+
"maxNodes": {
|
|
147
|
+
"description": "Maximum snapshot nodes.",
|
|
148
|
+
"maximum": 3000,
|
|
149
|
+
"minimum": 1,
|
|
150
|
+
"type": "number"
|
|
151
|
+
},
|
|
152
|
+
"tabId": {
|
|
153
|
+
"description": "Run-owned Rudder Browser tab id.",
|
|
154
|
+
"maxLength": 160,
|
|
155
|
+
"minLength": 1,
|
|
156
|
+
"type": "string"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"required": [
|
|
160
|
+
"tabId"
|
|
161
|
+
],
|
|
162
|
+
"type": "object"
|
|
163
|
+
},
|
|
164
|
+
"name": "rudder_browser_snapshot"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"api": {
|
|
169
|
+
"method": "POST",
|
|
170
|
+
"pathTemplate": "/api/browser/locator",
|
|
171
|
+
"transport": "direct"
|
|
172
|
+
},
|
|
173
|
+
"cli": {
|
|
174
|
+
"attachesRunIdWhenAvailable": true,
|
|
175
|
+
"category": "browser",
|
|
176
|
+
"command": "rudder browser locator <tab-id> --input <json>",
|
|
177
|
+
"contract": "agent-v1",
|
|
178
|
+
"description": "Perform read-only bounded Browser locator text, attribute, state, count, or wait operations.",
|
|
179
|
+
"id": "browser.locator",
|
|
180
|
+
"mutating": false,
|
|
181
|
+
"requiresAgentId": true,
|
|
182
|
+
"requiresOrgId": true,
|
|
183
|
+
"requiresRunId": true
|
|
184
|
+
},
|
|
185
|
+
"id": "browser.locator",
|
|
186
|
+
"mcp": {
|
|
187
|
+
"annotations": {
|
|
188
|
+
"destructiveHint": false,
|
|
189
|
+
"idempotentHint": true,
|
|
190
|
+
"readOnlyHint": true,
|
|
191
|
+
"title": "Perform read-only bounded Browser locator text, attribute, state, count, or wait operations"
|
|
192
|
+
},
|
|
193
|
+
"capabilityId": "browser.locator",
|
|
194
|
+
"description": "Perform read-only bounded Browser locator text, attribute, state, count, or wait operations. 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: required from runtime env. Run attribution: attached from runtime env when available.",
|
|
195
|
+
"inputSchema": {
|
|
196
|
+
"additionalProperties": false,
|
|
197
|
+
"properties": {
|
|
198
|
+
"action": {
|
|
199
|
+
"description": "Read-only locator action.",
|
|
200
|
+
"enum": [
|
|
201
|
+
"count",
|
|
202
|
+
"allTextContents",
|
|
203
|
+
"textContent",
|
|
204
|
+
"innerText",
|
|
205
|
+
"attribute",
|
|
206
|
+
"visible",
|
|
207
|
+
"enabled",
|
|
208
|
+
"checked",
|
|
209
|
+
"selected",
|
|
210
|
+
"wait"
|
|
211
|
+
],
|
|
212
|
+
"type": "string"
|
|
213
|
+
},
|
|
214
|
+
"locator": {
|
|
215
|
+
"additionalProperties": false,
|
|
216
|
+
"properties": {
|
|
217
|
+
"and": {
|
|
218
|
+
"additionalProperties": false,
|
|
219
|
+
"properties": {
|
|
220
|
+
"exact": {
|
|
221
|
+
"description": "Require an exact text or attribute match.",
|
|
222
|
+
"type": "boolean"
|
|
223
|
+
},
|
|
224
|
+
"name": {
|
|
225
|
+
"description": "Accessible name used with the role strategy.",
|
|
226
|
+
"maxLength": 2000,
|
|
227
|
+
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
"strategy": {
|
|
230
|
+
"description": "Locator strategy.",
|
|
231
|
+
"enum": [
|
|
232
|
+
"css",
|
|
233
|
+
"testId",
|
|
234
|
+
"href",
|
|
235
|
+
"role",
|
|
236
|
+
"label",
|
|
237
|
+
"placeholder",
|
|
238
|
+
"text"
|
|
239
|
+
],
|
|
240
|
+
"type": "string"
|
|
241
|
+
},
|
|
242
|
+
"value": {
|
|
243
|
+
"description": "Selector, role, label, placeholder, href, test id, or text value.",
|
|
244
|
+
"maxLength": 2000,
|
|
245
|
+
"minLength": 1,
|
|
246
|
+
"type": "string"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"required": [
|
|
250
|
+
"strategy",
|
|
251
|
+
"value"
|
|
252
|
+
],
|
|
253
|
+
"type": "object"
|
|
254
|
+
},
|
|
255
|
+
"exact": {
|
|
256
|
+
"description": "Require an exact text or attribute match.",
|
|
257
|
+
"type": "boolean"
|
|
258
|
+
},
|
|
259
|
+
"filter": {
|
|
260
|
+
"additionalProperties": false,
|
|
261
|
+
"properties": {
|
|
262
|
+
"has": {
|
|
263
|
+
"additionalProperties": false,
|
|
264
|
+
"properties": {
|
|
265
|
+
"exact": {
|
|
266
|
+
"description": "Require an exact text or attribute match.",
|
|
267
|
+
"type": "boolean"
|
|
268
|
+
},
|
|
269
|
+
"name": {
|
|
270
|
+
"description": "Accessible name used with the role strategy.",
|
|
271
|
+
"maxLength": 2000,
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
"strategy": {
|
|
275
|
+
"description": "Locator strategy.",
|
|
276
|
+
"enum": [
|
|
277
|
+
"css",
|
|
278
|
+
"testId",
|
|
279
|
+
"href",
|
|
280
|
+
"role",
|
|
281
|
+
"label",
|
|
282
|
+
"placeholder",
|
|
283
|
+
"text"
|
|
284
|
+
],
|
|
285
|
+
"type": "string"
|
|
286
|
+
},
|
|
287
|
+
"value": {
|
|
288
|
+
"description": "Selector, role, label, placeholder, href, test id, or text value.",
|
|
289
|
+
"maxLength": 2000,
|
|
290
|
+
"minLength": 1,
|
|
291
|
+
"type": "string"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"required": [
|
|
295
|
+
"strategy",
|
|
296
|
+
"value"
|
|
297
|
+
],
|
|
298
|
+
"type": "object"
|
|
299
|
+
},
|
|
300
|
+
"hasNot": {
|
|
301
|
+
"additionalProperties": false,
|
|
302
|
+
"properties": {
|
|
303
|
+
"exact": {
|
|
304
|
+
"description": "Require an exact text or attribute match.",
|
|
305
|
+
"type": "boolean"
|
|
306
|
+
},
|
|
307
|
+
"name": {
|
|
308
|
+
"description": "Accessible name used with the role strategy.",
|
|
309
|
+
"maxLength": 2000,
|
|
310
|
+
"type": "string"
|
|
311
|
+
},
|
|
312
|
+
"strategy": {
|
|
313
|
+
"description": "Locator strategy.",
|
|
314
|
+
"enum": [
|
|
315
|
+
"css",
|
|
316
|
+
"testId",
|
|
317
|
+
"href",
|
|
318
|
+
"role",
|
|
319
|
+
"label",
|
|
320
|
+
"placeholder",
|
|
321
|
+
"text"
|
|
322
|
+
],
|
|
323
|
+
"type": "string"
|
|
324
|
+
},
|
|
325
|
+
"value": {
|
|
326
|
+
"description": "Selector, role, label, placeholder, href, test id, or text value.",
|
|
327
|
+
"maxLength": 2000,
|
|
328
|
+
"minLength": 1,
|
|
329
|
+
"type": "string"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"required": [
|
|
333
|
+
"strategy",
|
|
334
|
+
"value"
|
|
335
|
+
],
|
|
336
|
+
"type": "object"
|
|
337
|
+
},
|
|
338
|
+
"hasNotText": {
|
|
339
|
+
"description": "Excluded descendant text.",
|
|
340
|
+
"maxLength": 2000,
|
|
341
|
+
"type": "string"
|
|
342
|
+
},
|
|
343
|
+
"hasText": {
|
|
344
|
+
"description": "Required descendant text.",
|
|
345
|
+
"maxLength": 2000,
|
|
346
|
+
"type": "string"
|
|
347
|
+
},
|
|
348
|
+
"visible": {
|
|
349
|
+
"description": "Filter by current visibility.",
|
|
350
|
+
"type": "boolean"
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"type": "object"
|
|
354
|
+
},
|
|
355
|
+
"frame": {
|
|
356
|
+
"items": {
|
|
357
|
+
"description": "CSS iframe selector.",
|
|
358
|
+
"maxLength": 1000,
|
|
359
|
+
"minLength": 1,
|
|
360
|
+
"type": "string"
|
|
361
|
+
},
|
|
362
|
+
"maxItems": 8,
|
|
363
|
+
"type": "array"
|
|
364
|
+
},
|
|
365
|
+
"index": {
|
|
366
|
+
"description": "Zero-based locator match index.",
|
|
367
|
+
"maximum": 499,
|
|
368
|
+
"minimum": 0,
|
|
369
|
+
"type": "number"
|
|
370
|
+
},
|
|
371
|
+
"name": {
|
|
372
|
+
"description": "Accessible name used with the role strategy.",
|
|
373
|
+
"maxLength": 2000,
|
|
374
|
+
"type": "string"
|
|
375
|
+
},
|
|
376
|
+
"or": {
|
|
377
|
+
"additionalProperties": false,
|
|
378
|
+
"properties": {
|
|
379
|
+
"exact": {
|
|
380
|
+
"description": "Require an exact text or attribute match.",
|
|
381
|
+
"type": "boolean"
|
|
382
|
+
},
|
|
383
|
+
"name": {
|
|
384
|
+
"description": "Accessible name used with the role strategy.",
|
|
385
|
+
"maxLength": 2000,
|
|
386
|
+
"type": "string"
|
|
387
|
+
},
|
|
388
|
+
"strategy": {
|
|
389
|
+
"description": "Locator strategy.",
|
|
390
|
+
"enum": [
|
|
391
|
+
"css",
|
|
392
|
+
"testId",
|
|
393
|
+
"href",
|
|
394
|
+
"role",
|
|
395
|
+
"label",
|
|
396
|
+
"placeholder",
|
|
397
|
+
"text"
|
|
398
|
+
],
|
|
399
|
+
"type": "string"
|
|
400
|
+
},
|
|
401
|
+
"value": {
|
|
402
|
+
"description": "Selector, role, label, placeholder, href, test id, or text value.",
|
|
403
|
+
"maxLength": 2000,
|
|
404
|
+
"minLength": 1,
|
|
405
|
+
"type": "string"
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
"required": [
|
|
409
|
+
"strategy",
|
|
410
|
+
"value"
|
|
411
|
+
],
|
|
412
|
+
"type": "object"
|
|
413
|
+
},
|
|
414
|
+
"position": {
|
|
415
|
+
"description": "Locator endpoint after an explicit count.",
|
|
416
|
+
"enum": [
|
|
417
|
+
"first",
|
|
418
|
+
"last"
|
|
419
|
+
],
|
|
420
|
+
"type": "string"
|
|
421
|
+
},
|
|
422
|
+
"scope": {
|
|
423
|
+
"additionalProperties": false,
|
|
424
|
+
"properties": {
|
|
425
|
+
"and": {
|
|
426
|
+
"additionalProperties": false,
|
|
427
|
+
"properties": {
|
|
428
|
+
"exact": {
|
|
429
|
+
"description": "Require an exact text or attribute match.",
|
|
430
|
+
"type": "boolean"
|
|
431
|
+
},
|
|
432
|
+
"name": {
|
|
433
|
+
"description": "Accessible name used with the role strategy.",
|
|
434
|
+
"maxLength": 2000,
|
|
435
|
+
"type": "string"
|
|
436
|
+
},
|
|
437
|
+
"strategy": {
|
|
438
|
+
"description": "Locator strategy.",
|
|
439
|
+
"enum": [
|
|
440
|
+
"css",
|
|
441
|
+
"testId",
|
|
442
|
+
"href",
|
|
443
|
+
"role",
|
|
444
|
+
"label",
|
|
445
|
+
"placeholder",
|
|
446
|
+
"text"
|
|
447
|
+
],
|
|
448
|
+
"type": "string"
|
|
449
|
+
},
|
|
450
|
+
"value": {
|
|
451
|
+
"description": "Selector, role, label, placeholder, href, test id, or text value.",
|
|
452
|
+
"maxLength": 2000,
|
|
453
|
+
"minLength": 1,
|
|
454
|
+
"type": "string"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"required": [
|
|
458
|
+
"strategy",
|
|
459
|
+
"value"
|
|
460
|
+
],
|
|
461
|
+
"type": "object"
|
|
462
|
+
},
|
|
463
|
+
"exact": {
|
|
464
|
+
"description": "Require an exact text or attribute match.",
|
|
465
|
+
"type": "boolean"
|
|
466
|
+
},
|
|
467
|
+
"filter": {
|
|
468
|
+
"additionalProperties": false,
|
|
469
|
+
"properties": {
|
|
470
|
+
"has": {
|
|
471
|
+
"additionalProperties": false,
|
|
472
|
+
"properties": {
|
|
473
|
+
"exact": {
|
|
474
|
+
"description": "Require an exact text or attribute match.",
|
|
475
|
+
"type": "boolean"
|
|
476
|
+
},
|
|
477
|
+
"name": {
|
|
478
|
+
"description": "Accessible name used with the role strategy.",
|
|
479
|
+
"maxLength": 2000,
|
|
480
|
+
"type": "string"
|
|
481
|
+
},
|
|
482
|
+
"strategy": {
|
|
483
|
+
"description": "Locator strategy.",
|
|
484
|
+
"enum": [
|
|
485
|
+
"css",
|
|
486
|
+
"testId",
|
|
487
|
+
"href",
|
|
488
|
+
"role",
|
|
489
|
+
"label",
|
|
490
|
+
"placeholder",
|
|
491
|
+
"text"
|
|
492
|
+
],
|
|
493
|
+
"type": "string"
|
|
494
|
+
},
|
|
495
|
+
"value": {
|
|
496
|
+
"description": "Selector, role, label, placeholder, href, test id, or text value.",
|
|
497
|
+
"maxLength": 2000,
|
|
498
|
+
"minLength": 1,
|
|
499
|
+
"type": "string"
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
"required": [
|
|
503
|
+
"strategy",
|
|
504
|
+
"value"
|
|
505
|
+
],
|
|
506
|
+
"type": "object"
|
|
507
|
+
},
|
|
508
|
+
"hasNot": {
|
|
509
|
+
"additionalProperties": false,
|
|
510
|
+
"properties": {
|
|
511
|
+
"exact": {
|
|
512
|
+
"description": "Require an exact text or attribute match.",
|
|
513
|
+
"type": "boolean"
|
|
514
|
+
},
|
|
515
|
+
"name": {
|
|
516
|
+
"description": "Accessible name used with the role strategy.",
|
|
517
|
+
"maxLength": 2000,
|
|
518
|
+
"type": "string"
|
|
519
|
+
},
|
|
520
|
+
"strategy": {
|
|
521
|
+
"description": "Locator strategy.",
|
|
522
|
+
"enum": [
|
|
523
|
+
"css",
|
|
524
|
+
"testId",
|
|
525
|
+
"href",
|
|
526
|
+
"role",
|
|
527
|
+
"label",
|
|
528
|
+
"placeholder",
|
|
529
|
+
"text"
|
|
530
|
+
],
|
|
531
|
+
"type": "string"
|
|
532
|
+
},
|
|
533
|
+
"value": {
|
|
534
|
+
"description": "Selector, role, label, placeholder, href, test id, or text value.",
|
|
535
|
+
"maxLength": 2000,
|
|
536
|
+
"minLength": 1,
|
|
537
|
+
"type": "string"
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"required": [
|
|
541
|
+
"strategy",
|
|
542
|
+
"value"
|
|
543
|
+
],
|
|
544
|
+
"type": "object"
|
|
545
|
+
},
|
|
546
|
+
"hasNotText": {
|
|
547
|
+
"description": "Excluded descendant text.",
|
|
548
|
+
"maxLength": 2000,
|
|
549
|
+
"type": "string"
|
|
550
|
+
},
|
|
551
|
+
"hasText": {
|
|
552
|
+
"description": "Required descendant text.",
|
|
553
|
+
"maxLength": 2000,
|
|
554
|
+
"type": "string"
|
|
555
|
+
},
|
|
556
|
+
"visible": {
|
|
557
|
+
"description": "Filter by current visibility.",
|
|
558
|
+
"type": "boolean"
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
"type": "object"
|
|
562
|
+
},
|
|
563
|
+
"index": {
|
|
564
|
+
"description": "Zero-based locator match index.",
|
|
565
|
+
"maximum": 499,
|
|
566
|
+
"minimum": 0,
|
|
567
|
+
"type": "number"
|
|
568
|
+
},
|
|
569
|
+
"name": {
|
|
570
|
+
"description": "Accessible name used with the role strategy.",
|
|
571
|
+
"maxLength": 2000,
|
|
572
|
+
"type": "string"
|
|
573
|
+
},
|
|
574
|
+
"or": {
|
|
575
|
+
"additionalProperties": false,
|
|
576
|
+
"properties": {
|
|
577
|
+
"exact": {
|
|
578
|
+
"description": "Require an exact text or attribute match.",
|
|
579
|
+
"type": "boolean"
|
|
580
|
+
},
|
|
581
|
+
"name": {
|
|
582
|
+
"description": "Accessible name used with the role strategy.",
|
|
583
|
+
"maxLength": 2000,
|
|
584
|
+
"type": "string"
|
|
585
|
+
},
|
|
586
|
+
"strategy": {
|
|
587
|
+
"description": "Locator strategy.",
|
|
588
|
+
"enum": [
|
|
589
|
+
"css",
|
|
590
|
+
"testId",
|
|
591
|
+
"href",
|
|
592
|
+
"role",
|
|
593
|
+
"label",
|
|
594
|
+
"placeholder",
|
|
595
|
+
"text"
|
|
596
|
+
],
|
|
597
|
+
"type": "string"
|
|
598
|
+
},
|
|
599
|
+
"value": {
|
|
600
|
+
"description": "Selector, role, label, placeholder, href, test id, or text value.",
|
|
601
|
+
"maxLength": 2000,
|
|
602
|
+
"minLength": 1,
|
|
603
|
+
"type": "string"
|
|
604
|
+
}
|
|
605
|
+
},
|
|
606
|
+
"required": [
|
|
607
|
+
"strategy",
|
|
608
|
+
"value"
|
|
609
|
+
],
|
|
610
|
+
"type": "object"
|
|
611
|
+
},
|
|
612
|
+
"position": {
|
|
613
|
+
"description": "Locator endpoint after an explicit count.",
|
|
614
|
+
"enum": [
|
|
615
|
+
"first",
|
|
616
|
+
"last"
|
|
617
|
+
],
|
|
618
|
+
"type": "string"
|
|
619
|
+
},
|
|
620
|
+
"strategy": {
|
|
621
|
+
"description": "Locator strategy.",
|
|
622
|
+
"enum": [
|
|
623
|
+
"css",
|
|
624
|
+
"testId",
|
|
625
|
+
"href",
|
|
626
|
+
"role",
|
|
627
|
+
"label",
|
|
628
|
+
"placeholder",
|
|
629
|
+
"text"
|
|
630
|
+
],
|
|
631
|
+
"type": "string"
|
|
632
|
+
},
|
|
633
|
+
"value": {
|
|
634
|
+
"description": "Selector, role, label, placeholder, href, test id, or text value.",
|
|
635
|
+
"maxLength": 2000,
|
|
636
|
+
"minLength": 1,
|
|
637
|
+
"type": "string"
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
"required": [
|
|
641
|
+
"strategy",
|
|
642
|
+
"value"
|
|
643
|
+
],
|
|
644
|
+
"type": "object"
|
|
645
|
+
},
|
|
646
|
+
"strategy": {
|
|
647
|
+
"description": "Locator strategy.",
|
|
648
|
+
"enum": [
|
|
649
|
+
"css",
|
|
650
|
+
"testId",
|
|
651
|
+
"href",
|
|
652
|
+
"role",
|
|
653
|
+
"label",
|
|
654
|
+
"placeholder",
|
|
655
|
+
"text"
|
|
656
|
+
],
|
|
657
|
+
"type": "string"
|
|
658
|
+
},
|
|
659
|
+
"value": {
|
|
660
|
+
"description": "Selector, role, label, placeholder, href, test id, or text value.",
|
|
661
|
+
"maxLength": 2000,
|
|
662
|
+
"minLength": 1,
|
|
663
|
+
"type": "string"
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"required": [
|
|
667
|
+
"strategy",
|
|
668
|
+
"value"
|
|
669
|
+
],
|
|
670
|
+
"type": "object"
|
|
671
|
+
},
|
|
672
|
+
"name": {
|
|
673
|
+
"description": "Attribute name for attribute reads.",
|
|
674
|
+
"maxLength": 200,
|
|
675
|
+
"type": "string"
|
|
676
|
+
},
|
|
677
|
+
"state": {
|
|
678
|
+
"description": "Wait state.",
|
|
679
|
+
"enum": [
|
|
680
|
+
"attached",
|
|
681
|
+
"detached",
|
|
682
|
+
"visible",
|
|
683
|
+
"hidden"
|
|
684
|
+
],
|
|
685
|
+
"type": "string"
|
|
686
|
+
},
|
|
687
|
+
"tabId": {
|
|
688
|
+
"description": "Run-owned Rudder Browser tab id.",
|
|
689
|
+
"maxLength": 160,
|
|
690
|
+
"minLength": 1,
|
|
691
|
+
"type": "string"
|
|
692
|
+
},
|
|
693
|
+
"timeoutMs": {
|
|
694
|
+
"description": "Wait timeout in milliseconds.",
|
|
695
|
+
"maximum": 30000,
|
|
696
|
+
"minimum": 0,
|
|
697
|
+
"type": "number"
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
"required": [
|
|
701
|
+
"tabId",
|
|
702
|
+
"action",
|
|
703
|
+
"locator"
|
|
704
|
+
],
|
|
705
|
+
"type": "object"
|
|
706
|
+
},
|
|
707
|
+
"name": "rudder_browser_locator"
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"api": {
|
|
712
|
+
"method": "POST",
|
|
713
|
+
"pathTemplate": "/api/browser/cua",
|
|
714
|
+
"transport": "direct"
|
|
715
|
+
},
|
|
716
|
+
"cli": {
|
|
717
|
+
"attachesRunIdWhenAvailable": true,
|
|
718
|
+
"category": "browser",
|
|
719
|
+
"command": "rudder browser cua <tab-id> --input <json>",
|
|
720
|
+
"contract": "agent-v1",
|
|
721
|
+
"description": "Perform trusted coordinate mouse, scroll, drag, keyboard, and text input in a run-owned Browser tab.",
|
|
722
|
+
"id": "browser.cua",
|
|
723
|
+
"mutating": true,
|
|
724
|
+
"requiresAgentId": true,
|
|
725
|
+
"requiresOrgId": true,
|
|
726
|
+
"requiresRunId": true
|
|
727
|
+
},
|
|
728
|
+
"id": "browser.cua",
|
|
729
|
+
"mcp": {
|
|
730
|
+
"annotations": {
|
|
731
|
+
"destructiveHint": false,
|
|
732
|
+
"idempotentHint": false,
|
|
733
|
+
"readOnlyHint": false,
|
|
734
|
+
"title": "Perform trusted coordinate mouse, scroll, drag, keyboard, and text input in a run-owned Browser tab"
|
|
735
|
+
},
|
|
736
|
+
"capabilityId": "browser.cua",
|
|
737
|
+
"description": "Perform trusted coordinate mouse, scroll, drag, keyboard, and text input in a run-owned Browser tab. 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: required from runtime env. Run attribution: attached from runtime env when available.",
|
|
738
|
+
"inputSchema": {
|
|
739
|
+
"additionalProperties": false,
|
|
740
|
+
"properties": {
|
|
741
|
+
"action": {
|
|
742
|
+
"description": "Coordinate input or inspection action.",
|
|
743
|
+
"enum": [
|
|
744
|
+
"click",
|
|
745
|
+
"doubleClick",
|
|
746
|
+
"move",
|
|
747
|
+
"scroll",
|
|
748
|
+
"drag",
|
|
749
|
+
"keypress",
|
|
750
|
+
"type",
|
|
751
|
+
"elementInfo"
|
|
752
|
+
],
|
|
753
|
+
"type": "string"
|
|
754
|
+
},
|
|
755
|
+
"button": {
|
|
756
|
+
"oneOf": [
|
|
757
|
+
{
|
|
758
|
+
"description": "Mouse button number.",
|
|
759
|
+
"maximum": 5,
|
|
760
|
+
"minimum": 1,
|
|
761
|
+
"type": "number"
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"description": "Mouse button.",
|
|
765
|
+
"enum": [
|
|
766
|
+
"left",
|
|
767
|
+
"middle",
|
|
768
|
+
"right"
|
|
769
|
+
],
|
|
770
|
+
"type": "string"
|
|
771
|
+
}
|
|
772
|
+
]
|
|
773
|
+
},
|
|
774
|
+
"keys": {
|
|
775
|
+
"items": {
|
|
776
|
+
"description": "Keyboard key or modifier.",
|
|
777
|
+
"maxLength": 100,
|
|
778
|
+
"minLength": 1,
|
|
779
|
+
"type": "string"
|
|
780
|
+
},
|
|
781
|
+
"maxItems": 10,
|
|
782
|
+
"type": "array"
|
|
783
|
+
},
|
|
784
|
+
"path": {
|
|
785
|
+
"items": {
|
|
786
|
+
"additionalProperties": false,
|
|
787
|
+
"properties": {
|
|
788
|
+
"x": {
|
|
789
|
+
"description": "Path X coordinate.",
|
|
790
|
+
"type": "number"
|
|
791
|
+
},
|
|
792
|
+
"y": {
|
|
793
|
+
"description": "Path Y coordinate.",
|
|
794
|
+
"type": "number"
|
|
795
|
+
}
|
|
796
|
+
},
|
|
797
|
+
"required": [
|
|
798
|
+
"x",
|
|
799
|
+
"y"
|
|
800
|
+
],
|
|
801
|
+
"type": "object"
|
|
802
|
+
},
|
|
803
|
+
"maxItems": 200,
|
|
804
|
+
"minItems": 2,
|
|
805
|
+
"type": "array"
|
|
806
|
+
},
|
|
807
|
+
"scrollX": {
|
|
808
|
+
"description": "Horizontal scroll delta.",
|
|
809
|
+
"type": "number"
|
|
810
|
+
},
|
|
811
|
+
"scrollY": {
|
|
812
|
+
"description": "Vertical scroll delta.",
|
|
813
|
+
"type": "number"
|
|
814
|
+
},
|
|
815
|
+
"tabId": {
|
|
816
|
+
"description": "Run-owned Rudder Browser tab id.",
|
|
817
|
+
"maxLength": 160,
|
|
818
|
+
"minLength": 1,
|
|
819
|
+
"type": "string"
|
|
820
|
+
},
|
|
821
|
+
"text": {
|
|
822
|
+
"description": "Text to type.",
|
|
823
|
+
"maxLength": 100000,
|
|
824
|
+
"type": "string"
|
|
825
|
+
},
|
|
826
|
+
"x": {
|
|
827
|
+
"description": "Viewport X coordinate.",
|
|
828
|
+
"type": "number"
|
|
829
|
+
},
|
|
830
|
+
"y": {
|
|
831
|
+
"description": "Viewport Y coordinate.",
|
|
832
|
+
"type": "number"
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
"required": [
|
|
836
|
+
"tabId",
|
|
837
|
+
"action"
|
|
838
|
+
],
|
|
839
|
+
"type": "object"
|
|
840
|
+
},
|
|
841
|
+
"name": "rudder_browser_cua"
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"api": {
|
|
846
|
+
"method": "POST",
|
|
847
|
+
"pathTemplate": "/api/browser/dom_cua",
|
|
848
|
+
"transport": "direct"
|
|
849
|
+
},
|
|
850
|
+
"cli": {
|
|
851
|
+
"attachesRunIdWhenAvailable": true,
|
|
852
|
+
"category": "browser",
|
|
853
|
+
"command": "rudder browser dom-cua <tab-id> --input <json>",
|
|
854
|
+
"contract": "agent-v1",
|
|
855
|
+
"description": "Inspect a bounded read-only DOM snapshot with ephemeral node ids.",
|
|
856
|
+
"id": "browser.dom-cua",
|
|
857
|
+
"mutating": false,
|
|
858
|
+
"requiresAgentId": true,
|
|
859
|
+
"requiresOrgId": true,
|
|
860
|
+
"requiresRunId": true
|
|
861
|
+
},
|
|
862
|
+
"id": "browser.dom-cua",
|
|
863
|
+
"mcp": {
|
|
864
|
+
"annotations": {
|
|
865
|
+
"destructiveHint": false,
|
|
866
|
+
"idempotentHint": true,
|
|
867
|
+
"readOnlyHint": true,
|
|
868
|
+
"title": "Inspect a bounded read-only DOM snapshot with ephemeral node ids"
|
|
869
|
+
},
|
|
870
|
+
"capabilityId": "browser.dom-cua",
|
|
871
|
+
"description": "Inspect a bounded read-only DOM snapshot with ephemeral node ids. 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: required from runtime env. Run attribution: attached from runtime env when available.",
|
|
872
|
+
"inputSchema": {
|
|
873
|
+
"additionalProperties": false,
|
|
874
|
+
"properties": {
|
|
875
|
+
"action": {
|
|
876
|
+
"description": "Read-only DOM snapshot action.",
|
|
877
|
+
"enum": [
|
|
878
|
+
"get"
|
|
879
|
+
],
|
|
880
|
+
"type": "string"
|
|
881
|
+
},
|
|
882
|
+
"depth": {
|
|
883
|
+
"description": "Maximum DOM depth.",
|
|
884
|
+
"maximum": 30,
|
|
885
|
+
"minimum": 1,
|
|
886
|
+
"type": "number"
|
|
887
|
+
},
|
|
888
|
+
"maxNodes": {
|
|
889
|
+
"description": "Maximum DOM nodes.",
|
|
890
|
+
"maximum": 3000,
|
|
891
|
+
"minimum": 1,
|
|
892
|
+
"type": "number"
|
|
893
|
+
},
|
|
894
|
+
"tabId": {
|
|
895
|
+
"description": "Run-owned Rudder Browser tab id.",
|
|
896
|
+
"maxLength": 160,
|
|
897
|
+
"minLength": 1,
|
|
898
|
+
"type": "string"
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
"required": [
|
|
902
|
+
"tabId",
|
|
903
|
+
"action"
|
|
904
|
+
],
|
|
905
|
+
"type": "object"
|
|
906
|
+
},
|
|
907
|
+
"name": "rudder_browser_dom_cua"
|
|
908
|
+
}
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"api": {
|
|
912
|
+
"method": "POST",
|
|
913
|
+
"pathTemplate": "/api/browser/dialog",
|
|
914
|
+
"transport": "direct"
|
|
915
|
+
},
|
|
916
|
+
"cli": {
|
|
917
|
+
"attachesRunIdWhenAvailable": true,
|
|
918
|
+
"category": "browser",
|
|
919
|
+
"command": "rudder browser dialog <tab-id> --input <json>",
|
|
920
|
+
"contract": "agent-v1",
|
|
921
|
+
"description": "Inspect, accept, or dismiss the active JavaScript dialog in a run-owned Browser tab.",
|
|
922
|
+
"id": "browser.dialog",
|
|
923
|
+
"mutating": true,
|
|
924
|
+
"requiresAgentId": true,
|
|
925
|
+
"requiresOrgId": true,
|
|
926
|
+
"requiresRunId": true
|
|
927
|
+
},
|
|
928
|
+
"id": "browser.dialog",
|
|
929
|
+
"mcp": {
|
|
930
|
+
"annotations": {
|
|
931
|
+
"destructiveHint": false,
|
|
932
|
+
"idempotentHint": false,
|
|
933
|
+
"readOnlyHint": false,
|
|
934
|
+
"title": "Inspect, accept, or dismiss the active JavaScript dialog in a run-owned Browser tab"
|
|
935
|
+
},
|
|
936
|
+
"capabilityId": "browser.dialog",
|
|
937
|
+
"description": "Inspect, accept, or dismiss the active JavaScript dialog in a run-owned Browser tab. 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: required from runtime env. Run attribution: attached from runtime env when available.",
|
|
938
|
+
"inputSchema": {
|
|
939
|
+
"additionalProperties": false,
|
|
940
|
+
"properties": {
|
|
941
|
+
"action": {
|
|
942
|
+
"description": "Dialog action.",
|
|
943
|
+
"enum": [
|
|
944
|
+
"get",
|
|
945
|
+
"accept",
|
|
946
|
+
"dismiss"
|
|
947
|
+
],
|
|
948
|
+
"type": "string"
|
|
949
|
+
},
|
|
950
|
+
"promptText": {
|
|
951
|
+
"description": "Prompt response text.",
|
|
952
|
+
"maxLength": 10000,
|
|
953
|
+
"type": "string"
|
|
954
|
+
},
|
|
955
|
+
"tabId": {
|
|
956
|
+
"description": "Run-owned Rudder Browser tab id.",
|
|
957
|
+
"maxLength": 160,
|
|
958
|
+
"minLength": 1,
|
|
959
|
+
"type": "string"
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
"required": [
|
|
963
|
+
"tabId",
|
|
964
|
+
"action"
|
|
965
|
+
],
|
|
966
|
+
"type": "object"
|
|
967
|
+
},
|
|
968
|
+
"name": "rudder_browser_dialog"
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"api": {
|
|
973
|
+
"method": "POST",
|
|
974
|
+
"pathTemplate": "/api/browser/clipboard",
|
|
975
|
+
"transport": "direct"
|
|
976
|
+
},
|
|
977
|
+
"cli": {
|
|
978
|
+
"attachesRunIdWhenAvailable": true,
|
|
979
|
+
"category": "browser",
|
|
980
|
+
"command": "rudder browser clipboard --input <json>",
|
|
981
|
+
"contract": "agent-v1",
|
|
982
|
+
"description": "Read or write the isolated virtual clipboard for the current Browser run without touching the OS clipboard.",
|
|
983
|
+
"id": "browser.clipboard",
|
|
984
|
+
"mutating": true,
|
|
985
|
+
"requiresAgentId": true,
|
|
986
|
+
"requiresOrgId": true,
|
|
987
|
+
"requiresRunId": true
|
|
988
|
+
},
|
|
989
|
+
"id": "browser.clipboard",
|
|
990
|
+
"mcp": {
|
|
991
|
+
"annotations": {
|
|
992
|
+
"destructiveHint": true,
|
|
993
|
+
"idempotentHint": false,
|
|
994
|
+
"readOnlyHint": false,
|
|
995
|
+
"title": "Read or write the isolated virtual clipboard for the current Browser run without touching the OS clipboard"
|
|
996
|
+
},
|
|
997
|
+
"capabilityId": "browser.clipboard",
|
|
998
|
+
"description": "Read or write the isolated virtual clipboard for the current Browser run without touching the OS clipboard. 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: required from runtime env. Run attribution: attached from runtime env when available.",
|
|
999
|
+
"inputSchema": {
|
|
1000
|
+
"additionalProperties": false,
|
|
1001
|
+
"properties": {
|
|
1002
|
+
"action": {
|
|
1003
|
+
"description": "Virtual clipboard action.",
|
|
1004
|
+
"enum": [
|
|
1005
|
+
"read",
|
|
1006
|
+
"readText",
|
|
1007
|
+
"write",
|
|
1008
|
+
"writeText",
|
|
1009
|
+
"clear"
|
|
1010
|
+
],
|
|
1011
|
+
"type": "string"
|
|
1012
|
+
},
|
|
1013
|
+
"items": {
|
|
1014
|
+
"items": {
|
|
1015
|
+
"additionalProperties": false,
|
|
1016
|
+
"properties": {
|
|
1017
|
+
"entries": {
|
|
1018
|
+
"items": {
|
|
1019
|
+
"additionalProperties": false,
|
|
1020
|
+
"properties": {
|
|
1021
|
+
"base64": {
|
|
1022
|
+
"description": "Base64 clipboard payload.",
|
|
1023
|
+
"maxLength": 650000,
|
|
1024
|
+
"type": "string"
|
|
1025
|
+
},
|
|
1026
|
+
"mimeType": {
|
|
1027
|
+
"description": "Clipboard MIME type.",
|
|
1028
|
+
"maxLength": 200,
|
|
1029
|
+
"minLength": 1,
|
|
1030
|
+
"type": "string"
|
|
1031
|
+
},
|
|
1032
|
+
"text": {
|
|
1033
|
+
"description": "Text clipboard payload.",
|
|
1034
|
+
"maxLength": 500000,
|
|
1035
|
+
"type": "string"
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
"required": [
|
|
1039
|
+
"mimeType"
|
|
1040
|
+
],
|
|
1041
|
+
"type": "object"
|
|
1042
|
+
},
|
|
1043
|
+
"maxItems": 20,
|
|
1044
|
+
"type": "array"
|
|
1045
|
+
},
|
|
1046
|
+
"presentationStyle": {
|
|
1047
|
+
"description": "Clipboard presentation style.",
|
|
1048
|
+
"enum": [
|
|
1049
|
+
"unspecified",
|
|
1050
|
+
"inline",
|
|
1051
|
+
"attachment"
|
|
1052
|
+
],
|
|
1053
|
+
"type": "string"
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
"required": [
|
|
1057
|
+
"entries"
|
|
1058
|
+
],
|
|
1059
|
+
"type": "object"
|
|
1060
|
+
},
|
|
1061
|
+
"maxItems": 20,
|
|
1062
|
+
"type": "array"
|
|
1063
|
+
},
|
|
1064
|
+
"text": {
|
|
1065
|
+
"description": "Plain clipboard text.",
|
|
1066
|
+
"maxLength": 500000,
|
|
1067
|
+
"type": "string"
|
|
1068
|
+
}
|
|
1069
|
+
},
|
|
1070
|
+
"required": [
|
|
1071
|
+
"action"
|
|
1072
|
+
],
|
|
1073
|
+
"type": "object"
|
|
1074
|
+
},
|
|
1075
|
+
"name": "rudder_browser_clipboard"
|
|
1076
|
+
}
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"api": {
|
|
1080
|
+
"method": "POST",
|
|
1081
|
+
"pathTemplate": "/api/browser/logs",
|
|
1082
|
+
"transport": "direct"
|
|
1083
|
+
},
|
|
1084
|
+
"cli": {
|
|
1085
|
+
"attachesRunIdWhenAvailable": true,
|
|
1086
|
+
"category": "browser",
|
|
1087
|
+
"command": "rudder browser logs <tab-id> [--input <json>]",
|
|
1088
|
+
"contract": "agent-v1",
|
|
1089
|
+
"description": "Read bounded console and runtime logs captured for a run-owned Browser tab.",
|
|
1090
|
+
"id": "browser.logs",
|
|
1091
|
+
"mutating": true,
|
|
1092
|
+
"requiresAgentId": true,
|
|
1093
|
+
"requiresOrgId": true,
|
|
1094
|
+
"requiresRunId": true
|
|
1095
|
+
},
|
|
1096
|
+
"id": "browser.logs",
|
|
1097
|
+
"mcp": {
|
|
1098
|
+
"annotations": {
|
|
1099
|
+
"destructiveHint": true,
|
|
1100
|
+
"idempotentHint": false,
|
|
1101
|
+
"readOnlyHint": false,
|
|
1102
|
+
"title": "Read bounded console and runtime logs captured for a run-owned Browser tab"
|
|
1103
|
+
},
|
|
1104
|
+
"capabilityId": "browser.logs",
|
|
1105
|
+
"description": "Read bounded console and runtime logs captured for a run-owned Browser tab. 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: required from runtime env. Run attribution: attached from runtime env when available.",
|
|
1106
|
+
"inputSchema": {
|
|
1107
|
+
"additionalProperties": false,
|
|
1108
|
+
"properties": {
|
|
1109
|
+
"clear": {
|
|
1110
|
+
"description": "Clear the tab log buffer after reading.",
|
|
1111
|
+
"type": "boolean"
|
|
1112
|
+
},
|
|
1113
|
+
"filter": {
|
|
1114
|
+
"description": "Case-insensitive log substring filter.",
|
|
1115
|
+
"maxLength": 2000,
|
|
1116
|
+
"type": "string"
|
|
1117
|
+
},
|
|
1118
|
+
"levels": {
|
|
1119
|
+
"items": {
|
|
1120
|
+
"description": "Log level.",
|
|
1121
|
+
"enum": [
|
|
1122
|
+
"debug",
|
|
1123
|
+
"info",
|
|
1124
|
+
"log",
|
|
1125
|
+
"warn",
|
|
1126
|
+
"error"
|
|
1127
|
+
],
|
|
1128
|
+
"type": "string"
|
|
1129
|
+
},
|
|
1130
|
+
"maxItems": 5,
|
|
1131
|
+
"type": "array"
|
|
1132
|
+
},
|
|
1133
|
+
"limit": {
|
|
1134
|
+
"description": "Maximum log entries.",
|
|
1135
|
+
"maximum": 500,
|
|
1136
|
+
"minimum": 1,
|
|
1137
|
+
"type": "number"
|
|
1138
|
+
},
|
|
1139
|
+
"tabId": {
|
|
1140
|
+
"description": "Run-owned Rudder Browser tab id.",
|
|
1141
|
+
"maxLength": 160,
|
|
1142
|
+
"minLength": 1,
|
|
1143
|
+
"type": "string"
|
|
1144
|
+
}
|
|
1145
|
+
},
|
|
1146
|
+
"required": [
|
|
1147
|
+
"tabId"
|
|
1148
|
+
],
|
|
1149
|
+
"type": "object"
|
|
1150
|
+
},
|
|
1151
|
+
"name": "rudder_browser_logs"
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
];
|
|
1155
|
+
//# sourceMappingURL=rudder-agent-contract-capabilities-003.js.map
|