touchdesigner-mcp-server 0.4.0-alpha.1 → 0.4.0-alpha.2

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 (82) hide show
  1. package/README.ja.md +1 -0
  2. package/README.md +1 -0
  3. package/dist/cli.js +0 -0
  4. package/dist/gen/endpoints/TouchDesignerAPI.js +1 -1
  5. package/dist/gen/mcp/touchDesignerAPI.zod.js +1 -1
  6. package/dist/index.js +0 -0
  7. package/dist/server/touchDesignerServer.js +1 -1
  8. package/package.json +10 -12
  9. package/td/genHandlers.js +0 -47
  10. package/td/import_modules.py +0 -52
  11. package/td/mcp_webserver_base.tox +0 -0
  12. package/td/modules/mcp/controllers/__init__.py +0 -9
  13. package/td/modules/mcp/controllers/api_controller.py +0 -637
  14. package/td/modules/mcp/controllers/generated_handlers.py +0 -365
  15. package/td/modules/mcp/controllers/openapi_router.py +0 -265
  16. package/td/modules/mcp/services/__init__.py +0 -8
  17. package/td/modules/mcp/services/api_service.py +0 -555
  18. package/td/modules/mcp_webserver_script.py +0 -134
  19. package/td/modules/td_server/.dockerignore +0 -72
  20. package/td/modules/td_server/.openapi-generator/FILES +0 -55
  21. package/td/modules/td_server/.openapi-generator/VERSION +0 -1
  22. package/td/modules/td_server/.openapi-generator-ignore +0 -23
  23. package/td/modules/td_server/.travis.yml +0 -14
  24. package/td/modules/td_server/Dockerfile +0 -16
  25. package/td/modules/td_server/README.md +0 -49
  26. package/td/modules/td_server/git_push.sh +0 -57
  27. package/td/modules/td_server/openapi_server/__init__.py +0 -0
  28. package/td/modules/td_server/openapi_server/__main__.py +0 -19
  29. package/td/modules/td_server/openapi_server/controllers/__init__.py +0 -0
  30. package/td/modules/td_server/openapi_server/controllers/default_controller.py +0 -162
  31. package/td/modules/td_server/openapi_server/controllers/security_controller.py +0 -2
  32. package/td/modules/td_server/openapi_server/encoder.py +0 -19
  33. package/td/modules/td_server/openapi_server/models/__init__.py +0 -33
  34. package/td/modules/td_server/openapi_server/models/base_model.py +0 -68
  35. package/td/modules/td_server/openapi_server/models/create_node200_response.py +0 -125
  36. package/td/modules/td_server/openapi_server/models/create_node200_response_data.py +0 -63
  37. package/td/modules/td_server/openapi_server/models/create_node_request.py +0 -123
  38. package/td/modules/td_server/openapi_server/models/delete_node200_response.py +0 -125
  39. package/td/modules/td_server/openapi_server/models/delete_node200_response_data.py +0 -91
  40. package/td/modules/td_server/openapi_server/models/exec_node_method200_response.py +0 -125
  41. package/td/modules/td_server/openapi_server/models/exec_node_method200_response_data.py +0 -65
  42. package/td/modules/td_server/openapi_server/models/exec_node_method_request.py +0 -153
  43. package/td/modules/td_server/openapi_server/models/exec_node_method_request_args_inner.py +0 -34
  44. package/td/modules/td_server/openapi_server/models/exec_python_script200_response.py +0 -125
  45. package/td/modules/td_server/openapi_server/models/exec_python_script200_response_data.py +0 -65
  46. package/td/modules/td_server/openapi_server/models/exec_python_script200_response_data_result.py +0 -63
  47. package/td/modules/td_server/openapi_server/models/exec_python_script_request.py +0 -65
  48. package/td/modules/td_server/openapi_server/models/get_node_detail200_response.py +0 -125
  49. package/td/modules/td_server/openapi_server/models/get_nodes200_response.py +0 -125
  50. package/td/modules/td_server/openapi_server/models/get_nodes200_response_data.py +0 -65
  51. package/td/modules/td_server/openapi_server/models/get_td_info200_response.py +0 -125
  52. package/td/modules/td_server/openapi_server/models/get_td_info200_response_data.py +0 -155
  53. package/td/modules/td_server/openapi_server/models/get_td_python_class_details200_response.py +0 -125
  54. package/td/modules/td_server/openapi_server/models/get_td_python_classes200_response.py +0 -125
  55. package/td/modules/td_server/openapi_server/models/get_td_python_classes200_response_data.py +0 -63
  56. package/td/modules/td_server/openapi_server/models/td_node.py +0 -175
  57. package/td/modules/td_server/openapi_server/models/td_node_family_type.py +0 -44
  58. package/td/modules/td_server/openapi_server/models/td_python_class_details.py +0 -191
  59. package/td/modules/td_server/openapi_server/models/td_python_class_info.py +0 -127
  60. package/td/modules/td_server/openapi_server/models/td_python_method_info.py +0 -121
  61. package/td/modules/td_server/openapi_server/models/td_python_property_info.py +0 -123
  62. package/td/modules/td_server/openapi_server/models/update_node200_response.py +0 -125
  63. package/td/modules/td_server/openapi_server/models/update_node200_response_data.py +0 -149
  64. package/td/modules/td_server/openapi_server/models/update_node200_response_data_failed_inner.py +0 -91
  65. package/td/modules/td_server/openapi_server/models/update_node_request.py +0 -93
  66. package/td/modules/td_server/openapi_server/openapi/openapi.yaml +0 -975
  67. package/td/modules/td_server/openapi_server/test/__init__.py +0 -16
  68. package/td/modules/td_server/openapi_server/test/test_default_controller.py +0 -201
  69. package/td/modules/td_server/openapi_server/typing_utils.py +0 -30
  70. package/td/modules/td_server/openapi_server/util.py +0 -147
  71. package/td/modules/td_server/requirements.txt +0 -13
  72. package/td/modules/td_server/setup.py +0 -37
  73. package/td/modules/td_server/test-requirements.txt +0 -4
  74. package/td/modules/td_server/tox.ini +0 -11
  75. package/td/modules/utils/config.py +0 -7
  76. package/td/modules/utils/error_handling.py +0 -104
  77. package/td/modules/utils/logging.py +0 -23
  78. package/td/modules/utils/result.py +0 -40
  79. package/td/modules/utils/serialization.py +0 -57
  80. package/td/modules/utils/types.py +0 -33
  81. package/td/modules/utils/utils_logging.py +0 -60
  82. package/td/templates/mcp/api_controller_handlers.mustache +0 -63
@@ -1,975 +0,0 @@
1
- openapi: 3.0.0
2
- info:
3
- description: OpenAPI schema for generating TouchDesigner API client code
4
- title: TouchDesigner API
5
- version: 0.4.0-alpha.1
6
- servers:
7
- - url: "{baseUrl}"
8
- variables:
9
- baseUrl:
10
- default: http://localhost:9981
11
- paths:
12
- /api/nodes:
13
- delete:
14
- operationId: delete_node
15
- parameters:
16
- - description: "Path to the node to delete. e.g., \"/project1/geo1\""
17
- in: query
18
- name: nodePath
19
- required: true
20
- schema:
21
- description: "e.g., \"/project1/geo1\""
22
- type: string
23
- responses:
24
- "200":
25
- content:
26
- application/json:
27
- schema:
28
- $ref: '#/components/schemas/delete_node_200_response'
29
- description: Node deleted successfully
30
- summary: Delete an existing node
31
- x-openapi-router-controller: openapi_server.controllers.default_controller
32
- get:
33
- operationId: get_nodes
34
- parameters:
35
- - description: "Parent path e.g., \"/project1\""
36
- in: query
37
- name: parentPath
38
- required: true
39
- schema:
40
- description: "e.g., \"/project1\""
41
- type: string
42
- - description: "Pattern to match against node names e.g., \"null*\""
43
- in: query
44
- name: pattern
45
- required: false
46
- schema:
47
- default: '*'
48
- description: "e.g., \"null*\""
49
- type: string
50
- - description: Whether to include full node properties in the response (default
51
- false for better performance)
52
- in: query
53
- name: includeProperties
54
- required: false
55
- schema:
56
- default: false
57
- description: Include node properties in response
58
- type: boolean
59
- responses:
60
- "200":
61
- content:
62
- application/json:
63
- schema:
64
- $ref: '#/components/schemas/get_nodes_200_response'
65
- description: List of nodes matching the specified criteria
66
- summary: Get nodes in the path
67
- x-openapi-router-controller: openapi_server.controllers.default_controller
68
- post:
69
- operationId: create_node
70
- requestBody:
71
- content:
72
- application/json:
73
- schema:
74
- $ref: '#/components/schemas/create_node_request'
75
- required: true
76
- responses:
77
- "200":
78
- content:
79
- application/json:
80
- schema:
81
- $ref: '#/components/schemas/create_node_200_response'
82
- description: Node created successfully
83
- summary: Create a new node
84
- x-openapi-router-controller: openapi_server.controllers.default_controller
85
- /api/nodes/detail:
86
- get:
87
- description: "Retrieves detailed information about a specific node including\
88
- \ its properties, parameters and connections"
89
- operationId: get_node_detail
90
- parameters:
91
- - description: "Node path. e.g., \"/project1/textTOP\""
92
- in: query
93
- name: nodePath
94
- required: true
95
- schema:
96
- description: "e.g., \"/project1/textTOP\""
97
- type: string
98
- responses:
99
- "200":
100
- content:
101
- application/json:
102
- schema:
103
- $ref: '#/components/schemas/get_node_detail_200_response'
104
- description: Node properties
105
- summary: Get node detail
106
- x-openapi-router-controller: openapi_server.controllers.default_controller
107
- patch:
108
- operationId: update_node
109
- requestBody:
110
- content:
111
- application/json:
112
- schema:
113
- $ref: '#/components/schemas/update_node_request'
114
- responses:
115
- "200":
116
- content:
117
- application/json:
118
- schema:
119
- $ref: '#/components/schemas/update_node_200_response'
120
- description: Information about the updated node
121
- summary: Update node properties
122
- x-openapi-router-controller: openapi_server.controllers.default_controller
123
- /api/td/classes:
124
- get:
125
- description: "Returns a list of Python classes, modules, and functions available\
126
- \ in TouchDesigner"
127
- operationId: get_td_python_classes
128
- responses:
129
- "200":
130
- content:
131
- application/json:
132
- schema:
133
- $ref: '#/components/schemas/get_td_python_classes_200_response'
134
- description: Successful response
135
- summary: Get a list of Python classes and modules
136
- x-openapi-router-controller: openapi_server.controllers.default_controller
137
- /api/td/classes/{className}:
138
- get:
139
- description: "Returns detailed information about a specific Python class, module,\
140
- \ or function including methods, properties, and documentation"
141
- operationId: get_td_python_class_details
142
- parameters:
143
- - description: "Name of the class or module. e.g., \"textTOP\""
144
- in: path
145
- name: className
146
- required: true
147
- schema:
148
- type: string
149
- responses:
150
- "200":
151
- content:
152
- application/json:
153
- schema:
154
- $ref: '#/components/schemas/get_td_python_class_details_200_response'
155
- description: Successful response
156
- summary: Get details of a specific Python class or module
157
- x-openapi-router-controller: openapi_server.controllers.default_controller
158
- /api/td/nodes/exec:
159
- post:
160
- description: |
161
- Call a method on the node at the specified path (e.g., /project1).
162
- This allows operations equivalent to TouchDesigner's Python API such as
163
- `parent_comp = op('/project1')` and `parent_comp.create('textTOP', 'myText')`.
164
- operationId: exec_node_method
165
- requestBody:
166
- content:
167
- application/json:
168
- schema:
169
- $ref: '#/components/schemas/exec_node_method_request'
170
- required: true
171
- responses:
172
- "200":
173
- content:
174
- application/json:
175
- schema:
176
- $ref: '#/components/schemas/exec_node_method_200_response'
177
- description: Method call successful
178
- summary: Call a method of the specified node
179
- x-openapi-router-controller: openapi_server.controllers.default_controller
180
- /api/td/server/exec:
181
- post:
182
- description: |
183
- Execute a Python script directly in TouchDesigner.
184
- Multiline scripts and scripts containing comments are supported.
185
- The script can optionally set a `result` variable to explicitly return a value.
186
- This endpoint allows you to interact with TouchDesigner nodes programmatically.
187
- operationId: exec_python_script
188
- requestBody:
189
- content:
190
- application/json:
191
- schema:
192
- $ref: '#/components/schemas/exec_python_script_request'
193
- required: true
194
- responses:
195
- "200":
196
- content:
197
- application/json:
198
- schema:
199
- $ref: '#/components/schemas/exec_python_script_200_response'
200
- description: Script executed successfully
201
- summary: Execute python code on the server
202
- x-openapi-router-controller: openapi_server.controllers.default_controller
203
- /api/td/server/td:
204
- get:
205
- description: Returns information about the TouchDesigner
206
- operationId: get_td_info
207
- responses:
208
- "200":
209
- content:
210
- application/json:
211
- schema:
212
- $ref: '#/components/schemas/get_td_info_200_response'
213
- description: TouchDesigner information
214
- summary: Get TouchDesigner information
215
- x-openapi-router-controller: openapi_server.controllers.default_controller
216
- components:
217
- schemas:
218
- TdNode:
219
- description: Information about a TouchDesigner node
220
- example:
221
- path: path
222
- opType: opType
223
- name: name
224
- id: 0
225
- properties:
226
- key: ""
227
- properties:
228
- id:
229
- title: id
230
- type: integer
231
- opType:
232
- title: opType
233
- type: string
234
- name:
235
- title: name
236
- type: string
237
- path:
238
- title: path
239
- type: string
240
- properties:
241
- additionalProperties: true
242
- title: properties
243
- type: object
244
- required:
245
- - id
246
- - name
247
- - opType
248
- - path
249
- - properties
250
- title: TdNode
251
- type: object
252
- TdNodeFamilyType:
253
- enum:
254
- - COMP
255
- - CHOP
256
- - TOP
257
- - SOP
258
- - DAT
259
- - MAT
260
- - CUSTOM
261
- type: string
262
- TdPythonClassInfo:
263
- description: Information about a Python class or module available in TouchDesigner
264
- example:
265
- name: name
266
- description: description
267
- type: class
268
- properties:
269
- name:
270
- description: Name of the class or module
271
- title: name
272
- type: string
273
- type:
274
- description: Type of the Python entity
275
- enum:
276
- - class
277
- - module
278
- - function
279
- - object
280
- title: type
281
- type: string
282
- description:
283
- description: Description of the class or module
284
- title: description
285
- type: string
286
- required:
287
- - name
288
- - type
289
- title: TdPythonClassInfo
290
- type: object
291
- TdPythonMethodInfo:
292
- description: Information about a Python method
293
- example:
294
- signature: signature
295
- name: name
296
- description: description
297
- properties:
298
- name:
299
- description: Method name
300
- title: name
301
- type: string
302
- signature:
303
- description: Method signature including parameters
304
- title: signature
305
- type: string
306
- description:
307
- description: Description of the method
308
- title: description
309
- type: string
310
- required:
311
- - name
312
- title: TdPythonMethodInfo
313
- type: object
314
- TdPythonPropertyInfo:
315
- description: Information about a Python property
316
- example:
317
- name: name
318
- type: type
319
- value: "{}"
320
- properties:
321
- name:
322
- description: Property name
323
- title: name
324
- type: string
325
- type:
326
- description: Type of the property
327
- title: type
328
- type: string
329
- value:
330
- description: Current value of the property (if serializable)
331
- nullable: true
332
- title: value
333
- type: object
334
- required:
335
- - name
336
- - type
337
- title: TdPythonPropertyInfo
338
- type: object
339
- TdPythonClassDetails:
340
- description: Detailed information about a Python class or module
341
- example:
342
- methods:
343
- - signature: signature
344
- name: name
345
- description: description
346
- - signature: signature
347
- name: name
348
- description: description
349
- name: name
350
- description: description
351
- type: class
352
- properties:
353
- - name: name
354
- type: type
355
- value: "{}"
356
- - name: name
357
- type: type
358
- value: "{}"
359
- properties:
360
- name:
361
- description: Name of the class or module
362
- title: name
363
- type: string
364
- type:
365
- description: Type of the Python entity
366
- enum:
367
- - class
368
- - module
369
- - function
370
- - object
371
- title: type
372
- type: string
373
- description:
374
- description: Description of the class or module
375
- title: description
376
- type: string
377
- methods:
378
- description: List of methods available in the class or module
379
- items:
380
- $ref: '#/components/schemas/TdPythonMethodInfo'
381
- title: methods
382
- type: array
383
- properties:
384
- description: List of properties available in the class or module
385
- items:
386
- $ref: '#/components/schemas/TdPythonPropertyInfo'
387
- title: properties
388
- type: array
389
- required:
390
- - methods
391
- - name
392
- - properties
393
- - type
394
- title: TdPythonClassDetails
395
- type: object
396
- get_td_info_200_response_data:
397
- example:
398
- server: server
399
- osVersion: osVersion
400
- osName: osName
401
- version: version
402
- nullable: true
403
- properties:
404
- server:
405
- description: Server name (typically "TouchDesigner")
406
- title: server
407
- type: string
408
- version:
409
- description: TouchDesigner version number
410
- title: version
411
- type: string
412
- osName:
413
- description: Operating system name
414
- title: osName
415
- type: string
416
- osVersion:
417
- description: Operating system version
418
- title: osVersion
419
- type: string
420
- required:
421
- - compileDate
422
- - osName
423
- - osVersion
424
- - server
425
- - version
426
- title: get_td_info_200_response_data
427
- type: object
428
- get_td_info_200_response:
429
- example:
430
- data:
431
- server: server
432
- osVersion: osVersion
433
- osName: osName
434
- version: version
435
- success: true
436
- error: error
437
- properties:
438
- success:
439
- description: Whether the operation was successful
440
- title: success
441
- type: boolean
442
- data:
443
- $ref: '#/components/schemas/get_td_info_200_response_data'
444
- error:
445
- description: Error message if the operation was not successful
446
- nullable: true
447
- title: error
448
- type: string
449
- required:
450
- - data
451
- - error
452
- - success
453
- title: get_td_info_200_response
454
- type: object
455
- exec_python_script_request:
456
- properties:
457
- script:
458
- description: "e.g., \"op('/project1/text_over_image').outputConnectors[0].connect(op('/project1/out1'))\""
459
- title: script
460
- type: string
461
- required:
462
- - script
463
- title: exec_python_script_request
464
- type: object
465
- exec_python_script_200_response_data_result:
466
- description: Result of the executed script
467
- example:
468
- value: "{}"
469
- properties:
470
- value:
471
- description: "Return value of the executed script, can be any serializable\
472
- \ value"
473
- title: value
474
- type: object
475
- title: exec_python_script_200_response_data_result
476
- type: object
477
- exec_python_script_200_response_data:
478
- example:
479
- result:
480
- value: "{}"
481
- nullable: true
482
- properties:
483
- result:
484
- $ref: '#/components/schemas/exec_python_script_200_response_data_result'
485
- required:
486
- - result
487
- title: exec_python_script_200_response_data
488
- type: object
489
- exec_python_script_200_response:
490
- example:
491
- data:
492
- result:
493
- value: "{}"
494
- success: true
495
- error: error
496
- properties:
497
- success:
498
- description: Whether the operation was successful
499
- title: success
500
- type: boolean
501
- data:
502
- $ref: '#/components/schemas/exec_python_script_200_response_data'
503
- error:
504
- description: Error message if the operation was not successful
505
- nullable: true
506
- title: error
507
- type: string
508
- required:
509
- - data
510
- - error
511
- - success
512
- title: exec_python_script_200_response
513
- type: object
514
- get_nodes_200_response_data:
515
- example:
516
- nodes:
517
- - path: path
518
- opType: opType
519
- name: name
520
- id: 0
521
- properties:
522
- key: ""
523
- - path: path
524
- opType: opType
525
- name: name
526
- id: 0
527
- properties:
528
- key: ""
529
- nullable: true
530
- properties:
531
- nodes:
532
- description: Result of the execution
533
- items:
534
- $ref: '#/components/schemas/TdNode'
535
- title: nodes
536
- type: array
537
- title: get_nodes_200_response_data
538
- type: object
539
- get_nodes_200_response:
540
- example:
541
- data:
542
- nodes:
543
- - path: path
544
- opType: opType
545
- name: name
546
- id: 0
547
- properties:
548
- key: ""
549
- - path: path
550
- opType: opType
551
- name: name
552
- id: 0
553
- properties:
554
- key: ""
555
- success: true
556
- error: error
557
- properties:
558
- success:
559
- description: Whether the operation was successful
560
- title: success
561
- type: boolean
562
- data:
563
- $ref: '#/components/schemas/get_nodes_200_response_data'
564
- error:
565
- description: Error message if the operation was not successful
566
- nullable: true
567
- title: error
568
- type: string
569
- required:
570
- - data
571
- - error
572
- - success
573
- title: get_nodes_200_response
574
- type: object
575
- create_node_request:
576
- properties:
577
- parentPath:
578
- description: "Path to the parent node (e.g., /project1)"
579
- title: parentPath
580
- type: string
581
- nodeType:
582
- description: "Type of the node to create (e.g., textTop)"
583
- title: nodeType
584
- type: string
585
- nodeName:
586
- description: Name of the new node (optional)
587
- title: nodeName
588
- type: string
589
- required:
590
- - nodeType
591
- - parentPath
592
- title: create_node_request
593
- type: object
594
- create_node_200_response_data:
595
- example:
596
- result:
597
- path: path
598
- opType: opType
599
- name: name
600
- id: 0
601
- properties:
602
- key: ""
603
- nullable: true
604
- properties:
605
- result:
606
- $ref: '#/components/schemas/TdNode'
607
- title: create_node_200_response_data
608
- type: object
609
- create_node_200_response:
610
- example:
611
- data:
612
- result:
613
- path: path
614
- opType: opType
615
- name: name
616
- id: 0
617
- properties:
618
- key: ""
619
- success: true
620
- error: error
621
- properties:
622
- success:
623
- description: Whether the operation was successful
624
- title: success
625
- type: boolean
626
- data:
627
- $ref: '#/components/schemas/create_node_200_response_data'
628
- error:
629
- description: Error message if the operation was not successful
630
- nullable: true
631
- title: error
632
- type: string
633
- required:
634
- - data
635
- - error
636
- - success
637
- title: create_node_200_response
638
- type: object
639
- delete_node_200_response_data:
640
- example:
641
- node:
642
- path: path
643
- opType: opType
644
- name: name
645
- id: 0
646
- properties:
647
- key: ""
648
- deleted: true
649
- nullable: true
650
- properties:
651
- deleted:
652
- description: Whether the node was successfully deleted
653
- title: deleted
654
- type: boolean
655
- node:
656
- $ref: '#/components/schemas/TdNode'
657
- title: delete_node_200_response_data
658
- type: object
659
- delete_node_200_response:
660
- example:
661
- data:
662
- node:
663
- path: path
664
- opType: opType
665
- name: name
666
- id: 0
667
- properties:
668
- key: ""
669
- deleted: true
670
- success: true
671
- error: error
672
- properties:
673
- success:
674
- description: Whether the operation was successful
675
- title: success
676
- type: boolean
677
- data:
678
- $ref: '#/components/schemas/delete_node_200_response_data'
679
- error:
680
- description: Error message if the operation was not successful
681
- nullable: true
682
- title: error
683
- type: string
684
- required:
685
- - data
686
- - error
687
- - success
688
- title: delete_node_200_response
689
- type: object
690
- get_node_detail_200_response:
691
- example:
692
- data:
693
- path: path
694
- opType: opType
695
- name: name
696
- id: 0
697
- properties:
698
- key: ""
699
- success: true
700
- error: error
701
- properties:
702
- success:
703
- description: Whether the operation was successful
704
- title: success
705
- type: boolean
706
- data:
707
- $ref: '#/components/schemas/TdNode'
708
- error:
709
- description: Error message if the operation was not successful
710
- nullable: true
711
- title: error
712
- type: string
713
- required:
714
- - data
715
- - error
716
- - success
717
- title: get_node_detail_200_response
718
- type: object
719
- update_node_request:
720
- properties:
721
- nodePath:
722
- description: "Path to the node (e.g., /project1/null1)"
723
- title: nodePath
724
- type: string
725
- properties:
726
- additionalProperties: true
727
- title: properties
728
- type: object
729
- required:
730
- - nodePath
731
- - properties
732
- title: update_node_request
733
- type: object
734
- update_node_200_response_data_failed_inner:
735
- example:
736
- reason: reason
737
- name: name
738
- properties:
739
- name:
740
- description: Name of the property that failed to update
741
- title: name
742
- type: string
743
- reason:
744
- description: Reason for the failure
745
- title: reason
746
- type: string
747
- title: update_node_200_response_data_failed_inner
748
- type: object
749
- update_node_200_response_data:
750
- example:
751
- path: path
752
- failed:
753
- - reason: reason
754
- name: name
755
- - reason: reason
756
- name: name
757
- message: message
758
- updated:
759
- - updated
760
- - updated
761
- nullable: true
762
- properties:
763
- path:
764
- description: Path of the node that was updated
765
- title: path
766
- type: string
767
- updated:
768
- description: List of property names that were successfully updated
769
- items:
770
- type: string
771
- title: updated
772
- type: array
773
- failed:
774
- description: List of properties that failed to update
775
- items:
776
- $ref: '#/components/schemas/update_node_200_response_data_failed_inner'
777
- title: failed
778
- type: array
779
- message:
780
- description: Summary message about the update operation
781
- title: message
782
- type: string
783
- title: update_node_200_response_data
784
- type: object
785
- update_node_200_response:
786
- example:
787
- data:
788
- path: path
789
- failed:
790
- - reason: reason
791
- name: name
792
- - reason: reason
793
- name: name
794
- message: message
795
- updated:
796
- - updated
797
- - updated
798
- success: true
799
- error: error
800
- properties:
801
- success:
802
- description: Whether the update operation was successful
803
- title: success
804
- type: boolean
805
- data:
806
- $ref: '#/components/schemas/update_node_200_response_data'
807
- error:
808
- description: Error message if the operation was not successful
809
- nullable: true
810
- title: error
811
- type: string
812
- required:
813
- - data
814
- - error
815
- - success
816
- title: update_node_200_response
817
- type: object
818
- get_td_python_classes_200_response_data:
819
- example:
820
- classes:
821
- - name: name
822
- description: description
823
- type: class
824
- - name: name
825
- description: description
826
- type: class
827
- nullable: true
828
- properties:
829
- classes:
830
- items:
831
- $ref: '#/components/schemas/TdPythonClassInfo'
832
- title: classes
833
- type: array
834
- title: get_td_python_classes_200_response_data
835
- type: object
836
- get_td_python_classes_200_response:
837
- example:
838
- data:
839
- classes:
840
- - name: name
841
- description: description
842
- type: class
843
- - name: name
844
- description: description
845
- type: class
846
- success: true
847
- error: error
848
- properties:
849
- success:
850
- description: Whether the operation was successful
851
- title: success
852
- type: boolean
853
- data:
854
- $ref: '#/components/schemas/get_td_python_classes_200_response_data'
855
- error:
856
- description: Error message if the operation was not successful
857
- nullable: true
858
- title: error
859
- type: string
860
- required:
861
- - data
862
- - error
863
- - success
864
- title: get_td_python_classes_200_response
865
- type: object
866
- get_td_python_class_details_200_response:
867
- example:
868
- data:
869
- methods:
870
- - signature: signature
871
- name: name
872
- description: description
873
- - signature: signature
874
- name: name
875
- description: description
876
- name: name
877
- description: description
878
- type: class
879
- properties:
880
- - name: name
881
- type: type
882
- value: "{}"
883
- - name: name
884
- type: type
885
- value: "{}"
886
- success: true
887
- error: error
888
- properties:
889
- success:
890
- description: Whether the operation was successful
891
- title: success
892
- type: boolean
893
- data:
894
- $ref: '#/components/schemas/TdPythonClassDetails'
895
- error:
896
- description: Error message if the operation was not successful
897
- nullable: true
898
- title: error
899
- type: string
900
- required:
901
- - data
902
- - error
903
- - success
904
- title: get_td_python_class_details_200_response
905
- type: object
906
- exec_node_method_request_args_inner:
907
- oneOf:
908
- - type: string
909
- - type: number
910
- - type: boolean
911
- title: exec_node_method_request_args_inner
912
- exec_node_method_request:
913
- properties:
914
- nodePath:
915
- description: "Path to the node (e.g., /project1/null1)"
916
- title: nodePath
917
- type: string
918
- method:
919
- description: Name of the method to call
920
- title: method
921
- type: string
922
- args:
923
- description: List of arguments for the method call
924
- items:
925
- $ref: '#/components/schemas/exec_node_method_request_args_inner'
926
- title: args
927
- type: array
928
- kwargs:
929
- additionalProperties: true
930
- description: Keyword arguments for the method call
931
- title: kwargs
932
- type: object
933
- required:
934
- - method
935
- - nodePath
936
- title: exec_node_method_request
937
- type: object
938
- exec_node_method_200_response_data:
939
- example:
940
- result: "{}"
941
- nullable: true
942
- properties:
943
- result:
944
- description: Result of the method call. Can be any type (equivalent to unknown
945
- in TypeScript).
946
- title: result
947
- type: object
948
- required:
949
- - result
950
- title: exec_node_method_200_response_data
951
- type: object
952
- exec_node_method_200_response:
953
- example:
954
- data:
955
- result: "{}"
956
- success: true
957
- error: error
958
- properties:
959
- success:
960
- description: Whether the operation was successful
961
- title: success
962
- type: boolean
963
- data:
964
- $ref: '#/components/schemas/exec_node_method_200_response_data'
965
- error:
966
- description: Error message if the operation was not successful
967
- nullable: true
968
- title: error
969
- type: string
970
- required:
971
- - data
972
- - error
973
- - success
974
- title: exec_node_method_200_response
975
- type: object