genexus-mcp 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +192 -0
- package/bin/run.js +45 -0
- package/package.json +25 -0
- package/publish/GxMcp.Gateway.deps.json +125 -0
- package/publish/GxMcp.Gateway.dll +0 -0
- package/publish/GxMcp.Gateway.exe +0 -0
- package/publish/GxMcp.Gateway.pdb +0 -0
- package/publish/GxMcp.Gateway.runtimeconfig.json +20 -0
- package/publish/Newtonsoft.Json.dll +0 -0
- package/publish/System.CodeDom.dll +0 -0
- package/publish/System.Management.dll +0 -0
- package/publish/System.Security.Permissions.dll +0 -0
- package/publish/System.Windows.Extensions.dll +0 -0
- package/publish/config.json +19 -0
- package/publish/gateway_debug.log +5938 -0
- package/publish/gateway_debug.prev.log +5 -0
- package/publish/gateway_panic.log +16 -0
- package/publish/runtimes/win/lib/net8.0/System.Management.dll +0 -0
- package/publish/runtimes/win/lib/net8.0/System.Windows.Extensions.dll +0 -0
- package/publish/start_mcp.bat +22 -0
- package/publish/tool_definitions.json +899 -0
- package/publish/web.config +12 -0
- package/publish/worker/DataTracing.log +0 -0
- package/publish/worker/GxMcp.Worker.exe +0 -0
- package/publish/worker/GxMcp.Worker.exe.config +76 -0
- package/publish/worker/GxMcp.Worker.pdb +0 -0
- package/publish/worker/Newtonsoft.Json.dll +0 -0
- package/publish/worker/ProcArqCandUniGra.md +160 -0
- package/publish/worker/cache/search_index.json +1 -0
- package/publish/worker/search_index.json +1 -0
- package/publish/worker/worker_debug.log +84 -0
- package/publish/worker/worker_debug.prev.log +32 -0
- package/publish/worker/worker_entlib.log +123 -0
|
@@ -0,0 +1,899 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "genexus_query",
|
|
4
|
+
"description": "Semantic search for objects, references, and snippets. Supports prefixes like 'usedby:Name', 'type:Type', 'description:Text', 'parent:FolderName', and 'parentPath:\"Module/Folder\"'. NOTE: If this tool returns 'Index missing', you MUST run genexus_lifecycle(action='index') before searching again.",
|
|
5
|
+
"inputSchema": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"query": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The search query."
|
|
11
|
+
},
|
|
12
|
+
"typeFilter": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Optional server-side type filter applied before ranking, such as 'Folder' or 'Module'."
|
|
15
|
+
},
|
|
16
|
+
"domainFilter": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Optional business domain filter applied before ranking."
|
|
19
|
+
},
|
|
20
|
+
"limit": {
|
|
21
|
+
"type": "integer",
|
|
22
|
+
"description": "Max results (default 50).",
|
|
23
|
+
"default": 50
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"required": [
|
|
27
|
+
"query"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "genexus_list_objects",
|
|
33
|
+
"description": "Lists objects and structural containers from the KB. Supports legacy parent-name filtering and canonical hierarchical filtering with 'parentPath' for module/folder disambiguation.",
|
|
34
|
+
"inputSchema": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"filter": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"description": "Optional partial name or comma-separated type filter."
|
|
40
|
+
},
|
|
41
|
+
"limit": {
|
|
42
|
+
"type": "integer",
|
|
43
|
+
"description": "Max results (default 5000).",
|
|
44
|
+
"default": 5000
|
|
45
|
+
},
|
|
46
|
+
"offset": {
|
|
47
|
+
"type": "integer",
|
|
48
|
+
"description": "Pagination offset."
|
|
49
|
+
},
|
|
50
|
+
"parent": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"description": "Legacy immediate parent label filter."
|
|
53
|
+
},
|
|
54
|
+
"parentPath": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "Canonical hierarchical parent path, for example 'ModuloA/Procs'."
|
|
57
|
+
},
|
|
58
|
+
"typeFilter": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "Optional server-side type filter applied before returning results."
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "genexus_read",
|
|
67
|
+
"description": "Reads source code or editable metadata from object parts such as Source, Rules, Events, Layout, WebForm, and WorkWithPlus PatternInstance. Source-first for MCP usage and supports pagination.",
|
|
68
|
+
"inputSchema": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"properties": {
|
|
71
|
+
"name": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"description": "Object name."
|
|
74
|
+
},
|
|
75
|
+
"part": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"description": "Part (for example Source, Rules, Events, Layout, WebForm, PatternInstance).",
|
|
78
|
+
"default": "Source"
|
|
79
|
+
},
|
|
80
|
+
"offset": {
|
|
81
|
+
"type": "integer",
|
|
82
|
+
"description": "Start line for pagination."
|
|
83
|
+
},
|
|
84
|
+
"limit": {
|
|
85
|
+
"type": "integer",
|
|
86
|
+
"description": "Lines to read."
|
|
87
|
+
},
|
|
88
|
+
"type": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"description": "Optional object type (e.g., 'Procedure', 'File') to resolve name collisions."
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"required": [
|
|
94
|
+
"name"
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "genexus_batch_read",
|
|
100
|
+
"description": "Reads source code from multiple objects in a single call. Drastically improves context-gathering speed.",
|
|
101
|
+
"inputSchema": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"properties": {
|
|
104
|
+
"items": {
|
|
105
|
+
"type": "array",
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"properties": {
|
|
109
|
+
"name": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"description": "Object name."
|
|
112
|
+
},
|
|
113
|
+
"part": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"description": "Part (Source, Rules, Events).",
|
|
116
|
+
"default": "Source"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"required": [
|
|
120
|
+
"name"
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"required": [
|
|
126
|
+
"items"
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "genexus_edit",
|
|
132
|
+
"description": "Updates object source code or editable metadata parts. Use 'mode=full' for complete overwrite or 'mode=patch' for surgical changes.",
|
|
133
|
+
"inputSchema": {
|
|
134
|
+
"type": "object",
|
|
135
|
+
"properties": {
|
|
136
|
+
"name": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"description": "Object name."
|
|
139
|
+
},
|
|
140
|
+
"part": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"description": "Part name (for example Source, Rules, Layout, WebForm, PatternInstance).",
|
|
143
|
+
"default": "Source"
|
|
144
|
+
},
|
|
145
|
+
"mode": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"enum": [
|
|
148
|
+
"full",
|
|
149
|
+
"patch"
|
|
150
|
+
],
|
|
151
|
+
"description": "Edit mode."
|
|
152
|
+
},
|
|
153
|
+
"content": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"description": "New code or patch content."
|
|
156
|
+
},
|
|
157
|
+
"context": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "For patch mode: The exact text (old_string) to replace."
|
|
160
|
+
},
|
|
161
|
+
"operation": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"enum": [
|
|
164
|
+
"Replace",
|
|
165
|
+
"Insert_After",
|
|
166
|
+
"Append"
|
|
167
|
+
],
|
|
168
|
+
"description": "For patch mode: Operation to perform."
|
|
169
|
+
},
|
|
170
|
+
"expectedCount": {
|
|
171
|
+
"type": "integer",
|
|
172
|
+
"description": "For patch mode: expected number of matching context blocks (default 1).",
|
|
173
|
+
"default": 1
|
|
174
|
+
},
|
|
175
|
+
"dryRun": {
|
|
176
|
+
"type": "boolean",
|
|
177
|
+
"description": "For patch mode: validates and computes patch result without persisting changes.",
|
|
178
|
+
"default": false
|
|
179
|
+
},
|
|
180
|
+
"changes": {
|
|
181
|
+
"type": "array",
|
|
182
|
+
"items": {
|
|
183
|
+
"type": "object",
|
|
184
|
+
"properties": {
|
|
185
|
+
"part": {
|
|
186
|
+
"type": "string"
|
|
187
|
+
},
|
|
188
|
+
"mode": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"enum": [
|
|
191
|
+
"full",
|
|
192
|
+
"patch"
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
"content": {
|
|
196
|
+
"type": "string"
|
|
197
|
+
},
|
|
198
|
+
"context": {
|
|
199
|
+
"type": "string"
|
|
200
|
+
},
|
|
201
|
+
"operation": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"enum": [
|
|
204
|
+
"Replace",
|
|
205
|
+
"Insert_After",
|
|
206
|
+
"Append"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"expectedCount": {
|
|
210
|
+
"type": "integer",
|
|
211
|
+
"description": "For patch mode: expected number of matching context blocks.",
|
|
212
|
+
"default": 1
|
|
213
|
+
},
|
|
214
|
+
"dryRun": {
|
|
215
|
+
"type": "boolean",
|
|
216
|
+
"description": "For patch mode: validates patch without persisting.",
|
|
217
|
+
"default": false
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"required": [
|
|
221
|
+
"content"
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
"description": "Batch of changes to apply to this object."
|
|
225
|
+
},
|
|
226
|
+
"type": {
|
|
227
|
+
"type": "string",
|
|
228
|
+
"description": "Optional object type to resolve name collisions."
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"required": [
|
|
232
|
+
"name"
|
|
233
|
+
]
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "genexus_batch_edit",
|
|
238
|
+
"description": "Applies edits across multiple objects in a single call. Each item specifies a target object and an array of changes (patch or full). More efficient than multiple genexus_edit calls.",
|
|
239
|
+
"inputSchema": {
|
|
240
|
+
"type": "object",
|
|
241
|
+
"properties": {
|
|
242
|
+
"items": {
|
|
243
|
+
"type": "array",
|
|
244
|
+
"items": {
|
|
245
|
+
"type": "object",
|
|
246
|
+
"properties": {
|
|
247
|
+
"name": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"description": "Target object name."
|
|
250
|
+
},
|
|
251
|
+
"changes": {
|
|
252
|
+
"type": "array",
|
|
253
|
+
"items": {
|
|
254
|
+
"type": "object",
|
|
255
|
+
"properties": {
|
|
256
|
+
"part": {
|
|
257
|
+
"type": "string",
|
|
258
|
+
"description": "Part name (Source, Rules, Events).",
|
|
259
|
+
"default": "Source"
|
|
260
|
+
},
|
|
261
|
+
"mode": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"enum": [
|
|
264
|
+
"full",
|
|
265
|
+
"patch"
|
|
266
|
+
],
|
|
267
|
+
"description": "Edit mode.",
|
|
268
|
+
"default": "patch"
|
|
269
|
+
},
|
|
270
|
+
"content": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"description": "New code or patch content."
|
|
273
|
+
},
|
|
274
|
+
"context": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"description": "For patch mode: exact text to replace."
|
|
277
|
+
},
|
|
278
|
+
"operation": {
|
|
279
|
+
"type": "string",
|
|
280
|
+
"enum": [
|
|
281
|
+
"Replace",
|
|
282
|
+
"Insert_After",
|
|
283
|
+
"Append"
|
|
284
|
+
],
|
|
285
|
+
"description": "Patch operation.",
|
|
286
|
+
"default": "Replace"
|
|
287
|
+
},
|
|
288
|
+
"expectedCount": {
|
|
289
|
+
"type": "integer",
|
|
290
|
+
"description": "For patch mode: expected number of matching context blocks.",
|
|
291
|
+
"default": 1
|
|
292
|
+
},
|
|
293
|
+
"dryRun": {
|
|
294
|
+
"type": "boolean",
|
|
295
|
+
"description": "For patch mode: validates patch without persisting.",
|
|
296
|
+
"default": false
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"required": [
|
|
300
|
+
"content"
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
"description": "Changes to apply to this object."
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"required": [
|
|
307
|
+
"name",
|
|
308
|
+
"changes"
|
|
309
|
+
]
|
|
310
|
+
},
|
|
311
|
+
"description": "Array of objects to edit, each with its own changes."
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"required": [
|
|
315
|
+
"items"
|
|
316
|
+
]
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "genexus_inspect",
|
|
321
|
+
"description": "Comprehensive object inspection. Returns metadata, variables, structure, and signature in a single call.",
|
|
322
|
+
"inputSchema": {
|
|
323
|
+
"type": "object",
|
|
324
|
+
"properties": {
|
|
325
|
+
"name": {
|
|
326
|
+
"type": "string",
|
|
327
|
+
"description": "Object name."
|
|
328
|
+
},
|
|
329
|
+
"include": {
|
|
330
|
+
"type": "array",
|
|
331
|
+
"items": {
|
|
332
|
+
"type": "string",
|
|
333
|
+
"enum": [
|
|
334
|
+
"metadata",
|
|
335
|
+
"variables",
|
|
336
|
+
"signature",
|
|
337
|
+
"structure"
|
|
338
|
+
]
|
|
339
|
+
},
|
|
340
|
+
"description": "Specific parts to include (defaults to all)."
|
|
341
|
+
},
|
|
342
|
+
"type": {
|
|
343
|
+
"type": "string",
|
|
344
|
+
"description": "Optional object type to resolve name collisions."
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
"required": [
|
|
348
|
+
"name"
|
|
349
|
+
]
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"name": "genexus_analyze",
|
|
354
|
+
"description": "Deep semantic and structural analysis using various specialized engines.",
|
|
355
|
+
"inputSchema": {
|
|
356
|
+
"type": "object",
|
|
357
|
+
"properties": {
|
|
358
|
+
"name": {
|
|
359
|
+
"type": "string",
|
|
360
|
+
"description": "Object name."
|
|
361
|
+
},
|
|
362
|
+
"mode": {
|
|
363
|
+
"type": "string",
|
|
364
|
+
"enum": [
|
|
365
|
+
"linter",
|
|
366
|
+
"navigation",
|
|
367
|
+
"hierarchy",
|
|
368
|
+
"impact",
|
|
369
|
+
"data_context",
|
|
370
|
+
"ui_context",
|
|
371
|
+
"pattern_metadata"
|
|
372
|
+
],
|
|
373
|
+
"description": "The type of analysis to perform."
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"required": [
|
|
377
|
+
"name",
|
|
378
|
+
"mode"
|
|
379
|
+
]
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "genexus_summarize",
|
|
384
|
+
"description": "Creates a semantically compressed summary of a GeneXus object to save tokens.",
|
|
385
|
+
"inputSchema": {
|
|
386
|
+
"type": "object",
|
|
387
|
+
"properties": {
|
|
388
|
+
"name": {
|
|
389
|
+
"type": "string",
|
|
390
|
+
"description": "Object name."
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"required": [
|
|
394
|
+
"name"
|
|
395
|
+
]
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"name": "genexus_inject_context",
|
|
400
|
+
"description": "Automates dependency discovery. Injects SDT structures and Procedure signatures of called objects into context.",
|
|
401
|
+
"inputSchema": {
|
|
402
|
+
"type": "object",
|
|
403
|
+
"properties": {
|
|
404
|
+
"name": {
|
|
405
|
+
"type": "string",
|
|
406
|
+
"description": "Object name."
|
|
407
|
+
},
|
|
408
|
+
"recursive": {
|
|
409
|
+
"type": "boolean",
|
|
410
|
+
"description": "Whether to discover dependencies of dependencies (default: false).",
|
|
411
|
+
"default": false
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"required": [
|
|
415
|
+
"name"
|
|
416
|
+
]
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "genexus_lifecycle",
|
|
421
|
+
"description": "KB state management: build, validate, sync, and indexing. For long-running MCP operations, query action='status' or action='result' with target='op:<operationId>'.",
|
|
422
|
+
"inputSchema": {
|
|
423
|
+
"type": "object",
|
|
424
|
+
"properties": {
|
|
425
|
+
"action": {
|
|
426
|
+
"type": "string",
|
|
427
|
+
"enum": [
|
|
428
|
+
"build",
|
|
429
|
+
"rebuild",
|
|
430
|
+
"reorg",
|
|
431
|
+
"validate",
|
|
432
|
+
"sync",
|
|
433
|
+
"index",
|
|
434
|
+
"status",
|
|
435
|
+
"result"
|
|
436
|
+
],
|
|
437
|
+
"description": "Lifecycle action."
|
|
438
|
+
},
|
|
439
|
+
"target": {
|
|
440
|
+
"type": "string",
|
|
441
|
+
"description": "Object or environment name, taskId for build status, or op:<operationId> for gateway operation tracking."
|
|
442
|
+
},
|
|
443
|
+
"code": {
|
|
444
|
+
"type": "string",
|
|
445
|
+
"description": "For validation: the code to check."
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"required": [
|
|
449
|
+
"action"
|
|
450
|
+
]
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "genexus_open_kb",
|
|
455
|
+
"description": "Opens an existing GeneXus Knowledge Base for the active MCP session.",
|
|
456
|
+
"inputSchema": {
|
|
457
|
+
"type": "object",
|
|
458
|
+
"properties": {
|
|
459
|
+
"path": {
|
|
460
|
+
"type": "string",
|
|
461
|
+
"description": "Absolute path to the GeneXus Knowledge Base directory."
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"required": [
|
|
465
|
+
"path"
|
|
466
|
+
]
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"name": "genexus_forge",
|
|
471
|
+
"description": "Generation of new code and structures from templates or translations.",
|
|
472
|
+
"inputSchema": {
|
|
473
|
+
"type": "object",
|
|
474
|
+
"properties": {
|
|
475
|
+
"action": {
|
|
476
|
+
"type": "string",
|
|
477
|
+
"enum": [
|
|
478
|
+
"scaffold",
|
|
479
|
+
"translate",
|
|
480
|
+
"sample"
|
|
481
|
+
],
|
|
482
|
+
"description": "Generation action."
|
|
483
|
+
},
|
|
484
|
+
"type": {
|
|
485
|
+
"type": "string",
|
|
486
|
+
"description": "Object type (e.g. Prc, Trn)."
|
|
487
|
+
},
|
|
488
|
+
"name": {
|
|
489
|
+
"type": "string",
|
|
490
|
+
"description": "Object name."
|
|
491
|
+
},
|
|
492
|
+
"content": {
|
|
493
|
+
"type": "string",
|
|
494
|
+
"description": "Initial code or target language."
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"required": [
|
|
498
|
+
"action"
|
|
499
|
+
]
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"name": "genexus_test",
|
|
504
|
+
"description": "Execution of native GeneXus tests (GXtest).",
|
|
505
|
+
"inputSchema": {
|
|
506
|
+
"type": "object",
|
|
507
|
+
"properties": {
|
|
508
|
+
"name": {
|
|
509
|
+
"type": "string",
|
|
510
|
+
"description": "Test object name."
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"required": [
|
|
514
|
+
"name"
|
|
515
|
+
]
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"name": "genexus_get_sql",
|
|
520
|
+
"description": "Returns the SQL DDL (CREATE TABLE) for a specific Transaction or Table object.",
|
|
521
|
+
"inputSchema": {
|
|
522
|
+
"type": "object",
|
|
523
|
+
"properties": {
|
|
524
|
+
"name": {
|
|
525
|
+
"type": "string",
|
|
526
|
+
"description": "The name of the Transaction or Table."
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
"required": [
|
|
530
|
+
"name"
|
|
531
|
+
]
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"name": "genexus_create_object",
|
|
536
|
+
"description": "Creates a new GeneXus object in the active Knowledge Base.",
|
|
537
|
+
"inputSchema": {
|
|
538
|
+
"type": "object",
|
|
539
|
+
"properties": {
|
|
540
|
+
"type": {
|
|
541
|
+
"type": "string",
|
|
542
|
+
"description": "Object type such as Procedure, Transaction, WebPanel, SDT, or DataProvider."
|
|
543
|
+
},
|
|
544
|
+
"name": {
|
|
545
|
+
"type": "string",
|
|
546
|
+
"description": "New object name."
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
"required": [
|
|
550
|
+
"type",
|
|
551
|
+
"name"
|
|
552
|
+
]
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"name": "genexus_export_object",
|
|
557
|
+
"description": "Exports a GeneXus object part to a text file on disk.",
|
|
558
|
+
"inputSchema": {
|
|
559
|
+
"type": "object",
|
|
560
|
+
"properties": {
|
|
561
|
+
"name": {
|
|
562
|
+
"type": "string",
|
|
563
|
+
"description": "Object name."
|
|
564
|
+
},
|
|
565
|
+
"outputPath": {
|
|
566
|
+
"type": "string",
|
|
567
|
+
"description": "Absolute or relative output file path."
|
|
568
|
+
},
|
|
569
|
+
"part": {
|
|
570
|
+
"type": "string",
|
|
571
|
+
"description": "Part to export, such as Source, Rules, Events, Structure, Layout, WebForm, or PatternInstance.",
|
|
572
|
+
"default": "Source"
|
|
573
|
+
},
|
|
574
|
+
"type": {
|
|
575
|
+
"type": "string",
|
|
576
|
+
"description": "Optional object type to resolve name collisions."
|
|
577
|
+
},
|
|
578
|
+
"overwrite": {
|
|
579
|
+
"type": "boolean",
|
|
580
|
+
"description": "Whether to overwrite an existing file.",
|
|
581
|
+
"default": false
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
"required": [
|
|
585
|
+
"name",
|
|
586
|
+
"outputPath"
|
|
587
|
+
]
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"name": "genexus_import_object",
|
|
592
|
+
"description": "Imports a text file from disk into a GeneXus object part.",
|
|
593
|
+
"inputSchema": {
|
|
594
|
+
"type": "object",
|
|
595
|
+
"properties": {
|
|
596
|
+
"name": {
|
|
597
|
+
"type": "string",
|
|
598
|
+
"description": "Object name."
|
|
599
|
+
},
|
|
600
|
+
"inputPath": {
|
|
601
|
+
"type": "string",
|
|
602
|
+
"description": "Absolute or relative input file path."
|
|
603
|
+
},
|
|
604
|
+
"part": {
|
|
605
|
+
"type": "string",
|
|
606
|
+
"description": "Part to import into, such as Source, Rules, Events, Structure, Layout, WebForm, or PatternInstance.",
|
|
607
|
+
"default": "Source"
|
|
608
|
+
},
|
|
609
|
+
"type": {
|
|
610
|
+
"type": "string",
|
|
611
|
+
"description": "Optional object type to resolve name collisions."
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
"required": [
|
|
615
|
+
"name",
|
|
616
|
+
"inputPath"
|
|
617
|
+
]
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"name": "genexus_refactor",
|
|
622
|
+
"description": "Runs supported GeneXus refactor operations such as renaming and procedure extraction.",
|
|
623
|
+
"inputSchema": {
|
|
624
|
+
"type": "object",
|
|
625
|
+
"properties": {
|
|
626
|
+
"action": {
|
|
627
|
+
"type": "string",
|
|
628
|
+
"enum": [
|
|
629
|
+
"RenameAttribute",
|
|
630
|
+
"RenameVariable",
|
|
631
|
+
"RenameObject",
|
|
632
|
+
"ExtractProcedure"
|
|
633
|
+
],
|
|
634
|
+
"description": "Refactor action."
|
|
635
|
+
},
|
|
636
|
+
"target": {
|
|
637
|
+
"type": "string",
|
|
638
|
+
"description": "Primary target object or symbol."
|
|
639
|
+
},
|
|
640
|
+
"newName": {
|
|
641
|
+
"type": "string",
|
|
642
|
+
"description": "New name for rename actions."
|
|
643
|
+
},
|
|
644
|
+
"objectName": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"description": "Object name that owns the refactor operation. Required for variable rename and extraction."
|
|
647
|
+
},
|
|
648
|
+
"code": {
|
|
649
|
+
"type": "string",
|
|
650
|
+
"description": "Code block to extract for ExtractProcedure."
|
|
651
|
+
},
|
|
652
|
+
"procedureName": {
|
|
653
|
+
"type": "string",
|
|
654
|
+
"description": "New procedure name for ExtractProcedure."
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
"required": [
|
|
658
|
+
"action"
|
|
659
|
+
]
|
|
660
|
+
}
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "genexus_add_variable",
|
|
664
|
+
"description": "Adds a variable to the Variables part of a GeneXus object.",
|
|
665
|
+
"inputSchema": {
|
|
666
|
+
"type": "object",
|
|
667
|
+
"properties": {
|
|
668
|
+
"name": {
|
|
669
|
+
"type": "string",
|
|
670
|
+
"description": "Object name."
|
|
671
|
+
},
|
|
672
|
+
"varName": {
|
|
673
|
+
"type": "string",
|
|
674
|
+
"description": "Variable name, with or without '&'."
|
|
675
|
+
},
|
|
676
|
+
"typeName": {
|
|
677
|
+
"type": "string",
|
|
678
|
+
"description": "Optional variable type or domain."
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
"required": [
|
|
682
|
+
"name",
|
|
683
|
+
"varName"
|
|
684
|
+
]
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "genexus_explain_code",
|
|
689
|
+
"description": "Runs code explanation or auto-fix style analysis for a GeneXus object snippet.",
|
|
690
|
+
"inputSchema": {
|
|
691
|
+
"type": "object",
|
|
692
|
+
"properties": {
|
|
693
|
+
"name": {
|
|
694
|
+
"type": "string",
|
|
695
|
+
"description": "Object name."
|
|
696
|
+
},
|
|
697
|
+
"code": {
|
|
698
|
+
"type": "string",
|
|
699
|
+
"description": "Code snippet or serialized analysis payload."
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
"required": [
|
|
703
|
+
"name",
|
|
704
|
+
"code"
|
|
705
|
+
]
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"name": "genexus_format",
|
|
710
|
+
"description": "Formats a GeneXus code snippet using the worker formatting rules.",
|
|
711
|
+
"inputSchema": {
|
|
712
|
+
"type": "object",
|
|
713
|
+
"properties": {
|
|
714
|
+
"code": {
|
|
715
|
+
"type": "string",
|
|
716
|
+
"description": "GeneXus code to format."
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
"required": [
|
|
720
|
+
"code"
|
|
721
|
+
]
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"name": "genexus_properties",
|
|
726
|
+
"description": "Reads or updates GeneXus object properties.",
|
|
727
|
+
"inputSchema": {
|
|
728
|
+
"type": "object",
|
|
729
|
+
"properties": {
|
|
730
|
+
"action": {
|
|
731
|
+
"type": "string",
|
|
732
|
+
"enum": [
|
|
733
|
+
"get",
|
|
734
|
+
"set"
|
|
735
|
+
],
|
|
736
|
+
"description": "Property operation."
|
|
737
|
+
},
|
|
738
|
+
"name": {
|
|
739
|
+
"type": "string",
|
|
740
|
+
"description": "Object name."
|
|
741
|
+
},
|
|
742
|
+
"control": {
|
|
743
|
+
"type": "string",
|
|
744
|
+
"description": "Optional control name for UI properties."
|
|
745
|
+
},
|
|
746
|
+
"propertyName": {
|
|
747
|
+
"type": "string",
|
|
748
|
+
"description": "Property name for set operations."
|
|
749
|
+
},
|
|
750
|
+
"value": {
|
|
751
|
+
"type": "string",
|
|
752
|
+
"description": "Property value for set operations."
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
"required": [
|
|
756
|
+
"action",
|
|
757
|
+
"name"
|
|
758
|
+
]
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"name": "genexus_asset",
|
|
763
|
+
"description": "Finds, reads, or writes binary assets stored inside the active Knowledge Base, including report templates such as .xlsx files.",
|
|
764
|
+
"inputSchema": {
|
|
765
|
+
"type": "object",
|
|
766
|
+
"properties": {
|
|
767
|
+
"action": {
|
|
768
|
+
"type": "string",
|
|
769
|
+
"enum": [
|
|
770
|
+
"find",
|
|
771
|
+
"read",
|
|
772
|
+
"write"
|
|
773
|
+
],
|
|
774
|
+
"description": "Asset operation."
|
|
775
|
+
},
|
|
776
|
+
"path": {
|
|
777
|
+
"type": "string",
|
|
778
|
+
"description": "Relative or absolute path inside the KB for read/write operations."
|
|
779
|
+
},
|
|
780
|
+
"includeContent": {
|
|
781
|
+
"type": "boolean",
|
|
782
|
+
"description": "For read operations, include Base64 file content. Defaults to false so large binary payloads do not flood the MCP context."
|
|
783
|
+
},
|
|
784
|
+
"maxBytes": {
|
|
785
|
+
"type": "integer",
|
|
786
|
+
"description": "For read operations with includeContent=true, maximum file size allowed before the worker returns a size error.",
|
|
787
|
+
"default": 131072
|
|
788
|
+
},
|
|
789
|
+
"pattern": {
|
|
790
|
+
"type": "string",
|
|
791
|
+
"description": "File glob pattern for find operations, for example '*.xlsx'."
|
|
792
|
+
},
|
|
793
|
+
"relativeRoot": {
|
|
794
|
+
"type": "string",
|
|
795
|
+
"description": "Optional relative folder inside the KB to scope find operations."
|
|
796
|
+
},
|
|
797
|
+
"limit": {
|
|
798
|
+
"type": "integer",
|
|
799
|
+
"description": "Maximum number of files returned by find.",
|
|
800
|
+
"default": 20
|
|
801
|
+
},
|
|
802
|
+
"contentBase64": {
|
|
803
|
+
"type": "string",
|
|
804
|
+
"description": "Base64-encoded asset content for write operations."
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
"required": [
|
|
808
|
+
"action"
|
|
809
|
+
]
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"name": "genexus_history",
|
|
814
|
+
"description": "Lists, reads, saves, or restores GeneXus object history snapshots.",
|
|
815
|
+
"inputSchema": {
|
|
816
|
+
"type": "object",
|
|
817
|
+
"properties": {
|
|
818
|
+
"action": {
|
|
819
|
+
"type": "string",
|
|
820
|
+
"enum": [
|
|
821
|
+
"list",
|
|
822
|
+
"get_source",
|
|
823
|
+
"save",
|
|
824
|
+
"restore"
|
|
825
|
+
],
|
|
826
|
+
"description": "History operation."
|
|
827
|
+
},
|
|
828
|
+
"name": {
|
|
829
|
+
"type": "string",
|
|
830
|
+
"description": "Object name."
|
|
831
|
+
},
|
|
832
|
+
"versionId": {
|
|
833
|
+
"type": "integer",
|
|
834
|
+
"description": "Version identifier for get_source."
|
|
835
|
+
}
|
|
836
|
+
},
|
|
837
|
+
"required": [
|
|
838
|
+
"action",
|
|
839
|
+
"name"
|
|
840
|
+
]
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"name": "genexus_structure",
|
|
845
|
+
"description": "Reads or updates visual and logical structure information for GeneXus objects.",
|
|
846
|
+
"inputSchema": {
|
|
847
|
+
"type": "object",
|
|
848
|
+
"properties": {
|
|
849
|
+
"action": {
|
|
850
|
+
"type": "string",
|
|
851
|
+
"enum": [
|
|
852
|
+
"get_visual",
|
|
853
|
+
"update_visual",
|
|
854
|
+
"get_indexes",
|
|
855
|
+
"get_logic"
|
|
856
|
+
],
|
|
857
|
+
"description": "Structure operation."
|
|
858
|
+
},
|
|
859
|
+
"name": {
|
|
860
|
+
"type": "string",
|
|
861
|
+
"description": "Object name."
|
|
862
|
+
},
|
|
863
|
+
"payload": {
|
|
864
|
+
"type": "object",
|
|
865
|
+
"description": "Payload for update_visual."
|
|
866
|
+
}
|
|
867
|
+
},
|
|
868
|
+
"required": [
|
|
869
|
+
"action",
|
|
870
|
+
"name"
|
|
871
|
+
]
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"name": "genexus_doc",
|
|
876
|
+
"description": "Knowledge extraction and documentation generation.",
|
|
877
|
+
"inputSchema": {
|
|
878
|
+
"type": "object",
|
|
879
|
+
"properties": {
|
|
880
|
+
"action": {
|
|
881
|
+
"type": "string",
|
|
882
|
+
"enum": [
|
|
883
|
+
"wiki",
|
|
884
|
+
"visualize",
|
|
885
|
+
"health"
|
|
886
|
+
],
|
|
887
|
+
"description": "Documentation action."
|
|
888
|
+
},
|
|
889
|
+
"target": {
|
|
890
|
+
"type": "string",
|
|
891
|
+
"description": "Object or domain name."
|
|
892
|
+
}
|
|
893
|
+
},
|
|
894
|
+
"required": [
|
|
895
|
+
"action"
|
|
896
|
+
]
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
]
|