@tiwater/office-mcp 0.17.32 → 0.17.34
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.
|
@@ -111,7 +111,12 @@
|
|
|
111
111
|
"additionalProperties": false
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
|
-
"output": {
|
|
114
|
+
"output": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"minLength": 1,
|
|
117
|
+
"description": "New DOCX revision. Every targetDocument object ref becomes stale after success; observe this output before any later structural call.",
|
|
118
|
+
"x-tiwater-file-role": "write"
|
|
119
|
+
},
|
|
115
120
|
"receiptOutput": {
|
|
116
121
|
"type": "string",
|
|
117
122
|
"minLength": 1,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schema": "tiwater.office-provider-contract-manifest/v1",
|
|
3
3
|
"provider": {
|
|
4
4
|
"id": "@tiwater/office-mcp",
|
|
5
|
-
"version": "0.17.
|
|
5
|
+
"version": "0.17.34"
|
|
6
6
|
},
|
|
7
7
|
"tools": [
|
|
8
8
|
{
|
|
@@ -152,11 +152,11 @@
|
|
|
152
152
|
"name": "docx_replace_table_rows",
|
|
153
153
|
"providerContract": {
|
|
154
154
|
"source": "packages/docx-cli/contracts/mcp-input/docx_replace_table_rows.schema.json",
|
|
155
|
-
"sha256": "
|
|
155
|
+
"sha256": "2b2aa0f981767c57b974ff088e8bfe51091cc73bd10ad3eb86a6ce5ff3a798e9"
|
|
156
156
|
},
|
|
157
157
|
"inputContract": {
|
|
158
158
|
"path": "office/contracts/docx_replace_table_rows.schema.json",
|
|
159
|
-
"sha256": "
|
|
159
|
+
"sha256": "2b2aa0f981767c57b974ff088e8bfe51091cc73bd10ad3eb86a6ce5ff3a798e9"
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
{
|
package/office/index.mjs
CHANGED
|
@@ -236,7 +236,7 @@ const tools = [
|
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
name: 'docx_list_objects',
|
|
239
|
-
description: 'List one small page of
|
|
239
|
+
description: 'List one small page of nearest-child identities from the current DOCX in native document order and retain the exact page at output. This call creates and returns the current revision; it does not accept a revision argument. Request only the object kinds needed by the current local traversal, follow continuation in order, and descend only through returned refs with parentRef. Text previews describe already located objects; they do not prove descendant content.',
|
|
240
240
|
inputSchema: inputContract('docx_list_objects'),
|
|
241
241
|
outputSchema: docxListObjectsOutput,
|
|
242
242
|
annotations: { readOnlyHint: true, idempotentHint: true },
|
|
@@ -244,7 +244,7 @@ const tools = [
|
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
name: 'docx_read_object',
|
|
247
|
-
description: 'Read selected rows, cells, or paragraphs from one native DOCX in one call and return them in refs order. Pass the document path once and
|
|
247
|
+
description: 'Read selected rows, cells, or paragraphs from one native DOCX in one call and return them in refs order. Unlike docx_list_objects, this call accepts the list result revision to reject stale refs. Pass the document path once and only the refs needed for the current target. For exact inline content, use observed cell or paragraph refs and request run or text.',
|
|
248
248
|
inputSchema: inputContract('docx_read_object'),
|
|
249
249
|
outputSchema: docxReadObjectOutput,
|
|
250
250
|
annotations: { readOnlyHint: true, idempotentHint: true },
|