@tiwater/office-mcp 0.15.0 → 0.15.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 (89) hide show
  1. package/office/README.md +5 -0
  2. package/office/contracts/docx_apply_font_policy.schema.json +6 -3
  3. package/office/contracts/docx_apply_toc_style_policy.schema.json +6 -3
  4. package/office/contracts/docx_collapse_trailing_empty_paragraphs.schema.json +6 -3
  5. package/office/contracts/docx_collapse_trailing_empty_section.schema.json +6 -3
  6. package/office/contracts/docx_compare.schema.json +4 -2
  7. package/office/contracts/docx_copy_table_range.schema.json +8 -4
  8. package/office/contracts/docx_delete_body_drawing_before_paragraph.schema.json +6 -3
  9. package/office/contracts/docx_delete_body_paragraph.schema.json +6 -3
  10. package/office/contracts/docx_delete_body_range.schema.json +6 -3
  11. package/office/contracts/docx_delete_comments.schema.json +6 -3
  12. package/office/contracts/docx_delete_table_rows.schema.json +6 -3
  13. package/office/contracts/docx_export_json.schema.json +4 -2
  14. package/office/contracts/docx_find_literal.schema.json +2 -1
  15. package/office/contracts/docx_freeze_fields.schema.json +6 -3
  16. package/office/contracts/docx_insert_body_image.schema.json +8 -4
  17. package/office/contracts/docx_insert_body_range.schema.json +8 -4
  18. package/office/contracts/docx_insert_table_columns.schema.json +6 -3
  19. package/office/contracts/docx_insert_table_rows.schema.json +9 -4
  20. package/office/contracts/docx_inspect.schema.json +4 -2
  21. package/office/contracts/docx_inspect_tables.schema.json +4 -2
  22. package/office/contracts/docx_list_objects.schema.json +2 -1
  23. package/office/contracts/docx_mark_fields_dirty.schema.json +6 -3
  24. package/office/contracts/docx_merge_table_cells.schema.json +6 -3
  25. package/office/contracts/docx_read_object.schema.json +2 -1
  26. package/office/contracts/docx_replace_body_text.schema.json +6 -3
  27. package/office/contracts/docx_replace_drawing_image.schema.json +8 -4
  28. package/office/contracts/docx_replace_header_text.schema.json +6 -3
  29. package/office/contracts/docx_replace_style_ids.schema.json +4 -2
  30. package/office/contracts/docx_replace_table_rows.schema.json +9 -4
  31. package/office/contracts/docx_sanitize_fields.schema.json +6 -3
  32. package/office/contracts/docx_set_anchored_text.schema.json +6 -3
  33. package/office/contracts/docx_set_body_paragraph_keep_lines.schema.json +6 -3
  34. package/office/contracts/docx_set_body_paragraph_keep_next.schema.json +6 -3
  35. package/office/contracts/docx_set_footer_paragraph_text.schema.json +6 -3
  36. package/office/contracts/docx_set_footer_run_text.schema.json +6 -3
  37. package/office/contracts/docx_set_footer_table_cell_run_text.schema.json +6 -3
  38. package/office/contracts/docx_set_footer_table_cell_text.schema.json +6 -3
  39. package/office/contracts/docx_set_header_paragraph_font_size.schema.json +6 -3
  40. package/office/contracts/docx_set_header_paragraph_text.schema.json +6 -3
  41. package/office/contracts/docx_set_header_run_text.schema.json +6 -3
  42. package/office/contracts/docx_set_header_table_cell_run_text.schema.json +6 -3
  43. package/office/contracts/docx_set_header_table_cell_text.schema.json +6 -3
  44. package/office/contracts/docx_set_paragraph_run_text.schema.json +6 -3
  45. package/office/contracts/docx_set_paragraph_text.schema.json +6 -3
  46. package/office/contracts/docx_set_table_cell_alignment.schema.json +6 -3
  47. package/office/contracts/docx_set_table_cell_font_size.schema.json +6 -3
  48. package/office/contracts/docx_set_table_cell_no_wrap.schema.json +6 -3
  49. package/office/contracts/docx_set_table_cell_rich_text.schema.json +6 -3
  50. package/office/contracts/docx_set_table_cell_run_text.schema.json +6 -3
  51. package/office/contracts/docx_set_table_cell_text.schema.json +6 -3
  52. package/office/contracts/docx_set_table_row_cant_split.schema.json +6 -3
  53. package/office/contracts/docx_set_table_row_height.schema.json +6 -3
  54. package/office/contracts/docx_set_table_row_keep_next.schema.json +6 -3
  55. package/office/contracts/docx_set_table_row_repeat_as_header.schema.json +6 -3
  56. package/office/contracts/docx_set_table_width.schema.json +6 -3
  57. package/office/contracts/docx_start_section.schema.json +6 -3
  58. package/office/contracts/docx_strip_direct_formatting.schema.json +4 -2
  59. package/office/contracts/docx_unmerge_table_column_cells.schema.json +6 -3
  60. package/office/contracts/docx_unmerge_table_row_cells.schema.json +6 -3
  61. package/office/contracts/docx_validate.schema.json +2 -1
  62. package/office/contracts/docx_validate_font_policy.schema.json +2 -1
  63. package/office/contracts/docx_validate_toc_style_policy.schema.json +2 -1
  64. package/office/contracts/office_render_pdf.schema.json +6 -3
  65. package/office/contracts/pptx_apply_format.schema.json +6 -3
  66. package/office/contracts/pptx_apply_template.schema.json +8 -4
  67. package/office/contracts/pptx_export_json.schema.json +4 -2
  68. package/office/contracts/pptx_inspect.schema.json +4 -2
  69. package/office/contracts/pptx_replace_picture_image.schema.json +8 -4
  70. package/office/contracts/pptx_set_shape_geometry.schema.json +6 -3
  71. package/office/contracts/pptx_validate.schema.json +2 -1
  72. package/office/contracts/tiwater-office-provider-contract-manifest-v1.json +173 -173
  73. package/office/contracts/xlsx_convert_legacy.schema.json +6 -3
  74. package/office/contracts/xlsx_copy_row.schema.json +6 -3
  75. package/office/contracts/xlsx_delete_rows.schema.json +6 -3
  76. package/office/contracts/xlsx_expand_section_rows.schema.json +6 -3
  77. package/office/contracts/xlsx_export_json.schema.json +4 -2
  78. package/office/contracts/xlsx_insert_rows.schema.json +6 -3
  79. package/office/contracts/xlsx_inspect.schema.json +4 -2
  80. package/office/contracts/xlsx_set_cell_number_format.schema.json +6 -3
  81. package/office/contracts/xlsx_set_cell_value.schema.json +6 -3
  82. package/office/contracts/xlsx_set_column_width.schema.json +6 -3
  83. package/office/contracts/xlsx_set_page_setup.schema.json +6 -3
  84. package/office/contracts/xlsx_set_print_area.schema.json +6 -3
  85. package/office/contracts/xlsx_set_range_values.schema.json +6 -3
  86. package/office/contracts/xlsx_set_rich_text_cell_value.schema.json +6 -3
  87. package/office/contracts/xlsx_set_row_page_breaks.schema.json +6 -3
  88. package/office/contracts/xlsx_validate.schema.json +2 -1
  89. package/package.json +1 -1
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,11 +4,13 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
- "minLength": 1
12
+ "minLength": 1,
13
+ "x-tiwater-file-role": "write"
12
14
  }
13
15
  },
14
16
  "required": [
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,7 +4,8 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  }
9
10
  },
10
11
  "required": [
@@ -4,7 +4,8 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "policy": {
10
11
  "type": "object",
@@ -4,7 +4,8 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "italic": {
10
11
  "type": "boolean"
@@ -5,17 +5,20 @@
5
5
  "input": {
6
6
  "type": "string",
7
7
  "minLength": 1,
8
- "description": "Path to the current Office document."
8
+ "description": "Path to the current Office document.",
9
+ "x-tiwater-file-role": "read"
9
10
  },
10
11
  "output": {
11
12
  "type": "string",
12
13
  "minLength": 1,
13
- "description": "New PDF output path. Existing files are never overwritten."
14
+ "description": "New PDF output path. Existing files are never overwritten.",
15
+ "x-tiwater-file-role": "write"
14
16
  },
15
17
  "receiptOutput": {
16
18
  "type": "string",
17
19
  "minLength": 1,
18
- "description": "New JSON receipt path. Existing files are never overwritten."
20
+ "description": "New JSON receipt path. Existing files are never overwritten.",
21
+ "x-tiwater-file-role": "write"
19
22
  }
20
23
  },
21
24
  "required": [
@@ -5,7 +5,8 @@
5
5
  "input": {
6
6
  "type": "string",
7
7
  "minLength": 1,
8
- "description": "Path to the current PPTX."
8
+ "description": "Path to the current PPTX.",
9
+ "x-tiwater-file-role": "read"
9
10
  },
10
11
  "changes": {
11
12
  "minItems": 1,
@@ -56,12 +57,14 @@
56
57
  "output": {
57
58
  "type": "string",
58
59
  "minLength": 1,
59
- "description": "New PPTX output path. Existing files are never overwritten."
60
+ "description": "New PPTX output path. Existing files are never overwritten.",
61
+ "x-tiwater-file-role": "write"
60
62
  },
61
63
  "receiptOutput": {
62
64
  "type": "string",
63
65
  "minLength": 1,
64
- "description": "New JSON receipt path. Existing files are never overwritten."
66
+ "description": "New JSON receipt path. Existing files are never overwritten.",
67
+ "x-tiwater-file-role": "write"
65
68
  }
66
69
  },
67
70
  "required": [
@@ -5,12 +5,14 @@
5
5
  "input": {
6
6
  "type": "string",
7
7
  "minLength": 1,
8
- "description": "Path to the current source PPTX."
8
+ "description": "Path to the current source PPTX.",
9
+ "x-tiwater-file-role": "read"
9
10
  },
10
11
  "template": {
11
12
  "type": "string",
12
13
  "minLength": 1,
13
- "description": "Path to the selected current template PPTX."
14
+ "description": "Path to the selected current template PPTX.",
15
+ "x-tiwater-file-role": "read"
14
16
  },
15
17
  "targetMasterPath": {
16
18
  "type": "string",
@@ -91,12 +93,14 @@
91
93
  "output": {
92
94
  "type": "string",
93
95
  "minLength": 1,
94
- "description": "New PPTX output path. Existing files are never overwritten."
96
+ "description": "New PPTX output path. Existing files are never overwritten.",
97
+ "x-tiwater-file-role": "write"
95
98
  },
96
99
  "receiptOutput": {
97
100
  "type": "string",
98
101
  "minLength": 1,
99
- "description": "New JSON receipt path. Existing files are never overwritten."
102
+ "description": "New JSON receipt path. Existing files are never overwritten.",
103
+ "x-tiwater-file-role": "write"
100
104
  }
101
105
  },
102
106
  "required": [
@@ -4,12 +4,14 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New JSON artifact path. Existing files are never overwritten."
13
+ "description": "New JSON artifact path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  }
14
16
  },
15
17
  "required": [
@@ -4,12 +4,14 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New JSON artifact path. Existing files are never overwritten."
13
+ "description": "New JSON artifact path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  }
14
16
  },
15
17
  "required": [
@@ -5,7 +5,8 @@
5
5
  "input": {
6
6
  "type": "string",
7
7
  "minLength": 1,
8
- "description": "Path to the current PPTX."
8
+ "description": "Path to the current PPTX.",
9
+ "x-tiwater-file-role": "read"
9
10
  },
10
11
  "changes": {
11
12
  "minItems": 1,
@@ -25,7 +26,8 @@
25
26
  },
26
27
  "image": {
27
28
  "type": "string",
28
- "minLength": 1
29
+ "minLength": 1,
30
+ "x-tiwater-file-role": "read"
29
31
  }
30
32
  },
31
33
  "required": [
@@ -39,12 +41,14 @@
39
41
  "output": {
40
42
  "type": "string",
41
43
  "minLength": 1,
42
- "description": "New PPTX output path. Existing files are never overwritten."
44
+ "description": "New PPTX output path. Existing files are never overwritten.",
45
+ "x-tiwater-file-role": "write"
43
46
  },
44
47
  "receiptOutput": {
45
48
  "type": "string",
46
49
  "minLength": 1,
47
- "description": "New JSON receipt path. Existing files are never overwritten."
50
+ "description": "New JSON receipt path. Existing files are never overwritten.",
51
+ "x-tiwater-file-role": "write"
48
52
  }
49
53
  },
50
54
  "required": [
@@ -5,7 +5,8 @@
5
5
  "input": {
6
6
  "type": "string",
7
7
  "minLength": 1,
8
- "description": "Path to the current PPTX."
8
+ "description": "Path to the current PPTX.",
9
+ "x-tiwater-file-role": "read"
9
10
  },
10
11
  "changes": {
11
12
  "minItems": 1,
@@ -58,12 +59,14 @@
58
59
  "output": {
59
60
  "type": "string",
60
61
  "minLength": 1,
61
- "description": "New PPTX output path. Existing files are never overwritten."
62
+ "description": "New PPTX output path. Existing files are never overwritten.",
63
+ "x-tiwater-file-role": "write"
62
64
  },
63
65
  "receiptOutput": {
64
66
  "type": "string",
65
67
  "minLength": 1,
66
- "description": "New JSON receipt path. Existing files are never overwritten."
68
+ "description": "New JSON receipt path. Existing files are never overwritten.",
69
+ "x-tiwater-file-role": "write"
67
70
  }
68
71
  },
69
72
  "required": [
@@ -4,7 +4,8 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  }
9
10
  },
10
11
  "required": [