@tiwater/office-mcp 0.18.5 → 0.18.6
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
|
@@ -268,7 +268,7 @@ const tools = [
|
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
270
|
name: 'docx_list_objects',
|
|
271
|
-
description: '
|
|
271
|
+
description: 'Page through mixed nearest-child OpenXML objects when document order or paragraph relationships are required. Continue with nextOffset and descend through a returned parent address. Do not use this tool to locate tables or read a whole document: use docx_table_index to locate tables, then docx_read_table for one selected table.',
|
|
272
272
|
inputSchema: inputContract('docx_list_objects'),
|
|
273
273
|
outputSchema: docxListObjectsOutput,
|
|
274
274
|
annotations: { readOnlyHint: true, idempotentHint: true },
|
|
@@ -276,7 +276,7 @@ const tools = [
|
|
|
276
276
|
},
|
|
277
277
|
{
|
|
278
278
|
name: 'docx_table_index',
|
|
279
|
-
description: '
|
|
279
|
+
description: 'Locate tables in one current DOCX. Returns one compact index containing every table address, shape, and short text preview. Choose the needed address from this index, then call docx_read_table. It does not return full cell content or decide table semantics.',
|
|
280
280
|
inputSchema: inputContract('docx_table_index'),
|
|
281
281
|
outputSchema: docxTableIndexOutput,
|
|
282
282
|
annotations: { readOnlyHint: true, idempotentHint: true },
|
|
@@ -292,7 +292,7 @@ const tools = [
|
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
294
|
name: 'docx_read_table',
|
|
295
|
-
description: 'Read one
|
|
295
|
+
description: 'Read exactly one table selected from docx_table_index by native OpenXML address. Returns its rows, cells, spans, vertical merges, paragraphs, text nodes, and reusable addresses in document order. It does not locate a table or decide business meaning.',
|
|
296
296
|
inputSchema: inputContract('docx_read_table'),
|
|
297
297
|
outputSchema: docxTableReadOutput,
|
|
298
298
|
annotations: { readOnlyHint: true, idempotentHint: true },
|