@tiwater/office-mcp 0.16.19 → 0.16.20
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
|
@@ -200,7 +200,7 @@ const tools = [
|
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
name: 'docx_read_object',
|
|
203
|
-
description: 'Read one selected native DOCX object as an ordered native hierarchy written to the requested output artifact. The tool response only identifies that artifact and the selected root object; read the artifact for descendant refs and content. For a table, request row and cell
|
|
203
|
+
description: 'Read one selected native DOCX object as an ordered native hierarchy written to the requested output artifact. The tool response only identifies that artifact and the selected root object; read the artifact for descendant refs and content. For a table, request row and cell once. Add paragraph for whole-paragraph choices; add run and text for exact content selections.',
|
|
204
204
|
inputSchema: inputContract('docx_read_object'),
|
|
205
205
|
outputSchema: docxReadObjectOutput,
|
|
206
206
|
annotations: { readOnlyHint: true, idempotentHint: true },
|
|
@@ -208,14 +208,14 @@ const tools = [
|
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
210
|
name: 'docx_copy_content',
|
|
211
|
-
description: 'Replace content in existing target cells while retaining target cell formatting and source inline meaning.
|
|
211
|
+
description: 'Replace content in existing target cells while retaining target cell formatting and source inline meaning. Batch cells that need exact observed subsets after docx_copy_table_rows. A selection copies a whole object by ref, or an exact substring when range is attached to a run or text ref.',
|
|
212
212
|
inputSchema: inputContract('docx_copy_content'),
|
|
213
213
|
outputSchema: fixedEditOutput('docx_copy_content'),
|
|
214
214
|
handler: args => fixedEdit('docx_copy_content', args),
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
217
|
name: 'docx_copy_table_rows',
|
|
218
|
-
description: 'Populate existing target tables by replacing selected data-row ranges with selected source rows.
|
|
218
|
+
description: 'Populate existing target tables by replacing selected data-row ranges with selected source rows. Explicit header-cell mappings preserve target presentation and source grouping. A column content mode applies to every copied cell in that column; when cells need different subsets, copy the row structure first and batch those cells with docx_copy_content.',
|
|
219
219
|
inputSchema: inputContract('docx_copy_table_rows'),
|
|
220
220
|
outputSchema: fixedEditOutput('docx_copy_table_rows'),
|
|
221
221
|
handler: args => fixedEdit('docx_copy_table_rows', args),
|