@tiwater/office-mcp 0.14.2 → 0.15.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.
Files changed (90) hide show
  1. package/office/README.md +10 -10
  2. package/office/contracts/docx_apply_font_policy.schema.json +73 -0
  3. package/office/contracts/docx_apply_toc_style_policy.schema.json +49 -0
  4. package/office/contracts/docx_collapse_trailing_empty_paragraphs.schema.json +26 -0
  5. package/office/contracts/docx_collapse_trailing_empty_section.schema.json +26 -0
  6. package/office/contracts/docx_compare.schema.json +19 -0
  7. package/office/contracts/docx_copy_table_range.schema.json +111 -0
  8. package/office/contracts/docx_delete_body_drawing_before_paragraph.schema.json +50 -0
  9. package/office/contracts/docx_delete_body_paragraph.schema.json +50 -0
  10. package/office/contracts/docx_delete_body_range.schema.json +65 -0
  11. package/office/contracts/docx_delete_comments.schema.json +48 -0
  12. package/office/contracts/docx_delete_table_rows.schema.json +57 -0
  13. package/office/contracts/docx_export_json.schema.json +20 -0
  14. package/office/contracts/docx_find_literal.schema.json +46 -0
  15. package/office/contracts/docx_freeze_fields.schema.json +26 -0
  16. package/office/contracts/docx_insert_body_image.schema.json +65 -0
  17. package/office/contracts/docx_insert_body_range.schema.json +62 -0
  18. package/office/contracts/docx_insert_table_columns.schema.json +61 -0
  19. package/office/contracts/docx_insert_table_rows.schema.json +130 -0
  20. package/office/contracts/docx_inspect.schema.json +20 -0
  21. package/office/contracts/docx_inspect_tables.schema.json +20 -0
  22. package/office/contracts/docx_list_objects.schema.json +42 -0
  23. package/office/contracts/docx_mark_fields_dirty.schema.json +26 -0
  24. package/office/contracts/docx_merge_table_cells.schema.json +80 -0
  25. package/office/contracts/docx_read_object.schema.json +24 -0
  26. package/office/contracts/docx_replace_body_text.schema.json +48 -0
  27. package/office/contracts/docx_replace_drawing_image.schema.json +56 -0
  28. package/office/contracts/docx_replace_header_text.schema.json +48 -0
  29. package/office/contracts/docx_replace_style_ids.schema.json +29 -0
  30. package/office/contracts/docx_replace_table_rows.schema.json +136 -0
  31. package/office/contracts/docx_sanitize_fields.schema.json +26 -0
  32. package/office/contracts/docx_set_anchored_text.schema.json +48 -0
  33. package/office/contracts/docx_set_body_paragraph_keep_lines.schema.json +49 -0
  34. package/office/contracts/docx_set_body_paragraph_keep_next.schema.json +49 -0
  35. package/office/contracts/docx_set_footer_paragraph_text.schema.json +55 -0
  36. package/office/contracts/docx_set_footer_run_text.schema.json +61 -0
  37. package/office/contracts/docx_set_footer_table_cell_run_text.schema.json +79 -0
  38. package/office/contracts/docx_set_footer_table_cell_text.schema.json +67 -0
  39. package/office/contracts/docx_set_header_paragraph_font_size.schema.json +56 -0
  40. package/office/contracts/docx_set_header_paragraph_text.schema.json +55 -0
  41. package/office/contracts/docx_set_header_run_text.schema.json +61 -0
  42. package/office/contracts/docx_set_header_table_cell_run_text.schema.json +79 -0
  43. package/office/contracts/docx_set_header_table_cell_text.schema.json +67 -0
  44. package/office/contracts/docx_set_paragraph_run_text.schema.json +55 -0
  45. package/office/contracts/docx_set_paragraph_text.schema.json +49 -0
  46. package/office/contracts/docx_set_table_cell_alignment.schema.json +62 -0
  47. package/office/contracts/docx_set_table_cell_font_size.schema.json +62 -0
  48. package/office/contracts/docx_set_table_cell_no_wrap.schema.json +61 -0
  49. package/office/contracts/docx_set_table_cell_rich_text.schema.json +96 -0
  50. package/office/contracts/docx_set_table_cell_run_text.schema.json +73 -0
  51. package/office/contracts/docx_set_table_cell_text.schema.json +64 -0
  52. package/office/contracts/docx_set_table_row_cant_split.schema.json +55 -0
  53. package/office/contracts/docx_set_table_row_height.schema.json +59 -0
  54. package/office/contracts/docx_set_table_row_keep_next.schema.json +55 -0
  55. package/office/contracts/docx_set_table_row_repeat_as_header.schema.json +119 -0
  56. package/office/contracts/docx_set_table_width.schema.json +60 -0
  57. package/office/contracts/docx_start_section.schema.json +52 -0
  58. package/office/contracts/docx_strip_direct_formatting.schema.json +19 -0
  59. package/office/contracts/docx_unmerge_table_column_cells.schema.json +63 -0
  60. package/office/contracts/docx_unmerge_table_row_cells.schema.json +57 -0
  61. package/office/contracts/docx_validate.schema.json +14 -0
  62. package/office/contracts/docx_validate_font_policy.schema.json +48 -0
  63. package/office/contracts/docx_validate_toc_style_policy.schema.json +24 -0
  64. package/office/contracts/office_render_pdf.schema.json +27 -0
  65. package/office/contracts/pptx_apply_format.schema.json +74 -0
  66. package/office/contracts/pptx_apply_template.schema.json +111 -0
  67. package/office/contracts/pptx_export_json.schema.json +20 -0
  68. package/office/contracts/pptx_inspect.schema.json +20 -0
  69. package/office/contracts/pptx_replace_picture_image.schema.json +57 -0
  70. package/office/contracts/pptx_set_shape_geometry.schema.json +76 -0
  71. package/office/contracts/pptx_validate.schema.json +14 -0
  72. package/office/contracts/tiwater-office-provider-contract-manifest-v1.json +955 -0
  73. package/office/contracts/xlsx_convert_legacy.schema.json +24 -0
  74. package/office/contracts/xlsx_copy_row.schema.json +59 -0
  75. package/office/contracts/xlsx_delete_rows.schema.json +56 -0
  76. package/office/contracts/xlsx_expand_section_rows.schema.json +70 -0
  77. package/office/contracts/xlsx_export_json.schema.json +24 -0
  78. package/office/contracts/xlsx_insert_rows.schema.json +62 -0
  79. package/office/contracts/xlsx_inspect.schema.json +20 -0
  80. package/office/contracts/xlsx_set_cell_number_format.schema.json +54 -0
  81. package/office/contracts/xlsx_set_cell_value.schema.json +78 -0
  82. package/office/contracts/xlsx_set_column_width.schema.json +55 -0
  83. package/office/contracts/xlsx_set_page_setup.schema.json +90 -0
  84. package/office/contracts/xlsx_set_print_area.schema.json +49 -0
  85. package/office/contracts/xlsx_set_range_values.schema.json +75 -0
  86. package/office/contracts/xlsx_set_rich_text_cell_value.schema.json +57 -0
  87. package/office/contracts/xlsx_set_row_page_breaks.schema.json +53 -0
  88. package/office/contracts/xlsx_validate.schema.json +14 -0
  89. package/office/index.mjs +188 -493
  90. package/package.json +2 -7
package/office/README.md CHANGED
@@ -3,16 +3,16 @@
3
3
  Published generic Office capabilities for DOCX, XLS/XLSX, and PPTX.
4
4
 
5
5
  The server owns technical observation, native conversion, fixed-action edits,
6
- package validation, and native WPS rendering. It owns no scenario meaning,
7
- template-migration workflow, customer mapping, or Lucid lifecycle.
6
+ package validation, and native WPS rendering. Callers own document selections,
7
+ values, business mappings, workflow decisions, and delivery status.
8
8
 
9
9
  ## Capability families
10
10
 
11
- - DOCX: inspect document/tables, export, compare, validate OpenXML and font
12
- policy, fill placeholders, transform styles, and batch one fixed edit action.
13
- - XLS/XLSX: convert legacy XLS with ET, inspect/export/fill, validate, and batch
11
+ - DOCX: inspect document/tables, export, compare, validate OpenXML, font, and table-of-contents styles
12
+ policy, transform styles, and batch one fixed edit action.
13
+ - XLS/XLSX: convert legacy XLS with ET, inspect/export, validate, and batch
14
14
  one fixed workbook edit action.
15
- - PPTX: inspect/export/fill, bind selected masters/layouts, apply text formatting,
15
+ - PPTX: inspect/export, bind selected masters/layouts, apply text formatting,
16
16
  set exact top-level object geometry, replace existing picture media, and
17
17
  validate OpenXML.
18
18
  - Office: render DOC/DOCX/XLS/XLSX/PPT/PPTX to PDF with the corresponding native
@@ -48,10 +48,10 @@ coordinates plus section/reference bindings, and only supported direct-story
48
48
  tables expose mutation addresses.
49
49
 
50
50
  The catalog is intentionally open to new generic document capabilities, but a
51
- scenario, template, customer, issue, work item, or model difference does not
52
- justify a new tool. Add a tool only for a stable technical responsibility that
53
- cannot be composed from the existing public capabilities; merge or remove
54
- overlapping capabilities.
51
+ specific workflow, template, customer, issue, input document, or model
52
+ difference does not justify a new tool. Add a tool only for a stable technical
53
+ responsibility that cannot be composed from the existing public capabilities;
54
+ merge or remove overlapping capabilities.
55
55
 
56
56
  ## Run
57
57
 
@@ -0,0 +1,73 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "input": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "output": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "description": "New document output path. Existing files are never overwritten."
13
+ },
14
+ "receiptOutput": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "description": "New JSON receipt path. Existing files are never overwritten."
18
+ },
19
+ "changes": {
20
+ "minItems": 1,
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "fontPolicy": {
26
+ "type": "object",
27
+ "properties": {
28
+ "schema": {
29
+ "type": "string",
30
+ "minLength": 1
31
+ },
32
+ "body": {
33
+ "type": "object",
34
+ "propertyNames": {
35
+ "type": "string"
36
+ },
37
+ "additionalProperties": {
38
+ "type": "string"
39
+ }
40
+ },
41
+ "table": {
42
+ "type": "object",
43
+ "propertyNames": {
44
+ "type": "string"
45
+ },
46
+ "additionalProperties": {
47
+ "type": "string"
48
+ }
49
+ }
50
+ },
51
+ "required": [
52
+ "schema",
53
+ "body",
54
+ "table"
55
+ ],
56
+ "additionalProperties": false
57
+ }
58
+ },
59
+ "required": [
60
+ "fontPolicy"
61
+ ],
62
+ "additionalProperties": false
63
+ }
64
+ }
65
+ },
66
+ "required": [
67
+ "input",
68
+ "output",
69
+ "receiptOutput",
70
+ "changes"
71
+ ],
72
+ "additionalProperties": false
73
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "input": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "output": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "description": "New document output path. Existing files are never overwritten."
13
+ },
14
+ "receiptOutput": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "description": "New JSON receipt path. Existing files are never overwritten."
18
+ },
19
+ "changes": {
20
+ "minItems": 1,
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "italic": {
26
+ "type": "boolean"
27
+ },
28
+ "indentCharactersPerLevel": {
29
+ "type": "integer",
30
+ "minimum": 0,
31
+ "maximum": 9007199254740991
32
+ }
33
+ },
34
+ "required": [
35
+ "italic",
36
+ "indentCharactersPerLevel"
37
+ ],
38
+ "additionalProperties": false
39
+ }
40
+ }
41
+ },
42
+ "required": [
43
+ "input",
44
+ "output",
45
+ "receiptOutput",
46
+ "changes"
47
+ ],
48
+ "additionalProperties": false
49
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "input": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "output": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "description": "New document output path. Existing files are never overwritten."
13
+ },
14
+ "receiptOutput": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "description": "New JSON receipt path. Existing files are never overwritten."
18
+ }
19
+ },
20
+ "required": [
21
+ "input",
22
+ "output",
23
+ "receiptOutput"
24
+ ],
25
+ "additionalProperties": false
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "input": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "output": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "description": "New document output path. Existing files are never overwritten."
13
+ },
14
+ "receiptOutput": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "description": "New JSON receipt path. Existing files are never overwritten."
18
+ }
19
+ },
20
+ "required": [
21
+ "input",
22
+ "output",
23
+ "receiptOutput"
24
+ ],
25
+ "additionalProperties": false
26
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "baseline": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "updated": {
10
+ "type": "string",
11
+ "minLength": 1
12
+ }
13
+ },
14
+ "required": [
15
+ "baseline",
16
+ "updated"
17
+ ],
18
+ "additionalProperties": false
19
+ }
@@ -0,0 +1,111 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schema": {
6
+ "type": "string",
7
+ "const": "tiwater.docx-copy-table-range/v1"
8
+ },
9
+ "source": {
10
+ "type": "object",
11
+ "properties": {
12
+ "input": {
13
+ "type": "string",
14
+ "minLength": 1
15
+ },
16
+ "revision": {
17
+ "type": "string",
18
+ "pattern": "^docx-rev-v1-[0-9a-f]{64}$"
19
+ },
20
+ "rowRefs": {
21
+ "minItems": 1,
22
+ "type": "array",
23
+ "items": {
24
+ "type": "string",
25
+ "pattern": "^dox1_[0-9a-f]{64}$"
26
+ }
27
+ }
28
+ },
29
+ "required": [
30
+ "input",
31
+ "revision",
32
+ "rowRefs"
33
+ ],
34
+ "additionalProperties": false
35
+ },
36
+ "target": {
37
+ "type": "object",
38
+ "properties": {
39
+ "input": {
40
+ "type": "string",
41
+ "minLength": 1
42
+ },
43
+ "revision": {
44
+ "type": "string",
45
+ "pattern": "^docx-rev-v1-[0-9a-f]{64}$"
46
+ },
47
+ "tableRef": {
48
+ "type": "string",
49
+ "pattern": "^dox1_[0-9a-f]{64}$"
50
+ },
51
+ "rowPatternRefs": {
52
+ "minItems": 1,
53
+ "type": "array",
54
+ "items": {
55
+ "type": "string",
56
+ "pattern": "^dox1_[0-9a-f]{64}$"
57
+ }
58
+ }
59
+ },
60
+ "required": [
61
+ "input",
62
+ "revision",
63
+ "tableRef",
64
+ "rowPatternRefs"
65
+ ],
66
+ "additionalProperties": false
67
+ },
68
+ "columns": {
69
+ "minItems": 1,
70
+ "type": "array",
71
+ "items": {
72
+ "type": "object",
73
+ "properties": {
74
+ "sourceGridColumn": {
75
+ "type": "integer",
76
+ "minimum": 0,
77
+ "maximum": 9007199254740991
78
+ },
79
+ "targetGridColumn": {
80
+ "type": "integer",
81
+ "minimum": 0,
82
+ "maximum": 9007199254740991
83
+ }
84
+ },
85
+ "required": [
86
+ "sourceGridColumn",
87
+ "targetGridColumn"
88
+ ],
89
+ "additionalProperties": false
90
+ }
91
+ },
92
+ "output": {
93
+ "type": "string",
94
+ "minLength": 1
95
+ },
96
+ "receiptOutput": {
97
+ "type": "string",
98
+ "minLength": 1
99
+ }
100
+ },
101
+ "required": [
102
+ "schema",
103
+ "source",
104
+ "target",
105
+ "columns",
106
+ "output",
107
+ "receiptOutput"
108
+ ],
109
+ "additionalProperties": false,
110
+ "$id": "tiwater.docx-copy-table-range/v1"
111
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "input": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "output": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "description": "New document output path. Existing files are never overwritten."
13
+ },
14
+ "receiptOutput": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "description": "New JSON receipt path. Existing files are never overwritten."
18
+ },
19
+ "changes": {
20
+ "minItems": 1,
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "findText": {
26
+ "type": "string",
27
+ "minLength": 1
28
+ },
29
+ "matchMode": {
30
+ "type": "string"
31
+ },
32
+ "paragraphStyle": {
33
+ "type": "string"
34
+ }
35
+ },
36
+ "required": [
37
+ "findText"
38
+ ],
39
+ "additionalProperties": false
40
+ }
41
+ }
42
+ },
43
+ "required": [
44
+ "input",
45
+ "output",
46
+ "receiptOutput",
47
+ "changes"
48
+ ],
49
+ "additionalProperties": false
50
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "input": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "output": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "description": "New document output path. Existing files are never overwritten."
13
+ },
14
+ "receiptOutput": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "description": "New JSON receipt path. Existing files are never overwritten."
18
+ },
19
+ "changes": {
20
+ "minItems": 1,
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "findText": {
26
+ "type": "string",
27
+ "minLength": 1
28
+ },
29
+ "matchMode": {
30
+ "type": "string"
31
+ },
32
+ "paragraphStyle": {
33
+ "type": "string"
34
+ }
35
+ },
36
+ "required": [
37
+ "findText"
38
+ ],
39
+ "additionalProperties": false
40
+ }
41
+ }
42
+ },
43
+ "required": [
44
+ "input",
45
+ "output",
46
+ "receiptOutput",
47
+ "changes"
48
+ ],
49
+ "additionalProperties": false
50
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "input": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "output": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "description": "New document output path. Existing files are never overwritten."
13
+ },
14
+ "receiptOutput": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "description": "New JSON receipt path. Existing files are never overwritten."
18
+ },
19
+ "changes": {
20
+ "minItems": 1,
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "findText": {
26
+ "type": "string",
27
+ "minLength": 1
28
+ },
29
+ "endFindText": {
30
+ "type": "string"
31
+ },
32
+ "matchMode": {
33
+ "type": "string"
34
+ },
35
+ "endMatchMode": {
36
+ "type": "string"
37
+ },
38
+ "paragraphStyle": {
39
+ "type": "string"
40
+ },
41
+ "endParagraphStyle": {
42
+ "type": "string"
43
+ },
44
+ "deleteToBodyEnd": {
45
+ "type": "boolean"
46
+ },
47
+ "removePrecedingPageBreak": {
48
+ "type": "boolean"
49
+ }
50
+ },
51
+ "required": [
52
+ "findText"
53
+ ],
54
+ "additionalProperties": false
55
+ }
56
+ }
57
+ },
58
+ "required": [
59
+ "input",
60
+ "output",
61
+ "receiptOutput",
62
+ "changes"
63
+ ],
64
+ "additionalProperties": false
65
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "input": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "output": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "description": "New document output path. Existing files are never overwritten."
13
+ },
14
+ "receiptOutput": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "description": "New JSON receipt path. Existing files are never overwritten."
18
+ },
19
+ "changes": {
20
+ "minItems": 1,
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "commentIds": {
26
+ "minItems": 1,
27
+ "type": "array",
28
+ "items": {
29
+ "type": "string",
30
+ "minLength": 1
31
+ }
32
+ }
33
+ },
34
+ "required": [
35
+ "commentIds"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ }
40
+ },
41
+ "required": [
42
+ "input",
43
+ "output",
44
+ "receiptOutput",
45
+ "changes"
46
+ ],
47
+ "additionalProperties": false
48
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "input": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "output": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "description": "New document output path. Existing files are never overwritten."
13
+ },
14
+ "receiptOutput": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "description": "New JSON receipt path. Existing files are never overwritten."
18
+ },
19
+ "changes": {
20
+ "minItems": 1,
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "tableIndex": {
26
+ "type": "integer",
27
+ "minimum": 0,
28
+ "maximum": 9007199254740991
29
+ },
30
+ "startRowIndex": {
31
+ "type": "integer",
32
+ "minimum": 0,
33
+ "maximum": 9007199254740991
34
+ },
35
+ "endRowIndex": {
36
+ "type": "integer",
37
+ "minimum": 0,
38
+ "maximum": 9007199254740991
39
+ }
40
+ },
41
+ "required": [
42
+ "tableIndex",
43
+ "startRowIndex",
44
+ "endRowIndex"
45
+ ],
46
+ "additionalProperties": false
47
+ }
48
+ }
49
+ },
50
+ "required": [
51
+ "input",
52
+ "output",
53
+ "receiptOutput",
54
+ "changes"
55
+ ],
56
+ "additionalProperties": false
57
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "input": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "output": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "description": "New JSON artifact path. Existing files are never overwritten."
13
+ }
14
+ },
15
+ "required": [
16
+ "input",
17
+ "output"
18
+ ],
19
+ "additionalProperties": false
20
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "input": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "literal": {
10
+ "type": "string",
11
+ "minLength": 1
12
+ },
13
+ "kind": {
14
+ "type": "string",
15
+ "enum": [
16
+ "part",
17
+ "paragraph",
18
+ "table",
19
+ "row",
20
+ "cell",
21
+ "run",
22
+ "drawing"
23
+ ]
24
+ },
25
+ "scope": {
26
+ "type": "string",
27
+ "minLength": 1
28
+ },
29
+ "limit": {
30
+ "default": 100,
31
+ "type": "integer",
32
+ "minimum": 1,
33
+ "maximum": 1000
34
+ },
35
+ "continuation": {
36
+ "type": "string",
37
+ "minLength": 1
38
+ }
39
+ },
40
+ "required": [
41
+ "input",
42
+ "literal"
43
+ ],
44
+ "additionalProperties": false,
45
+ "$id": "tiwater.office-mcp-input/docx_find_literal/v1"
46
+ }