@tiwater/office-mcp 0.15.13 → 0.15.14
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
|
@@ -205,14 +205,14 @@ const tools = [
|
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
207
|
name: 'docx_list_objects',
|
|
208
|
-
description: 'List one small page of revision-bound DOCX object identities for structure discovery, not
|
|
208
|
+
description: 'List one small page of revision-bound DOCX object identities for structure discovery, not selection by text. To select a table or row by any descendant cell text, call docx_find_literal with kind table or row instead of listing the document. Use parentRef for nearest children: a part yields top-level story blocks and a table yields rows. Without parentRef the request is story-wide; scope is only an exact story-part URI.',
|
|
209
209
|
inputSchema: inputContract('docx_list_objects'),
|
|
210
210
|
annotations: { readOnlyHint: true, idempotentHint: true },
|
|
211
211
|
handler: args => docxObservation('docx_list_objects', args),
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
214
|
name: 'docx_find_literal',
|
|
215
|
-
description: 'Find exact current text in one small page of revision-bound native DOCX objects
|
|
215
|
+
description: 'Find exact current text in one small page of revision-bound native DOCX objects. With kind table or row, matching includes all descendant cell text, so no prior paragraph, cell, or document-wide list is needed. Use parentRef only to search nearest published children of a selected object.',
|
|
216
216
|
inputSchema: inputContract('docx_find_literal'),
|
|
217
217
|
annotations: { readOnlyHint: true, idempotentHint: true },
|
|
218
218
|
handler: args => docxObservation('docx_find_literal', args),
|