@tiwater/office-mcp 0.16.18 → 0.16.19
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
|
@@ -260,6 +260,7 @@ const tools = [
|
|
|
260
260
|
description: 'Write a body-only DOCX JSON projection only when a downstream consumer explicitly requires that format. It is not a companion to docx_inspect and does not replace bounded list/find/read object selection.',
|
|
261
261
|
inputSchema: inputContract('docx_export_json'),
|
|
262
262
|
outputSchema: artifactOutput('docx_export_json'),
|
|
263
|
+
annotations: { readOnlyHint: true, idempotentHint: true },
|
|
263
264
|
handler: docxExportJson,
|
|
264
265
|
},
|
|
265
266
|
{
|
|
@@ -313,6 +314,7 @@ const tools = [
|
|
|
313
314
|
description: 'Inspect a current XLSX workbook or legacy XLS workbook and write one JSON observation containing workbook structure, exported values, formulas, styles, merged ranges, and any published legacy-format conversion evidence.',
|
|
314
315
|
inputSchema: inputContract('xlsx_inspect'),
|
|
315
316
|
outputSchema: artifactOutput('xlsx_inspect'),
|
|
317
|
+
annotations: { readOnlyHint: true, idempotentHint: true },
|
|
316
318
|
handler: xlsxInspect,
|
|
317
319
|
},
|
|
318
320
|
{
|
|
@@ -320,6 +322,7 @@ const tools = [
|
|
|
320
322
|
description: 'Export workbook sheet data from XLSX as structured JSON.',
|
|
321
323
|
inputSchema: inputContract('xlsx_export_json'),
|
|
322
324
|
outputSchema: artifactOutput('xlsx_export_json'),
|
|
325
|
+
annotations: { readOnlyHint: true, idempotentHint: true },
|
|
323
326
|
handler: xlsxExportJson,
|
|
324
327
|
},
|
|
325
328
|
...fixedToolDefinitions(xlsxFixedTools),
|
|
@@ -335,6 +338,7 @@ const tools = [
|
|
|
335
338
|
description: 'Inspect a PPTX file and write one detailed JSON observation containing slides, masters, layouts, shapes, transforms, paragraphs, runs, and placeholders.',
|
|
336
339
|
inputSchema: inputContract('pptx_inspect'),
|
|
337
340
|
outputSchema: artifactOutput('pptx_inspect'),
|
|
341
|
+
annotations: { readOnlyHint: true, idempotentHint: true },
|
|
338
342
|
handler: pptxInspect,
|
|
339
343
|
},
|
|
340
344
|
{
|
|
@@ -342,6 +346,7 @@ const tools = [
|
|
|
342
346
|
description: 'Export PPTX slide text, notes, and placeholder hints to a new JSON artifact without returning the full presentation through MCP.',
|
|
343
347
|
inputSchema: inputContract('pptx_export_json'),
|
|
344
348
|
outputSchema: artifactOutput('pptx_export_json'),
|
|
349
|
+
annotations: { readOnlyHint: true, idempotentHint: true },
|
|
345
350
|
handler: pptxExportJson,
|
|
346
351
|
},
|
|
347
352
|
{
|