@tiwater/office-mcp 0.16.2 → 0.16.3
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/index.mjs
CHANGED
|
@@ -139,14 +139,14 @@ function artifactOutput(tool) {
|
|
|
139
139
|
const tools = [
|
|
140
140
|
{
|
|
141
141
|
name: 'docx_inspect',
|
|
142
|
-
description: 'Write the default single full-document DOCX observation containing body content, structure, placeholders, comments, anchors, tables, fields, flow, fonts, and formatting metrics. Do not also call docx_export_json for the same observation.',
|
|
142
|
+
description: 'Write the default single full-document DOCX observation containing body content, structure, placeholders, comments, anchors, tables, fields, flow, fonts, and formatting metrics. Its tables section includes the current revision and native refs for every observed table, row, cell, paragraph, and run; use those refs directly for mutation instead of listing the same descendants again. Do not also call docx_export_json for the same observation.',
|
|
143
143
|
inputSchema: inputContract('docx_inspect'),
|
|
144
144
|
outputSchema: artifactOutput('docx_inspect'),
|
|
145
145
|
handler: docxInspect,
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
148
|
name: 'docx_inspect_tables',
|
|
149
|
-
description: 'Inspect current DOCX tables, cells, merges, paragraphs, runs, and formatting.',
|
|
149
|
+
description: 'Inspect current DOCX tables, cells, merges, paragraphs, runs, and formatting, returning the current revision and native refs for every observed table, row, cell, paragraph, and run. Use those refs directly for mutation instead of listing the same descendants again.',
|
|
150
150
|
inputSchema: inputContract('docx_inspect_tables'),
|
|
151
151
|
outputSchema: artifactOutput('docx_inspect_tables'),
|
|
152
152
|
annotations: { readOnlyHint: true, idempotentHint: true },
|