@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.
- package/office/README.md +5 -0
- package/office/contracts/docx_apply_font_policy.schema.json +6 -3
- package/office/contracts/docx_apply_toc_style_policy.schema.json +6 -3
- package/office/contracts/docx_collapse_trailing_empty_paragraphs.schema.json +6 -3
- package/office/contracts/docx_collapse_trailing_empty_section.schema.json +6 -3
- package/office/contracts/docx_compare.schema.json +4 -2
- package/office/contracts/docx_copy_table_range.schema.json +8 -4
- package/office/contracts/docx_delete_body_drawing_before_paragraph.schema.json +6 -3
- package/office/contracts/docx_delete_body_paragraph.schema.json +6 -3
- package/office/contracts/docx_delete_body_range.schema.json +6 -3
- package/office/contracts/docx_delete_comments.schema.json +6 -3
- package/office/contracts/docx_delete_table_rows.schema.json +6 -3
- package/office/contracts/docx_export_json.schema.json +4 -2
- package/office/contracts/docx_find_literal.schema.json +2 -1
- package/office/contracts/docx_freeze_fields.schema.json +6 -3
- package/office/contracts/docx_insert_body_image.schema.json +8 -4
- package/office/contracts/docx_insert_body_range.schema.json +8 -4
- package/office/contracts/docx_insert_table_columns.schema.json +6 -3
- package/office/contracts/docx_insert_table_rows.schema.json +9 -4
- package/office/contracts/docx_inspect.schema.json +4 -2
- package/office/contracts/docx_inspect_tables.schema.json +4 -2
- package/office/contracts/docx_list_objects.schema.json +2 -1
- package/office/contracts/docx_mark_fields_dirty.schema.json +6 -3
- package/office/contracts/docx_merge_table_cells.schema.json +6 -3
- package/office/contracts/docx_read_object.schema.json +2 -1
- package/office/contracts/docx_replace_body_text.schema.json +6 -3
- package/office/contracts/docx_replace_drawing_image.schema.json +8 -4
- package/office/contracts/docx_replace_header_text.schema.json +6 -3
- package/office/contracts/docx_replace_style_ids.schema.json +4 -2
- package/office/contracts/docx_replace_table_rows.schema.json +9 -4
- package/office/contracts/docx_sanitize_fields.schema.json +6 -3
- package/office/contracts/docx_set_anchored_text.schema.json +6 -3
- package/office/contracts/docx_set_body_paragraph_keep_lines.schema.json +6 -3
- package/office/contracts/docx_set_body_paragraph_keep_next.schema.json +6 -3
- package/office/contracts/docx_set_footer_paragraph_text.schema.json +6 -3
- package/office/contracts/docx_set_footer_run_text.schema.json +6 -3
- package/office/contracts/docx_set_footer_table_cell_run_text.schema.json +6 -3
- package/office/contracts/docx_set_footer_table_cell_text.schema.json +6 -3
- package/office/contracts/docx_set_header_paragraph_font_size.schema.json +6 -3
- package/office/contracts/docx_set_header_paragraph_text.schema.json +6 -3
- package/office/contracts/docx_set_header_run_text.schema.json +6 -3
- package/office/contracts/docx_set_header_table_cell_run_text.schema.json +6 -3
- package/office/contracts/docx_set_header_table_cell_text.schema.json +6 -3
- package/office/contracts/docx_set_paragraph_run_text.schema.json +6 -3
- package/office/contracts/docx_set_paragraph_text.schema.json +6 -3
- package/office/contracts/docx_set_table_cell_alignment.schema.json +6 -3
- package/office/contracts/docx_set_table_cell_font_size.schema.json +6 -3
- package/office/contracts/docx_set_table_cell_no_wrap.schema.json +6 -3
- package/office/contracts/docx_set_table_cell_rich_text.schema.json +6 -3
- package/office/contracts/docx_set_table_cell_run_text.schema.json +6 -3
- package/office/contracts/docx_set_table_cell_text.schema.json +6 -3
- package/office/contracts/docx_set_table_row_cant_split.schema.json +6 -3
- package/office/contracts/docx_set_table_row_height.schema.json +6 -3
- package/office/contracts/docx_set_table_row_keep_next.schema.json +6 -3
- package/office/contracts/docx_set_table_row_repeat_as_header.schema.json +6 -3
- package/office/contracts/docx_set_table_width.schema.json +6 -3
- package/office/contracts/docx_start_section.schema.json +6 -3
- package/office/contracts/docx_strip_direct_formatting.schema.json +4 -2
- package/office/contracts/docx_unmerge_table_column_cells.schema.json +6 -3
- package/office/contracts/docx_unmerge_table_row_cells.schema.json +6 -3
- package/office/contracts/docx_validate.schema.json +2 -1
- package/office/contracts/docx_validate_font_policy.schema.json +2 -1
- package/office/contracts/docx_validate_toc_style_policy.schema.json +2 -1
- package/office/contracts/office_render_pdf.schema.json +6 -3
- package/office/contracts/pptx_apply_format.schema.json +6 -3
- package/office/contracts/pptx_apply_template.schema.json +8 -4
- package/office/contracts/pptx_export_json.schema.json +4 -2
- package/office/contracts/pptx_inspect.schema.json +4 -2
- package/office/contracts/pptx_replace_picture_image.schema.json +8 -4
- package/office/contracts/pptx_set_shape_geometry.schema.json +6 -3
- package/office/contracts/pptx_validate.schema.json +2 -1
- package/office/contracts/tiwater-office-provider-contract-manifest-v1.json +173 -173
- package/office/contracts/xlsx_convert_legacy.schema.json +6 -3
- package/office/contracts/xlsx_copy_row.schema.json +6 -3
- package/office/contracts/xlsx_delete_rows.schema.json +6 -3
- package/office/contracts/xlsx_expand_section_rows.schema.json +6 -3
- package/office/contracts/xlsx_export_json.schema.json +4 -2
- package/office/contracts/xlsx_insert_rows.schema.json +6 -3
- package/office/contracts/xlsx_inspect.schema.json +4 -2
- package/office/contracts/xlsx_set_cell_number_format.schema.json +6 -3
- package/office/contracts/xlsx_set_cell_value.schema.json +6 -3
- package/office/contracts/xlsx_set_column_width.schema.json +6 -3
- package/office/contracts/xlsx_set_page_setup.schema.json +6 -3
- package/office/contracts/xlsx_set_print_area.schema.json +6 -3
- package/office/contracts/xlsx_set_range_values.schema.json +6 -3
- package/office/contracts/xlsx_set_rich_text_cell_value.schema.json +6 -3
- package/office/contracts/xlsx_set_row_page_breaks.schema.json +6 -3
- package/office/contracts/xlsx_validate.schema.json +2 -1
- package/package.json +1 -1
|
@@ -4,15 +4,18 @@
|
|
|
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
|
"receiptOutput": {
|
|
14
16
|
"type": "string",
|
|
15
|
-
"minLength": 1
|
|
17
|
+
"minLength": 1,
|
|
18
|
+
"x-tiwater-file-role": "write"
|
|
16
19
|
}
|
|
17
20
|
},
|
|
18
21
|
"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,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,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
|
"resolveMergedCells": {
|
|
15
17
|
"description": "Resolve merged cells to project values.",
|
|
@@ -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,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,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,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,
|