@tiwater/office-mcp 0.18.16 → 0.18.17
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
|
@@ -335,7 +335,7 @@ const tools = [
|
|
|
335
335
|
},
|
|
336
336
|
{
|
|
337
337
|
name: 'docx_read_table',
|
|
338
|
-
description: 'Read exactly one table selected from docx_table_index by native OpenXML address. Writes the complete table, including text nodes, to output and returns a bounded row page with cells, spans, vertical merges, paragraph text, and reusable addresses. Continue with receipt.nextOffset. If receipt.narrowingRequired is true, list rows under the same table and read smaller objects. It does not locate a table or decide business meaning.',
|
|
338
|
+
description: 'Read exactly one table selected from docx_table_index by native OpenXML address. Writes the complete table, including text nodes, to output and returns a bounded row page with cells, spans, vertical merges, paragraph text, and reusable addresses. In a vertical merge, restart begins one logical cell and following continue cells belong to it; a continue cell is not an independent row value. Continue with receipt.nextOffset. If receipt.narrowingRequired is true, list rows under the same table and read smaller objects. It does not locate a table or decide business meaning.',
|
|
339
339
|
inputSchema: inputContract('docx_read_table'),
|
|
340
340
|
outputSchema: docxTableReadOutput,
|
|
341
341
|
annotations: { readOnlyHint: true, idempotentHint: true },
|
|
@@ -350,7 +350,7 @@ const tools = [
|
|
|
350
350
|
},
|
|
351
351
|
{
|
|
352
352
|
name: 'docx_set_text',
|
|
353
|
-
description: 'Replace the whole text content of observed paragraph or cell objects while retaining target formatting and
|
|
353
|
+
description: 'Replace the whole text content of observed paragraph or cell objects while retaining target formatting, bookmarks, spans, and vertical merges. For a vertically merged logical cell, write its visible text to the restart cell rather than a continue cell. Tabs and line breaks remain native document text controls; targets containing non-text objects are rejected. This sets already-derived text; it does not insert objects, change table structure, copy source formatting, or decide business wording.',
|
|
354
354
|
inputSchema: inputContract('docx_set_text'),
|
|
355
355
|
outputSchema: fixedEditOutput('docx_set_text'),
|
|
356
356
|
handler: args => fixedEdit('docx_set_text', args),
|