@superdoc-dev/sdk 1.0.0-alpha.29 → 1.0.0-alpha.30

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.
@@ -8680,8 +8680,8 @@
8680
8680
  }
8681
8681
  },
8682
8682
  {
8683
- "name": "create_comment",
8684
- "description": "Create a new comment thread (or reply when parentCommentId is given).",
8683
+ "name": "apply_list_template",
8684
+ "description": "Apply a captured ListTemplate to the target list, optionally filtered to specific levels.",
8685
8685
  "input_schema": {
8686
8686
  "type": "object",
8687
8687
  "properties": {
@@ -8694,59 +8694,120 @@
8694
8694
  "force": {
8695
8695
  "type": "boolean"
8696
8696
  },
8697
- "text": {
8698
- "type": "string"
8699
- },
8700
8697
  "target": {
8701
8698
  "type": "object",
8702
8699
  "properties": {
8703
8700
  "kind": {
8704
- "const": "text"
8701
+ "const": "block"
8705
8702
  },
8706
- "blockId": {
8707
- "type": "string"
8703
+ "nodeType": {
8704
+ "const": "listItem"
8708
8705
  },
8709
- "range": {
8710
- "type": "object",
8711
- "properties": {
8712
- "start": {
8713
- "type": "number"
8714
- },
8715
- "end": {
8716
- "type": "number"
8717
- }
8718
- },
8719
- "required": [
8720
- "start",
8721
- "end"
8722
- ]
8706
+ "nodeId": {
8707
+ "type": "string"
8723
8708
  }
8724
8709
  },
8725
8710
  "required": [
8726
8711
  "kind",
8727
- "blockId",
8728
- "range"
8712
+ "nodeType",
8713
+ "nodeId"
8729
8714
  ]
8730
8715
  },
8731
- "parentId": {
8732
- "type": "string"
8733
- },
8734
- "blockId": {
8735
- "type": "string"
8716
+ "template": {
8717
+ "type": "object",
8718
+ "properties": {
8719
+ "version": {
8720
+ "const": 1
8721
+ },
8722
+ "levels": {
8723
+ "type": "array",
8724
+ "items": {
8725
+ "type": "object",
8726
+ "properties": {
8727
+ "level": {
8728
+ "type": "number"
8729
+ },
8730
+ "numFmt": {
8731
+ "type": "string"
8732
+ },
8733
+ "lvlText": {
8734
+ "type": "string"
8735
+ },
8736
+ "start": {
8737
+ "type": "number"
8738
+ },
8739
+ "alignment": {
8740
+ "oneOf": [
8741
+ {
8742
+ "const": "left"
8743
+ },
8744
+ {
8745
+ "const": "center"
8746
+ },
8747
+ {
8748
+ "const": "right"
8749
+ }
8750
+ ]
8751
+ },
8752
+ "indents": {
8753
+ "type": "object",
8754
+ "properties": {
8755
+ "left": {
8756
+ "type": "number"
8757
+ },
8758
+ "hanging": {
8759
+ "type": "number"
8760
+ },
8761
+ "firstLine": {
8762
+ "type": "number"
8763
+ }
8764
+ }
8765
+ },
8766
+ "trailingCharacter": {
8767
+ "oneOf": [
8768
+ {
8769
+ "const": "tab"
8770
+ },
8771
+ {
8772
+ "const": "space"
8773
+ },
8774
+ {
8775
+ "const": "nothing"
8776
+ }
8777
+ ]
8778
+ },
8779
+ "markerFont": {
8780
+ "type": "string"
8781
+ },
8782
+ "pictureBulletId": {
8783
+ "type": "number"
8784
+ }
8785
+ },
8786
+ "required": [
8787
+ "level"
8788
+ ]
8789
+ }
8790
+ }
8791
+ },
8792
+ "required": [
8793
+ "version",
8794
+ "levels"
8795
+ ]
8736
8796
  },
8737
- "start": {
8738
- "type": "number"
8797
+ "levels": {
8798
+ "type": "array",
8799
+ "items": {
8800
+ "type": "number"
8801
+ }
8739
8802
  },
8740
- "end": {
8741
- "type": "number"
8742
- }
8803
+ "input": {}
8743
8804
  },
8744
8805
  "additionalProperties": false
8745
8806
  }
8746
8807
  },
8747
8808
  {
8748
- "name": "patch_comment",
8749
- "description": "Patch fields on an existing comment (text, target, status, or isInternal).",
8809
+ "name": "apply_list_preset",
8810
+ "description": "Apply a built-in list formatting preset to the target list.",
8750
8811
  "input_schema": {
8751
8812
  "type": "object",
8752
8813
  "properties": {
@@ -8759,65 +8820,42 @@
8759
8820
  "force": {
8760
8821
  "type": "boolean"
8761
8822
  },
8762
- "id": {
8763
- "type": "string"
8764
- },
8765
- "text": {
8766
- "type": "string"
8767
- },
8768
8823
  "target": {
8769
8824
  "type": "object",
8770
8825
  "properties": {
8771
8826
  "kind": {
8772
- "const": "text"
8827
+ "const": "block"
8773
8828
  },
8774
- "blockId": {
8775
- "type": "string"
8829
+ "nodeType": {
8830
+ "const": "listItem"
8776
8831
  },
8777
- "range": {
8778
- "type": "object",
8779
- "properties": {
8780
- "start": {
8781
- "type": "number"
8782
- },
8783
- "end": {
8784
- "type": "number"
8785
- }
8786
- },
8787
- "required": [
8788
- "start",
8789
- "end"
8790
- ]
8832
+ "nodeId": {
8833
+ "type": "string"
8791
8834
  }
8792
8835
  },
8793
8836
  "required": [
8794
8837
  "kind",
8795
- "blockId",
8796
- "range"
8838
+ "nodeType",
8839
+ "nodeId"
8797
8840
  ]
8798
8841
  },
8799
- "status": {
8800
- "type": "string"
8801
- },
8802
- "isInternal": {
8803
- "type": "boolean"
8804
- },
8805
- "blockId": {
8842
+ "preset": {
8806
8843
  "type": "string"
8807
8844
  },
8808
- "start": {
8809
- "type": "number"
8845
+ "levels": {
8846
+ "type": "array",
8847
+ "items": {
8848
+ "type": "number"
8849
+ }
8810
8850
  },
8811
- "end": {
8812
- "type": "number"
8813
- }
8851
+ "input": {}
8814
8852
  },
8815
8853
  "additionalProperties": false
8816
8854
  }
8817
8855
  },
8818
8856
  {
8819
- "name": "delete_comment",
8820
- "description": "Remove a comment or reply by ID.",
8857
+ "name": "capture_list_template",
8858
+ "description": "Capture the formatting of a list as a reusable ListTemplate.",
8821
8859
  "input_schema": {
8822
8860
  "type": "object",
8823
8861
  "properties": {
@@ -8827,22 +8865,39 @@
8827
8865
  "sessionId": {
8828
8866
  "type": "string"
8829
8867
  },
8830
- "force": {
8831
- "type": "boolean"
8868
+ "target": {
8869
+ "type": "object",
8870
+ "properties": {
8871
+ "kind": {
8872
+ "const": "block"
8873
+ },
8874
+ "nodeType": {
8875
+ "const": "listItem"
8876
+ },
8877
+ "nodeId": {
8878
+ "type": "string"
8879
+ }
8880
+ },
8881
+ "required": [
8882
+ "kind",
8883
+ "nodeType",
8884
+ "nodeId"
8885
+ ]
8832
8886
  },
8833
- "id": {
8834
- "type": "string"
8835
- }
8887
+ "levels": {
8888
+ "type": "array",
8889
+ "items": {
8890
+ "type": "number"
8891
+ }
8892
+ },
8893
+ "input": {}
8836
8894
  },
8837
- "required": [
8838
- "id"
8839
- ],
8840
8895
  "additionalProperties": false
8841
8896
  }
8842
8897
  },
8843
8898
  {
8844
- "name": "get_comment",
8845
- "description": "Retrieve a single comment thread by ID.",
8899
+ "name": "set_list_level_numbering",
8900
+ "description": "Set the numbering format, pattern, and optional start value for a specific list level.",
8846
8901
  "input_schema": {
8847
8902
  "type": "object",
8848
8903
  "properties": {
@@ -8852,19 +8907,48 @@
8852
8907
  "sessionId": {
8853
8908
  "type": "string"
8854
8909
  },
8855
- "id": {
8910
+ "force": {
8911
+ "type": "boolean"
8912
+ },
8913
+ "target": {
8914
+ "type": "object",
8915
+ "properties": {
8916
+ "kind": {
8917
+ "const": "block"
8918
+ },
8919
+ "nodeType": {
8920
+ "const": "listItem"
8921
+ },
8922
+ "nodeId": {
8923
+ "type": "string"
8924
+ }
8925
+ },
8926
+ "required": [
8927
+ "kind",
8928
+ "nodeType",
8929
+ "nodeId"
8930
+ ]
8931
+ },
8932
+ "level": {
8933
+ "type": "number"
8934
+ },
8935
+ "numFmt": {
8856
8936
  "type": "string"
8857
- }
8937
+ },
8938
+ "lvlText": {
8939
+ "type": "string"
8940
+ },
8941
+ "start": {
8942
+ "type": "number"
8943
+ },
8944
+ "input": {}
8858
8945
  },
8859
- "required": [
8860
- "id"
8861
- ],
8862
8946
  "additionalProperties": false
8863
8947
  }
8864
8948
  },
8865
8949
  {
8866
- "name": "list_comments",
8867
- "description": "List all comment threads in the document.",
8950
+ "name": "set_list_level_bullet",
8951
+ "description": "Set the bullet marker text for a specific list level.",
8868
8952
  "input_schema": {
8869
8953
  "type": "object",
8870
8954
  "properties": {
@@ -8874,22 +8958,42 @@
8874
8958
  "sessionId": {
8875
8959
  "type": "string"
8876
8960
  },
8877
- "includeResolved": {
8961
+ "force": {
8878
8962
  "type": "boolean"
8879
8963
  },
8880
- "limit": {
8881
- "type": "number"
8964
+ "target": {
8965
+ "type": "object",
8966
+ "properties": {
8967
+ "kind": {
8968
+ "const": "block"
8969
+ },
8970
+ "nodeType": {
8971
+ "const": "listItem"
8972
+ },
8973
+ "nodeId": {
8974
+ "type": "string"
8975
+ }
8976
+ },
8977
+ "required": [
8978
+ "kind",
8979
+ "nodeType",
8980
+ "nodeId"
8981
+ ]
8882
8982
  },
8883
- "offset": {
8983
+ "level": {
8884
8984
  "type": "number"
8885
- }
8985
+ },
8986
+ "markerText": {
8987
+ "type": "string"
8988
+ },
8989
+ "input": {}
8886
8990
  },
8887
8991
  "additionalProperties": false
8888
8992
  }
8889
8993
  },
8890
8994
  {
8891
- "name": "list_tracked_changes",
8892
- "description": "List all tracked changes in the document.",
8995
+ "name": "set_list_level_picture_bullet",
8996
+ "description": "Set a picture bullet for a specific list level by its OOXML lvlPicBulletId.",
8893
8997
  "input_schema": {
8894
8998
  "type": "object",
8895
8999
  "properties": {
@@ -8899,16 +9003,497 @@
8899
9003
  "sessionId": {
8900
9004
  "type": "string"
8901
9005
  },
8902
- "limit": {
8903
- "type": "number"
8904
- },
8905
- "offset": {
8906
- "type": "number"
9006
+ "force": {
9007
+ "type": "boolean"
8907
9008
  },
8908
- "type": {
8909
- "type": "string"
8910
- }
8911
- },
9009
+ "target": {
9010
+ "type": "object",
9011
+ "properties": {
9012
+ "kind": {
9013
+ "const": "block"
9014
+ },
9015
+ "nodeType": {
9016
+ "const": "listItem"
9017
+ },
9018
+ "nodeId": {
9019
+ "type": "string"
9020
+ }
9021
+ },
9022
+ "required": [
9023
+ "kind",
9024
+ "nodeType",
9025
+ "nodeId"
9026
+ ]
9027
+ },
9028
+ "level": {
9029
+ "type": "number"
9030
+ },
9031
+ "pictureBulletId": {
9032
+ "type": "number"
9033
+ },
9034
+ "input": {}
9035
+ },
9036
+ "additionalProperties": false
9037
+ }
9038
+ },
9039
+ {
9040
+ "name": "set_list_level_alignment",
9041
+ "description": "Set the marker alignment (left, center, right) for a specific list level.",
9042
+ "input_schema": {
9043
+ "type": "object",
9044
+ "properties": {
9045
+ "doc": {
9046
+ "type": "string"
9047
+ },
9048
+ "sessionId": {
9049
+ "type": "string"
9050
+ },
9051
+ "force": {
9052
+ "type": "boolean"
9053
+ },
9054
+ "target": {
9055
+ "type": "object",
9056
+ "properties": {
9057
+ "kind": {
9058
+ "const": "block"
9059
+ },
9060
+ "nodeType": {
9061
+ "const": "listItem"
9062
+ },
9063
+ "nodeId": {
9064
+ "type": "string"
9065
+ }
9066
+ },
9067
+ "required": [
9068
+ "kind",
9069
+ "nodeType",
9070
+ "nodeId"
9071
+ ]
9072
+ },
9073
+ "level": {
9074
+ "type": "number"
9075
+ },
9076
+ "alignment": {
9077
+ "type": "string"
9078
+ },
9079
+ "input": {}
9080
+ },
9081
+ "additionalProperties": false
9082
+ }
9083
+ },
9084
+ {
9085
+ "name": "set_list_level_indents",
9086
+ "description": "Set the paragraph indentation values (left, hanging, firstLine) for a specific list level.",
9087
+ "input_schema": {
9088
+ "type": "object",
9089
+ "properties": {
9090
+ "doc": {
9091
+ "type": "string"
9092
+ },
9093
+ "sessionId": {
9094
+ "type": "string"
9095
+ },
9096
+ "force": {
9097
+ "type": "boolean"
9098
+ },
9099
+ "target": {
9100
+ "type": "object",
9101
+ "properties": {
9102
+ "kind": {
9103
+ "const": "block"
9104
+ },
9105
+ "nodeType": {
9106
+ "const": "listItem"
9107
+ },
9108
+ "nodeId": {
9109
+ "type": "string"
9110
+ }
9111
+ },
9112
+ "required": [
9113
+ "kind",
9114
+ "nodeType",
9115
+ "nodeId"
9116
+ ]
9117
+ },
9118
+ "level": {
9119
+ "type": "number"
9120
+ },
9121
+ "left": {
9122
+ "type": "number"
9123
+ },
9124
+ "hanging": {
9125
+ "type": "number"
9126
+ },
9127
+ "firstLine": {
9128
+ "type": "number"
9129
+ },
9130
+ "input": {}
9131
+ },
9132
+ "additionalProperties": false
9133
+ }
9134
+ },
9135
+ {
9136
+ "name": "set_list_level_trailing_character",
9137
+ "description": "Set the trailing character (tab, space, nothing) after the marker for a specific list level.",
9138
+ "input_schema": {
9139
+ "type": "object",
9140
+ "properties": {
9141
+ "doc": {
9142
+ "type": "string"
9143
+ },
9144
+ "sessionId": {
9145
+ "type": "string"
9146
+ },
9147
+ "force": {
9148
+ "type": "boolean"
9149
+ },
9150
+ "target": {
9151
+ "type": "object",
9152
+ "properties": {
9153
+ "kind": {
9154
+ "const": "block"
9155
+ },
9156
+ "nodeType": {
9157
+ "const": "listItem"
9158
+ },
9159
+ "nodeId": {
9160
+ "type": "string"
9161
+ }
9162
+ },
9163
+ "required": [
9164
+ "kind",
9165
+ "nodeType",
9166
+ "nodeId"
9167
+ ]
9168
+ },
9169
+ "level": {
9170
+ "type": "number"
9171
+ },
9172
+ "trailingCharacter": {
9173
+ "type": "string"
9174
+ },
9175
+ "input": {}
9176
+ },
9177
+ "additionalProperties": false
9178
+ }
9179
+ },
9180
+ {
9181
+ "name": "set_list_level_marker_font",
9182
+ "description": "Set the font family used for the marker character at a specific list level.",
9183
+ "input_schema": {
9184
+ "type": "object",
9185
+ "properties": {
9186
+ "doc": {
9187
+ "type": "string"
9188
+ },
9189
+ "sessionId": {
9190
+ "type": "string"
9191
+ },
9192
+ "force": {
9193
+ "type": "boolean"
9194
+ },
9195
+ "target": {
9196
+ "type": "object",
9197
+ "properties": {
9198
+ "kind": {
9199
+ "const": "block"
9200
+ },
9201
+ "nodeType": {
9202
+ "const": "listItem"
9203
+ },
9204
+ "nodeId": {
9205
+ "type": "string"
9206
+ }
9207
+ },
9208
+ "required": [
9209
+ "kind",
9210
+ "nodeType",
9211
+ "nodeId"
9212
+ ]
9213
+ },
9214
+ "level": {
9215
+ "type": "number"
9216
+ },
9217
+ "fontFamily": {
9218
+ "type": "string"
9219
+ },
9220
+ "input": {}
9221
+ },
9222
+ "additionalProperties": false
9223
+ }
9224
+ },
9225
+ {
9226
+ "name": "clear_list_level_overrides",
9227
+ "description": "Remove instance-level overrides for a specific list level, restoring abstract definition values.",
9228
+ "input_schema": {
9229
+ "type": "object",
9230
+ "properties": {
9231
+ "doc": {
9232
+ "type": "string"
9233
+ },
9234
+ "sessionId": {
9235
+ "type": "string"
9236
+ },
9237
+ "force": {
9238
+ "type": "boolean"
9239
+ },
9240
+ "target": {
9241
+ "type": "object",
9242
+ "properties": {
9243
+ "kind": {
9244
+ "const": "block"
9245
+ },
9246
+ "nodeType": {
9247
+ "const": "listItem"
9248
+ },
9249
+ "nodeId": {
9250
+ "type": "string"
9251
+ }
9252
+ },
9253
+ "required": [
9254
+ "kind",
9255
+ "nodeType",
9256
+ "nodeId"
9257
+ ]
9258
+ },
9259
+ "level": {
9260
+ "type": "number"
9261
+ },
9262
+ "input": {}
9263
+ },
9264
+ "additionalProperties": false
9265
+ }
9266
+ },
9267
+ {
9268
+ "name": "create_comment",
9269
+ "description": "Create a new comment thread (or reply when parentCommentId is given).",
9270
+ "input_schema": {
9271
+ "type": "object",
9272
+ "properties": {
9273
+ "doc": {
9274
+ "type": "string"
9275
+ },
9276
+ "sessionId": {
9277
+ "type": "string"
9278
+ },
9279
+ "force": {
9280
+ "type": "boolean"
9281
+ },
9282
+ "text": {
9283
+ "type": "string"
9284
+ },
9285
+ "target": {
9286
+ "type": "object",
9287
+ "properties": {
9288
+ "kind": {
9289
+ "const": "text"
9290
+ },
9291
+ "blockId": {
9292
+ "type": "string"
9293
+ },
9294
+ "range": {
9295
+ "type": "object",
9296
+ "properties": {
9297
+ "start": {
9298
+ "type": "number"
9299
+ },
9300
+ "end": {
9301
+ "type": "number"
9302
+ }
9303
+ },
9304
+ "required": [
9305
+ "start",
9306
+ "end"
9307
+ ]
9308
+ }
9309
+ },
9310
+ "required": [
9311
+ "kind",
9312
+ "blockId",
9313
+ "range"
9314
+ ]
9315
+ },
9316
+ "parentId": {
9317
+ "type": "string"
9318
+ },
9319
+ "blockId": {
9320
+ "type": "string"
9321
+ },
9322
+ "start": {
9323
+ "type": "number"
9324
+ },
9325
+ "end": {
9326
+ "type": "number"
9327
+ }
9328
+ },
9329
+ "additionalProperties": false
9330
+ }
9331
+ },
9332
+ {
9333
+ "name": "patch_comment",
9334
+ "description": "Patch fields on an existing comment (text, target, status, or isInternal).",
9335
+ "input_schema": {
9336
+ "type": "object",
9337
+ "properties": {
9338
+ "doc": {
9339
+ "type": "string"
9340
+ },
9341
+ "sessionId": {
9342
+ "type": "string"
9343
+ },
9344
+ "force": {
9345
+ "type": "boolean"
9346
+ },
9347
+ "id": {
9348
+ "type": "string"
9349
+ },
9350
+ "text": {
9351
+ "type": "string"
9352
+ },
9353
+ "target": {
9354
+ "type": "object",
9355
+ "properties": {
9356
+ "kind": {
9357
+ "const": "text"
9358
+ },
9359
+ "blockId": {
9360
+ "type": "string"
9361
+ },
9362
+ "range": {
9363
+ "type": "object",
9364
+ "properties": {
9365
+ "start": {
9366
+ "type": "number"
9367
+ },
9368
+ "end": {
9369
+ "type": "number"
9370
+ }
9371
+ },
9372
+ "required": [
9373
+ "start",
9374
+ "end"
9375
+ ]
9376
+ }
9377
+ },
9378
+ "required": [
9379
+ "kind",
9380
+ "blockId",
9381
+ "range"
9382
+ ]
9383
+ },
9384
+ "status": {
9385
+ "type": "string"
9386
+ },
9387
+ "isInternal": {
9388
+ "type": "boolean"
9389
+ },
9390
+ "blockId": {
9391
+ "type": "string"
9392
+ },
9393
+ "start": {
9394
+ "type": "number"
9395
+ },
9396
+ "end": {
9397
+ "type": "number"
9398
+ }
9399
+ },
9400
+ "additionalProperties": false
9401
+ }
9402
+ },
9403
+ {
9404
+ "name": "delete_comment",
9405
+ "description": "Remove a comment or reply by ID.",
9406
+ "input_schema": {
9407
+ "type": "object",
9408
+ "properties": {
9409
+ "doc": {
9410
+ "type": "string"
9411
+ },
9412
+ "sessionId": {
9413
+ "type": "string"
9414
+ },
9415
+ "force": {
9416
+ "type": "boolean"
9417
+ },
9418
+ "id": {
9419
+ "type": "string"
9420
+ }
9421
+ },
9422
+ "required": [
9423
+ "id"
9424
+ ],
9425
+ "additionalProperties": false
9426
+ }
9427
+ },
9428
+ {
9429
+ "name": "get_comment",
9430
+ "description": "Retrieve a single comment thread by ID.",
9431
+ "input_schema": {
9432
+ "type": "object",
9433
+ "properties": {
9434
+ "doc": {
9435
+ "type": "string"
9436
+ },
9437
+ "sessionId": {
9438
+ "type": "string"
9439
+ },
9440
+ "id": {
9441
+ "type": "string"
9442
+ }
9443
+ },
9444
+ "required": [
9445
+ "id"
9446
+ ],
9447
+ "additionalProperties": false
9448
+ }
9449
+ },
9450
+ {
9451
+ "name": "list_comments",
9452
+ "description": "List all comment threads in the document.",
9453
+ "input_schema": {
9454
+ "type": "object",
9455
+ "properties": {
9456
+ "doc": {
9457
+ "type": "string"
9458
+ },
9459
+ "sessionId": {
9460
+ "type": "string"
9461
+ },
9462
+ "includeResolved": {
9463
+ "type": "boolean"
9464
+ },
9465
+ "limit": {
9466
+ "type": "number"
9467
+ },
9468
+ "offset": {
9469
+ "type": "number"
9470
+ }
9471
+ },
9472
+ "additionalProperties": false
9473
+ }
9474
+ },
9475
+ {
9476
+ "name": "list_tracked_changes",
9477
+ "description": "List all tracked changes in the document.",
9478
+ "input_schema": {
9479
+ "type": "object",
9480
+ "properties": {
9481
+ "doc": {
9482
+ "type": "string"
9483
+ },
9484
+ "sessionId": {
9485
+ "type": "string"
9486
+ },
9487
+ "limit": {
9488
+ "type": "number"
9489
+ },
9490
+ "offset": {
9491
+ "type": "number"
9492
+ },
9493
+ "type": {
9494
+ "type": "string"
9495
+ }
9496
+ },
8912
9497
  "additionalProperties": false
8913
9498
  }
8914
9499
  },
@@ -19584,21 +20169,188 @@
19584
20169
  "doc": {
19585
20170
  "type": "string"
19586
20171
  },
19587
- "sessionId": {
20172
+ "sessionId": {
20173
+ "type": "string"
20174
+ },
20175
+ "force": {
20176
+ "type": "boolean"
20177
+ },
20178
+ "target": {},
20179
+ "patch": {}
20180
+ },
20181
+ "additionalProperties": false
20182
+ }
20183
+ },
20184
+ {
20185
+ "name": "doc_create_paragraph",
20186
+ "description": "Create a new paragraph at the target position.",
20187
+ "input_schema": {
20188
+ "type": "object",
20189
+ "properties": {
20190
+ "doc": {
20191
+ "type": "string"
20192
+ },
20193
+ "sessionId": {
20194
+ "type": "string"
20195
+ },
20196
+ "force": {
20197
+ "type": "boolean"
20198
+ },
20199
+ "at": {
20200
+ "oneOf": [
20201
+ {
20202
+ "type": "object",
20203
+ "properties": {
20204
+ "kind": {
20205
+ "const": "documentStart"
20206
+ }
20207
+ },
20208
+ "required": [
20209
+ "kind"
20210
+ ]
20211
+ },
20212
+ {
20213
+ "type": "object",
20214
+ "properties": {
20215
+ "kind": {
20216
+ "const": "documentEnd"
20217
+ }
20218
+ },
20219
+ "required": [
20220
+ "kind"
20221
+ ]
20222
+ },
20223
+ {
20224
+ "type": "object",
20225
+ "properties": {
20226
+ "kind": {
20227
+ "const": "before"
20228
+ },
20229
+ "target": {
20230
+ "type": "object",
20231
+ "properties": {
20232
+ "kind": {
20233
+ "const": "block"
20234
+ },
20235
+ "nodeType": {
20236
+ "oneOf": [
20237
+ {
20238
+ "const": "paragraph"
20239
+ },
20240
+ {
20241
+ "const": "heading"
20242
+ },
20243
+ {
20244
+ "const": "listItem"
20245
+ },
20246
+ {
20247
+ "const": "table"
20248
+ },
20249
+ {
20250
+ "const": "tableRow"
20251
+ },
20252
+ {
20253
+ "const": "tableCell"
20254
+ },
20255
+ {
20256
+ "const": "tableOfContents"
20257
+ },
20258
+ {
20259
+ "const": "image"
20260
+ },
20261
+ {
20262
+ "const": "sdt"
20263
+ }
20264
+ ]
20265
+ },
20266
+ "nodeId": {
20267
+ "type": "string"
20268
+ }
20269
+ },
20270
+ "required": [
20271
+ "kind",
20272
+ "nodeType",
20273
+ "nodeId"
20274
+ ]
20275
+ }
20276
+ },
20277
+ "required": [
20278
+ "kind",
20279
+ "target"
20280
+ ]
20281
+ },
20282
+ {
20283
+ "type": "object",
20284
+ "properties": {
20285
+ "kind": {
20286
+ "const": "after"
20287
+ },
20288
+ "target": {
20289
+ "type": "object",
20290
+ "properties": {
20291
+ "kind": {
20292
+ "const": "block"
20293
+ },
20294
+ "nodeType": {
20295
+ "oneOf": [
20296
+ {
20297
+ "const": "paragraph"
20298
+ },
20299
+ {
20300
+ "const": "heading"
20301
+ },
20302
+ {
20303
+ "const": "listItem"
20304
+ },
20305
+ {
20306
+ "const": "table"
20307
+ },
20308
+ {
20309
+ "const": "tableRow"
20310
+ },
20311
+ {
20312
+ "const": "tableCell"
20313
+ },
20314
+ {
20315
+ "const": "tableOfContents"
20316
+ },
20317
+ {
20318
+ "const": "image"
20319
+ },
20320
+ {
20321
+ "const": "sdt"
20322
+ }
20323
+ ]
20324
+ },
20325
+ "nodeId": {
20326
+ "type": "string"
20327
+ }
20328
+ },
20329
+ "required": [
20330
+ "kind",
20331
+ "nodeType",
20332
+ "nodeId"
20333
+ ]
20334
+ }
20335
+ },
20336
+ "required": [
20337
+ "kind",
20338
+ "target"
20339
+ ]
20340
+ }
20341
+ ]
20342
+ },
20343
+ "text": {
19588
20344
  "type": "string"
19589
20345
  },
19590
- "force": {
19591
- "type": "boolean"
19592
- },
19593
- "target": {},
19594
- "patch": {}
20346
+ "input": {}
19595
20347
  },
19596
20348
  "additionalProperties": false
19597
20349
  }
19598
20350
  },
19599
20351
  {
19600
- "name": "doc_create_paragraph",
19601
- "description": "Create a new paragraph at the target position.",
20352
+ "name": "doc_create_heading",
20353
+ "description": "Create a new heading at the target position.",
19602
20354
  "input_schema": {
19603
20355
  "type": "object",
19604
20356
  "properties": {
@@ -19611,6 +20363,9 @@
19611
20363
  "force": {
19612
20364
  "type": "boolean"
19613
20365
  },
20366
+ "level": {
20367
+ "type": "number"
20368
+ },
19614
20369
  "at": {
19615
20370
  "oneOf": [
19616
20371
  {
@@ -19764,8 +20519,8 @@
19764
20519
  }
19765
20520
  },
19766
20521
  {
19767
- "name": "doc_create_heading",
19768
- "description": "Create a new heading at the target position.",
20522
+ "name": "doc_create_sectionBreak",
20523
+ "description": "Create a section break at the target location with optional initial section properties.",
19769
20524
  "input_schema": {
19770
20525
  "type": "object",
19771
20526
  "properties": {
@@ -19778,9 +20533,6 @@
19778
20533
  "force": {
19779
20534
  "type": "boolean"
19780
20535
  },
19781
- "level": {
19782
- "type": "number"
19783
- },
19784
20536
  "at": {
19785
20537
  "oneOf": [
19786
20538
  {
@@ -19925,17 +20677,239 @@
19925
20677
  }
19926
20678
  ]
19927
20679
  },
19928
- "text": {
20680
+ "breakType": {
19929
20681
  "type": "string"
19930
20682
  },
19931
- "input": {}
20683
+ "pageMargins": {
20684
+ "type": "object",
20685
+ "properties": {
20686
+ "top": {
20687
+ "type": "number"
20688
+ },
20689
+ "right": {
20690
+ "type": "number"
20691
+ },
20692
+ "bottom": {
20693
+ "type": "number"
20694
+ },
20695
+ "left": {
20696
+ "type": "number"
20697
+ },
20698
+ "gutter": {
20699
+ "type": "number"
20700
+ }
20701
+ }
20702
+ },
20703
+ "headerFooterMargins": {
20704
+ "type": "object",
20705
+ "properties": {
20706
+ "header": {
20707
+ "type": "number"
20708
+ },
20709
+ "footer": {
20710
+ "type": "number"
20711
+ }
20712
+ }
20713
+ }
20714
+ },
20715
+ "additionalProperties": false
20716
+ }
20717
+ },
20718
+ {
20719
+ "name": "doc_sections_list",
20720
+ "description": "List sections in deterministic order with section-target handles.",
20721
+ "input_schema": {
20722
+ "type": "object",
20723
+ "properties": {
20724
+ "doc": {
20725
+ "type": "string"
20726
+ },
20727
+ "sessionId": {
20728
+ "type": "string"
20729
+ },
20730
+ "limit": {
20731
+ "type": "number"
20732
+ },
20733
+ "offset": {
20734
+ "type": "number"
20735
+ }
20736
+ },
20737
+ "additionalProperties": false
20738
+ }
20739
+ },
20740
+ {
20741
+ "name": "doc_sections_get",
20742
+ "description": "Retrieve full section information by section address.",
20743
+ "input_schema": {
20744
+ "type": "object",
20745
+ "properties": {
20746
+ "doc": {
20747
+ "type": "string"
20748
+ },
20749
+ "sessionId": {
20750
+ "type": "string"
20751
+ },
20752
+ "address": {
20753
+ "type": "object",
20754
+ "properties": {
20755
+ "kind": {
20756
+ "const": "section"
20757
+ },
20758
+ "sectionId": {
20759
+ "type": "string"
20760
+ }
20761
+ },
20762
+ "required": [
20763
+ "kind",
20764
+ "sectionId"
20765
+ ]
20766
+ }
20767
+ },
20768
+ "required": [
20769
+ "address"
20770
+ ],
20771
+ "additionalProperties": false
20772
+ }
20773
+ },
20774
+ {
20775
+ "name": "doc_sections_setBreakType",
20776
+ "description": "Set the section break type.",
20777
+ "input_schema": {
20778
+ "type": "object",
20779
+ "properties": {
20780
+ "doc": {
20781
+ "type": "string"
20782
+ },
20783
+ "sessionId": {
20784
+ "type": "string"
20785
+ },
20786
+ "force": {
20787
+ "type": "boolean"
20788
+ },
20789
+ "target": {
20790
+ "type": "object",
20791
+ "properties": {
20792
+ "kind": {
20793
+ "const": "section"
20794
+ },
20795
+ "sectionId": {
20796
+ "type": "string"
20797
+ }
20798
+ },
20799
+ "required": [
20800
+ "kind",
20801
+ "sectionId"
20802
+ ]
20803
+ },
20804
+ "breakType": {
20805
+ "type": "string"
20806
+ }
20807
+ },
20808
+ "required": [
20809
+ "target",
20810
+ "breakType"
20811
+ ],
20812
+ "additionalProperties": false
20813
+ }
20814
+ },
20815
+ {
20816
+ "name": "doc_sections_setPageMargins",
20817
+ "description": "Set page-edge margins for a section.",
20818
+ "input_schema": {
20819
+ "type": "object",
20820
+ "properties": {
20821
+ "doc": {
20822
+ "type": "string"
20823
+ },
20824
+ "sessionId": {
20825
+ "type": "string"
20826
+ },
20827
+ "force": {
20828
+ "type": "boolean"
20829
+ },
20830
+ "target": {
20831
+ "type": "object",
20832
+ "properties": {
20833
+ "kind": {
20834
+ "const": "section"
20835
+ },
20836
+ "sectionId": {
20837
+ "type": "string"
20838
+ }
20839
+ },
20840
+ "required": [
20841
+ "kind",
20842
+ "sectionId"
20843
+ ]
20844
+ },
20845
+ "top": {
20846
+ "type": "number"
20847
+ },
20848
+ "right": {
20849
+ "type": "number"
20850
+ },
20851
+ "bottom": {
20852
+ "type": "number"
20853
+ },
20854
+ "left": {
20855
+ "type": "number"
20856
+ },
20857
+ "gutter": {
20858
+ "type": "number"
20859
+ }
20860
+ },
20861
+ "required": [
20862
+ "target"
20863
+ ],
20864
+ "additionalProperties": false
20865
+ }
20866
+ },
20867
+ {
20868
+ "name": "doc_sections_setHeaderFooterMargins",
20869
+ "description": "Set header/footer margin distances for a section.",
20870
+ "input_schema": {
20871
+ "type": "object",
20872
+ "properties": {
20873
+ "doc": {
20874
+ "type": "string"
20875
+ },
20876
+ "sessionId": {
20877
+ "type": "string"
20878
+ },
20879
+ "force": {
20880
+ "type": "boolean"
20881
+ },
20882
+ "target": {
20883
+ "type": "object",
20884
+ "properties": {
20885
+ "kind": {
20886
+ "const": "section"
20887
+ },
20888
+ "sectionId": {
20889
+ "type": "string"
20890
+ }
20891
+ },
20892
+ "required": [
20893
+ "kind",
20894
+ "sectionId"
20895
+ ]
20896
+ },
20897
+ "header": {
20898
+ "type": "number"
20899
+ },
20900
+ "footer": {
20901
+ "type": "number"
20902
+ }
19932
20903
  },
20904
+ "required": [
20905
+ "target"
20906
+ ],
19933
20907
  "additionalProperties": false
19934
20908
  }
19935
20909
  },
19936
20910
  {
19937
- "name": "doc_create_sectionBreak",
19938
- "description": "Create a section break at the target location with optional initial section properties.",
20911
+ "name": "doc_sections_setPageSetup",
20912
+ "description": "Set page size/orientation properties for a section.",
19939
20913
  "input_schema": {
19940
20914
  "type": "object",
19941
20915
  "properties": {
@@ -19948,191 +20922,43 @@
19948
20922
  "force": {
19949
20923
  "type": "boolean"
19950
20924
  },
19951
- "at": {
19952
- "oneOf": [
19953
- {
19954
- "type": "object",
19955
- "properties": {
19956
- "kind": {
19957
- "const": "documentStart"
19958
- }
19959
- },
19960
- "required": [
19961
- "kind"
19962
- ]
19963
- },
19964
- {
19965
- "type": "object",
19966
- "properties": {
19967
- "kind": {
19968
- "const": "documentEnd"
19969
- }
19970
- },
19971
- "required": [
19972
- "kind"
19973
- ]
19974
- },
19975
- {
19976
- "type": "object",
19977
- "properties": {
19978
- "kind": {
19979
- "const": "before"
19980
- },
19981
- "target": {
19982
- "type": "object",
19983
- "properties": {
19984
- "kind": {
19985
- "const": "block"
19986
- },
19987
- "nodeType": {
19988
- "oneOf": [
19989
- {
19990
- "const": "paragraph"
19991
- },
19992
- {
19993
- "const": "heading"
19994
- },
19995
- {
19996
- "const": "listItem"
19997
- },
19998
- {
19999
- "const": "table"
20000
- },
20001
- {
20002
- "const": "tableRow"
20003
- },
20004
- {
20005
- "const": "tableCell"
20006
- },
20007
- {
20008
- "const": "tableOfContents"
20009
- },
20010
- {
20011
- "const": "image"
20012
- },
20013
- {
20014
- "const": "sdt"
20015
- }
20016
- ]
20017
- },
20018
- "nodeId": {
20019
- "type": "string"
20020
- }
20021
- },
20022
- "required": [
20023
- "kind",
20024
- "nodeType",
20025
- "nodeId"
20026
- ]
20027
- }
20028
- },
20029
- "required": [
20030
- "kind",
20031
- "target"
20032
- ]
20925
+ "target": {
20926
+ "type": "object",
20927
+ "properties": {
20928
+ "kind": {
20929
+ "const": "section"
20033
20930
  },
20034
- {
20035
- "type": "object",
20036
- "properties": {
20037
- "kind": {
20038
- "const": "after"
20039
- },
20040
- "target": {
20041
- "type": "object",
20042
- "properties": {
20043
- "kind": {
20044
- "const": "block"
20045
- },
20046
- "nodeType": {
20047
- "oneOf": [
20048
- {
20049
- "const": "paragraph"
20050
- },
20051
- {
20052
- "const": "heading"
20053
- },
20054
- {
20055
- "const": "listItem"
20056
- },
20057
- {
20058
- "const": "table"
20059
- },
20060
- {
20061
- "const": "tableRow"
20062
- },
20063
- {
20064
- "const": "tableCell"
20065
- },
20066
- {
20067
- "const": "tableOfContents"
20068
- },
20069
- {
20070
- "const": "image"
20071
- },
20072
- {
20073
- "const": "sdt"
20074
- }
20075
- ]
20076
- },
20077
- "nodeId": {
20078
- "type": "string"
20079
- }
20080
- },
20081
- "required": [
20082
- "kind",
20083
- "nodeType",
20084
- "nodeId"
20085
- ]
20086
- }
20087
- },
20088
- "required": [
20089
- "kind",
20090
- "target"
20091
- ]
20931
+ "sectionId": {
20932
+ "type": "string"
20092
20933
  }
20934
+ },
20935
+ "required": [
20936
+ "kind",
20937
+ "sectionId"
20093
20938
  ]
20094
20939
  },
20095
- "breakType": {
20096
- "type": "string"
20940
+ "width": {
20941
+ "type": "number"
20097
20942
  },
20098
- "pageMargins": {
20099
- "type": "object",
20100
- "properties": {
20101
- "top": {
20102
- "type": "number"
20103
- },
20104
- "right": {
20105
- "type": "number"
20106
- },
20107
- "bottom": {
20108
- "type": "number"
20109
- },
20110
- "left": {
20111
- "type": "number"
20112
- },
20113
- "gutter": {
20114
- "type": "number"
20115
- }
20116
- }
20943
+ "height": {
20944
+ "type": "number"
20117
20945
  },
20118
- "headerFooterMargins": {
20119
- "type": "object",
20120
- "properties": {
20121
- "header": {
20122
- "type": "number"
20123
- },
20124
- "footer": {
20125
- "type": "number"
20126
- }
20127
- }
20946
+ "orientation": {
20947
+ "type": "string"
20948
+ },
20949
+ "paperSize": {
20950
+ "type": "string"
20128
20951
  }
20129
20952
  },
20953
+ "required": [
20954
+ "target"
20955
+ ],
20130
20956
  "additionalProperties": false
20131
20957
  }
20132
20958
  },
20133
20959
  {
20134
- "name": "doc_sections_list",
20135
- "description": "List sections in deterministic order with section-target handles.",
20960
+ "name": "doc_sections_setColumns",
20961
+ "description": "Set column configuration for a section.",
20136
20962
  "input_schema": {
20137
20963
  "type": "object",
20138
20964
  "properties": {
@@ -20142,19 +20968,43 @@
20142
20968
  "sessionId": {
20143
20969
  "type": "string"
20144
20970
  },
20145
- "limit": {
20971
+ "force": {
20972
+ "type": "boolean"
20973
+ },
20974
+ "target": {
20975
+ "type": "object",
20976
+ "properties": {
20977
+ "kind": {
20978
+ "const": "section"
20979
+ },
20980
+ "sectionId": {
20981
+ "type": "string"
20982
+ }
20983
+ },
20984
+ "required": [
20985
+ "kind",
20986
+ "sectionId"
20987
+ ]
20988
+ },
20989
+ "count": {
20146
20990
  "type": "number"
20147
20991
  },
20148
- "offset": {
20992
+ "gap": {
20149
20993
  "type": "number"
20994
+ },
20995
+ "equalWidth": {
20996
+ "type": "boolean"
20150
20997
  }
20151
20998
  },
20999
+ "required": [
21000
+ "target"
21001
+ ],
20152
21002
  "additionalProperties": false
20153
21003
  }
20154
21004
  },
20155
21005
  {
20156
- "name": "doc_sections_get",
20157
- "description": "Retrieve full section information by section address.",
21006
+ "name": "doc_sections_setLineNumbering",
21007
+ "description": "Enable or configure line numbering for a section.",
20158
21008
  "input_schema": {
20159
21009
  "type": "object",
20160
21010
  "properties": {
@@ -20164,7 +21014,10 @@
20164
21014
  "sessionId": {
20165
21015
  "type": "string"
20166
21016
  },
20167
- "address": {
21017
+ "force": {
21018
+ "type": "boolean"
21019
+ },
21020
+ "target": {
20168
21021
  "type": "object",
20169
21022
  "properties": {
20170
21023
  "kind": {
@@ -20178,17 +21031,33 @@
20178
21031
  "kind",
20179
21032
  "sectionId"
20180
21033
  ]
21034
+ },
21035
+ "enabled": {
21036
+ "type": "boolean"
21037
+ },
21038
+ "countBy": {
21039
+ "type": "number"
21040
+ },
21041
+ "start": {
21042
+ "type": "number"
21043
+ },
21044
+ "distance": {
21045
+ "type": "number"
21046
+ },
21047
+ "restart": {
21048
+ "type": "string"
20181
21049
  }
20182
21050
  },
20183
21051
  "required": [
20184
- "address"
21052
+ "target",
21053
+ "enabled"
20185
21054
  ],
20186
21055
  "additionalProperties": false
20187
21056
  }
20188
21057
  },
20189
21058
  {
20190
- "name": "doc_sections_setBreakType",
20191
- "description": "Set the section break type.",
21059
+ "name": "doc_sections_setPageNumbering",
21060
+ "description": "Set page numbering format/start for a section.",
20192
21061
  "input_schema": {
20193
21062
  "type": "object",
20194
21063
  "properties": {
@@ -20216,20 +21085,22 @@
20216
21085
  "sectionId"
20217
21086
  ]
20218
21087
  },
20219
- "breakType": {
21088
+ "start": {
21089
+ "type": "number"
21090
+ },
21091
+ "format": {
20220
21092
  "type": "string"
20221
21093
  }
20222
21094
  },
20223
21095
  "required": [
20224
- "target",
20225
- "breakType"
21096
+ "target"
20226
21097
  ],
20227
21098
  "additionalProperties": false
20228
21099
  }
20229
21100
  },
20230
21101
  {
20231
- "name": "doc_sections_setPageMargins",
20232
- "description": "Set page-edge margins for a section.",
21102
+ "name": "doc_sections_setTitlePage",
21103
+ "description": "Enable or disable title-page behavior for a section.",
20233
21104
  "input_schema": {
20234
21105
  "type": "object",
20235
21106
  "properties": {
@@ -20257,31 +21128,20 @@
20257
21128
  "sectionId"
20258
21129
  ]
20259
21130
  },
20260
- "top": {
20261
- "type": "number"
20262
- },
20263
- "right": {
20264
- "type": "number"
20265
- },
20266
- "bottom": {
20267
- "type": "number"
20268
- },
20269
- "left": {
20270
- "type": "number"
20271
- },
20272
- "gutter": {
20273
- "type": "number"
21131
+ "enabled": {
21132
+ "type": "boolean"
20274
21133
  }
20275
21134
  },
20276
21135
  "required": [
20277
- "target"
21136
+ "target",
21137
+ "enabled"
20278
21138
  ],
20279
21139
  "additionalProperties": false
20280
21140
  }
20281
21141
  },
20282
21142
  {
20283
- "name": "doc_sections_setHeaderFooterMargins",
20284
- "description": "Set header/footer margin distances for a section.",
21143
+ "name": "doc_sections_setOddEvenHeadersFooters",
21144
+ "description": "Enable or disable odd/even header-footer mode in document settings.",
20285
21145
  "input_schema": {
20286
21146
  "type": "object",
20287
21147
  "properties": {
@@ -20294,37 +21154,19 @@
20294
21154
  "force": {
20295
21155
  "type": "boolean"
20296
21156
  },
20297
- "target": {
20298
- "type": "object",
20299
- "properties": {
20300
- "kind": {
20301
- "const": "section"
20302
- },
20303
- "sectionId": {
20304
- "type": "string"
20305
- }
20306
- },
20307
- "required": [
20308
- "kind",
20309
- "sectionId"
20310
- ]
20311
- },
20312
- "header": {
20313
- "type": "number"
20314
- },
20315
- "footer": {
20316
- "type": "number"
21157
+ "enabled": {
21158
+ "type": "boolean"
20317
21159
  }
20318
21160
  },
20319
21161
  "required": [
20320
- "target"
21162
+ "enabled"
20321
21163
  ],
20322
21164
  "additionalProperties": false
20323
21165
  }
20324
21166
  },
20325
21167
  {
20326
- "name": "doc_sections_setPageSetup",
20327
- "description": "Set page size/orientation properties for a section.",
21168
+ "name": "doc_sections_setVerticalAlign",
21169
+ "description": "Set vertical page alignment for a section.",
20328
21170
  "input_schema": {
20329
21171
  "type": "object",
20330
21172
  "properties": {
@@ -20352,28 +21194,20 @@
20352
21194
  "sectionId"
20353
21195
  ]
20354
21196
  },
20355
- "width": {
20356
- "type": "number"
20357
- },
20358
- "height": {
20359
- "type": "number"
20360
- },
20361
- "orientation": {
20362
- "type": "string"
20363
- },
20364
- "paperSize": {
21197
+ "value": {
20365
21198
  "type": "string"
20366
21199
  }
20367
21200
  },
20368
21201
  "required": [
20369
- "target"
21202
+ "target",
21203
+ "value"
20370
21204
  ],
20371
21205
  "additionalProperties": false
20372
21206
  }
20373
21207
  },
20374
21208
  {
20375
- "name": "doc_sections_setColumns",
20376
- "description": "Set column configuration for a section.",
21209
+ "name": "doc_sections_setSectionDirection",
21210
+ "description": "Set section text flow direction (LTR/RTL).",
20377
21211
  "input_schema": {
20378
21212
  "type": "object",
20379
21213
  "properties": {
@@ -20401,25 +21235,20 @@
20401
21235
  "sectionId"
20402
21236
  ]
20403
21237
  },
20404
- "count": {
20405
- "type": "number"
20406
- },
20407
- "gap": {
20408
- "type": "number"
20409
- },
20410
- "equalWidth": {
20411
- "type": "boolean"
21238
+ "direction": {
21239
+ "type": "string"
20412
21240
  }
20413
21241
  },
20414
21242
  "required": [
20415
- "target"
21243
+ "target",
21244
+ "direction"
20416
21245
  ],
20417
21246
  "additionalProperties": false
20418
21247
  }
20419
21248
  },
20420
21249
  {
20421
- "name": "doc_sections_setLineNumbering",
20422
- "description": "Enable or configure line numbering for a section.",
21250
+ "name": "doc_sections_setHeaderFooterRef",
21251
+ "description": "Set or replace a section header/footer reference for a variant.",
20423
21252
  "input_schema": {
20424
21253
  "type": "object",
20425
21254
  "properties": {
@@ -20447,32 +21276,28 @@
20447
21276
  "sectionId"
20448
21277
  ]
20449
21278
  },
20450
- "enabled": {
20451
- "type": "boolean"
20452
- },
20453
- "countBy": {
20454
- "type": "number"
20455
- },
20456
- "start": {
20457
- "type": "number"
21279
+ "kind": {
21280
+ "type": "string"
20458
21281
  },
20459
- "distance": {
20460
- "type": "number"
21282
+ "variant": {
21283
+ "type": "string"
20461
21284
  },
20462
- "restart": {
21285
+ "refId": {
20463
21286
  "type": "string"
20464
21287
  }
20465
21288
  },
20466
21289
  "required": [
20467
21290
  "target",
20468
- "enabled"
21291
+ "kind",
21292
+ "variant",
21293
+ "refId"
20469
21294
  ],
20470
21295
  "additionalProperties": false
20471
21296
  }
20472
21297
  },
20473
21298
  {
20474
- "name": "doc_sections_setPageNumbering",
20475
- "description": "Set page numbering format/start for a section.",
21299
+ "name": "doc_sections_clearHeaderFooterRef",
21300
+ "description": "Clear a section header/footer reference for a specific variant.",
20476
21301
  "input_schema": {
20477
21302
  "type": "object",
20478
21303
  "properties": {
@@ -20500,22 +21325,24 @@
20500
21325
  "sectionId"
20501
21326
  ]
20502
21327
  },
20503
- "start": {
20504
- "type": "number"
21328
+ "kind": {
21329
+ "type": "string"
20505
21330
  },
20506
- "format": {
21331
+ "variant": {
20507
21332
  "type": "string"
20508
21333
  }
20509
21334
  },
20510
21335
  "required": [
20511
- "target"
21336
+ "target",
21337
+ "kind",
21338
+ "variant"
20512
21339
  ],
20513
21340
  "additionalProperties": false
20514
21341
  }
20515
21342
  },
20516
21343
  {
20517
- "name": "doc_sections_setTitlePage",
20518
- "description": "Enable or disable title-page behavior for a section.",
21344
+ "name": "doc_sections_setLinkToPrevious",
21345
+ "description": "Set or clear link-to-previous behavior for a header/footer variant.",
20519
21346
  "input_schema": {
20520
21347
  "type": "object",
20521
21348
  "properties": {
@@ -20543,20 +21370,28 @@
20543
21370
  "sectionId"
20544
21371
  ]
20545
21372
  },
20546
- "enabled": {
21373
+ "kind": {
21374
+ "type": "string"
21375
+ },
21376
+ "variant": {
21377
+ "type": "string"
21378
+ },
21379
+ "linked": {
20547
21380
  "type": "boolean"
20548
21381
  }
20549
21382
  },
20550
21383
  "required": [
20551
21384
  "target",
20552
- "enabled"
21385
+ "kind",
21386
+ "variant",
21387
+ "linked"
20553
21388
  ],
20554
21389
  "additionalProperties": false
20555
21390
  }
20556
21391
  },
20557
21392
  {
20558
- "name": "doc_sections_setOddEvenHeadersFooters",
20559
- "description": "Enable or disable odd/even header-footer mode in document settings.",
21393
+ "name": "doc_sections_setPageBorders",
21394
+ "description": "Set page border configuration for a section.",
20560
21395
  "input_schema": {
20561
21396
  "type": "object",
20562
21397
  "properties": {
@@ -20569,19 +21404,57 @@
20569
21404
  "force": {
20570
21405
  "type": "boolean"
20571
21406
  },
20572
- "enabled": {
20573
- "type": "boolean"
21407
+ "target": {
21408
+ "type": "object",
21409
+ "properties": {
21410
+ "kind": {
21411
+ "const": "section"
21412
+ },
21413
+ "sectionId": {
21414
+ "type": "string"
21415
+ }
21416
+ },
21417
+ "required": [
21418
+ "kind",
21419
+ "sectionId"
21420
+ ]
21421
+ },
21422
+ "borders": {
21423
+ "oneOf": [
21424
+ {
21425
+ "type": "json"
21426
+ },
21427
+ {
21428
+ "type": "json"
21429
+ },
21430
+ {
21431
+ "type": "json"
21432
+ },
21433
+ {
21434
+ "type": "json"
21435
+ },
21436
+ {
21437
+ "type": "json"
21438
+ },
21439
+ {
21440
+ "type": "json"
21441
+ },
21442
+ {
21443
+ "type": "json"
21444
+ }
21445
+ ]
20574
21446
  }
20575
21447
  },
20576
21448
  "required": [
20577
- "enabled"
21449
+ "target",
21450
+ "borders"
20578
21451
  ],
20579
21452
  "additionalProperties": false
20580
21453
  }
20581
21454
  },
20582
21455
  {
20583
- "name": "doc_sections_setVerticalAlign",
20584
- "description": "Set vertical page alignment for a section.",
21456
+ "name": "doc_sections_clearPageBorders",
21457
+ "description": "Clear page border configuration for a section.",
20585
21458
  "input_schema": {
20586
21459
  "type": "object",
20587
21460
  "properties": {
@@ -20608,21 +21481,17 @@
20608
21481
  "kind",
20609
21482
  "sectionId"
20610
21483
  ]
20611
- },
20612
- "value": {
20613
- "type": "string"
20614
21484
  }
20615
21485
  },
20616
21486
  "required": [
20617
- "target",
20618
- "value"
21487
+ "target"
20619
21488
  ],
20620
21489
  "additionalProperties": false
20621
21490
  }
20622
21491
  },
20623
21492
  {
20624
- "name": "doc_sections_setSectionDirection",
20625
- "description": "Set section text flow direction (LTR/RTL).",
21493
+ "name": "doc_styles_paragraph_setStyle",
21494
+ "description": "Set the paragraph style reference (w:pStyle) on a paragraph-like block.",
20626
21495
  "input_schema": {
20627
21496
  "type": "object",
20628
21497
  "properties": {
@@ -20636,34 +21505,80 @@
20636
21505
  "type": "boolean"
20637
21506
  },
20638
21507
  "target": {
20639
- "type": "object",
20640
- "properties": {
20641
- "kind": {
20642
- "const": "section"
21508
+ "oneOf": [
21509
+ {
21510
+ "type": "object",
21511
+ "properties": {
21512
+ "kind": {
21513
+ "const": "block"
21514
+ },
21515
+ "nodeType": {
21516
+ "const": "paragraph"
21517
+ },
21518
+ "nodeId": {
21519
+ "type": "string"
21520
+ }
21521
+ },
21522
+ "required": [
21523
+ "kind",
21524
+ "nodeType",
21525
+ "nodeId"
21526
+ ]
21527
+ },
21528
+ {
21529
+ "type": "object",
21530
+ "properties": {
21531
+ "kind": {
21532
+ "const": "block"
21533
+ },
21534
+ "nodeType": {
21535
+ "const": "heading"
21536
+ },
21537
+ "nodeId": {
21538
+ "type": "string"
21539
+ }
21540
+ },
21541
+ "required": [
21542
+ "kind",
21543
+ "nodeType",
21544
+ "nodeId"
21545
+ ]
20643
21546
  },
20644
- "sectionId": {
20645
- "type": "string"
21547
+ {
21548
+ "type": "object",
21549
+ "properties": {
21550
+ "kind": {
21551
+ "const": "block"
21552
+ },
21553
+ "nodeType": {
21554
+ "const": "listItem"
21555
+ },
21556
+ "nodeId": {
21557
+ "type": "string"
21558
+ }
21559
+ },
21560
+ "required": [
21561
+ "kind",
21562
+ "nodeType",
21563
+ "nodeId"
21564
+ ]
20646
21565
  }
20647
- },
20648
- "required": [
20649
- "kind",
20650
- "sectionId"
20651
21566
  ]
20652
21567
  },
20653
- "direction": {
21568
+ "styleId": {
20654
21569
  "type": "string"
20655
21570
  }
20656
21571
  },
20657
21572
  "required": [
20658
21573
  "target",
20659
- "direction"
21574
+ "styleId"
20660
21575
  ],
20661
21576
  "additionalProperties": false
20662
21577
  }
20663
21578
  },
20664
21579
  {
20665
- "name": "doc_sections_setHeaderFooterRef",
20666
- "description": "Set or replace a section header/footer reference for a variant.",
21580
+ "name": "doc_styles_paragraph_clearStyle",
21581
+ "description": "Remove the paragraph style reference from a paragraph-like block.",
20667
21582
  "input_schema": {
20668
21583
  "type": "object",
20669
21584
  "properties": {
@@ -20677,42 +21592,76 @@
20677
21592
  "type": "boolean"
20678
21593
  },
20679
21594
  "target": {
20680
- "type": "object",
20681
- "properties": {
20682
- "kind": {
20683
- "const": "section"
21595
+ "oneOf": [
21596
+ {
21597
+ "type": "object",
21598
+ "properties": {
21599
+ "kind": {
21600
+ "const": "block"
21601
+ },
21602
+ "nodeType": {
21603
+ "const": "paragraph"
21604
+ },
21605
+ "nodeId": {
21606
+ "type": "string"
21607
+ }
21608
+ },
21609
+ "required": [
21610
+ "kind",
21611
+ "nodeType",
21612
+ "nodeId"
21613
+ ]
20684
21614
  },
20685
- "sectionId": {
20686
- "type": "string"
21615
+ {
21616
+ "type": "object",
21617
+ "properties": {
21618
+ "kind": {
21619
+ "const": "block"
21620
+ },
21621
+ "nodeType": {
21622
+ "const": "heading"
21623
+ },
21624
+ "nodeId": {
21625
+ "type": "string"
21626
+ }
21627
+ },
21628
+ "required": [
21629
+ "kind",
21630
+ "nodeType",
21631
+ "nodeId"
21632
+ ]
21633
+ },
21634
+ {
21635
+ "type": "object",
21636
+ "properties": {
21637
+ "kind": {
21638
+ "const": "block"
21639
+ },
21640
+ "nodeType": {
21641
+ "const": "listItem"
21642
+ },
21643
+ "nodeId": {
21644
+ "type": "string"
21645
+ }
21646
+ },
21647
+ "required": [
21648
+ "kind",
21649
+ "nodeType",
21650
+ "nodeId"
21651
+ ]
20687
21652
  }
20688
- },
20689
- "required": [
20690
- "kind",
20691
- "sectionId"
20692
21653
  ]
20693
- },
20694
- "kind": {
20695
- "type": "string"
20696
- },
20697
- "variant": {
20698
- "type": "string"
20699
- },
20700
- "refId": {
20701
- "type": "string"
20702
21654
  }
20703
21655
  },
20704
21656
  "required": [
20705
- "target",
20706
- "kind",
20707
- "variant",
20708
- "refId"
21657
+ "target"
20709
21658
  ],
20710
21659
  "additionalProperties": false
20711
21660
  }
20712
21661
  },
20713
21662
  {
20714
- "name": "doc_sections_clearHeaderFooterRef",
20715
- "description": "Clear a section header/footer reference for a specific variant.",
21663
+ "name": "doc_format_paragraph_resetDirectFormatting",
21664
+ "description": "Strip all direct paragraph formatting while preserving style reference, numbering, and section metadata.",
20716
21665
  "input_schema": {
20717
21666
  "type": "object",
20718
21667
  "properties": {
@@ -20726,38 +21675,82 @@
20726
21675
  "type": "boolean"
20727
21676
  },
20728
21677
  "target": {
20729
- "type": "object",
20730
- "properties": {
20731
- "kind": {
20732
- "const": "section"
21678
+ "oneOf": [
21679
+ {
21680
+ "type": "object",
21681
+ "properties": {
21682
+ "kind": {
21683
+ "const": "block"
21684
+ },
21685
+ "nodeType": {
21686
+ "const": "paragraph"
21687
+ },
21688
+ "nodeId": {
21689
+ "type": "string"
21690
+ }
21691
+ },
21692
+ "required": [
21693
+ "kind",
21694
+ "nodeType",
21695
+ "nodeId"
21696
+ ]
20733
21697
  },
20734
- "sectionId": {
20735
- "type": "string"
21698
+ {
21699
+ "type": "object",
21700
+ "properties": {
21701
+ "kind": {
21702
+ "const": "block"
21703
+ },
21704
+ "nodeType": {
21705
+ "const": "heading"
21706
+ },
21707
+ "nodeId": {
21708
+ "type": "string"
21709
+ }
21710
+ },
21711
+ "required": [
21712
+ "kind",
21713
+ "nodeType",
21714
+ "nodeId"
21715
+ ]
21716
+ },
21717
+ {
21718
+ "type": "object",
21719
+ "properties": {
21720
+ "kind": {
21721
+ "const": "block"
21722
+ },
21723
+ "nodeType": {
21724
+ "const": "listItem"
21725
+ },
21726
+ "nodeId": {
21727
+ "type": "string"
21728
+ }
21729
+ },
21730
+ "required": [
21731
+ "kind",
21732
+ "nodeType",
21733
+ "nodeId"
21734
+ ]
20736
21735
  }
20737
- },
20738
- "required": [
20739
- "kind",
20740
- "sectionId"
20741
21736
  ]
20742
21737
  },
20743
- "kind": {
21738
+ "blockId": {
20744
21739
  "type": "string"
20745
21740
  },
20746
- "variant": {
20747
- "type": "string"
21741
+ "start": {
21742
+ "type": "number"
21743
+ },
21744
+ "end": {
21745
+ "type": "number"
20748
21746
  }
20749
21747
  },
20750
- "required": [
20751
- "target",
20752
- "kind",
20753
- "variant"
20754
- ],
20755
21748
  "additionalProperties": false
20756
21749
  }
20757
21750
  },
20758
21751
  {
20759
- "name": "doc_sections_setLinkToPrevious",
20760
- "description": "Set or clear link-to-previous behavior for a header/footer variant.",
21752
+ "name": "doc_format_paragraph_setAlignment",
21753
+ "description": "Set paragraph alignment (justification) on a paragraph-like block.",
20761
21754
  "input_schema": {
20762
21755
  "type": "object",
20763
21756
  "properties": {
@@ -20771,42 +21764,85 @@
20771
21764
  "type": "boolean"
20772
21765
  },
20773
21766
  "target": {
20774
- "type": "object",
20775
- "properties": {
20776
- "kind": {
20777
- "const": "section"
21767
+ "oneOf": [
21768
+ {
21769
+ "type": "object",
21770
+ "properties": {
21771
+ "kind": {
21772
+ "const": "block"
21773
+ },
21774
+ "nodeType": {
21775
+ "const": "paragraph"
21776
+ },
21777
+ "nodeId": {
21778
+ "type": "string"
21779
+ }
21780
+ },
21781
+ "required": [
21782
+ "kind",
21783
+ "nodeType",
21784
+ "nodeId"
21785
+ ]
20778
21786
  },
20779
- "sectionId": {
20780
- "type": "string"
21787
+ {
21788
+ "type": "object",
21789
+ "properties": {
21790
+ "kind": {
21791
+ "const": "block"
21792
+ },
21793
+ "nodeType": {
21794
+ "const": "heading"
21795
+ },
21796
+ "nodeId": {
21797
+ "type": "string"
21798
+ }
21799
+ },
21800
+ "required": [
21801
+ "kind",
21802
+ "nodeType",
21803
+ "nodeId"
21804
+ ]
21805
+ },
21806
+ {
21807
+ "type": "object",
21808
+ "properties": {
21809
+ "kind": {
21810
+ "const": "block"
21811
+ },
21812
+ "nodeType": {
21813
+ "const": "listItem"
21814
+ },
21815
+ "nodeId": {
21816
+ "type": "string"
21817
+ }
21818
+ },
21819
+ "required": [
21820
+ "kind",
21821
+ "nodeType",
21822
+ "nodeId"
21823
+ ]
20781
21824
  }
20782
- },
20783
- "required": [
20784
- "kind",
20785
- "sectionId"
20786
21825
  ]
20787
21826
  },
20788
- "kind": {
21827
+ "alignment": {
20789
21828
  "type": "string"
20790
21829
  },
20791
- "variant": {
21830
+ "blockId": {
20792
21831
  "type": "string"
20793
21832
  },
20794
- "linked": {
20795
- "type": "boolean"
21833
+ "start": {
21834
+ "type": "number"
21835
+ },
21836
+ "end": {
21837
+ "type": "number"
20796
21838
  }
20797
21839
  },
20798
- "required": [
20799
- "target",
20800
- "kind",
20801
- "variant",
20802
- "linked"
20803
- ],
20804
21840
  "additionalProperties": false
20805
21841
  }
20806
21842
  },
20807
21843
  {
20808
- "name": "doc_sections_setPageBorders",
20809
- "description": "Set page border configuration for a section.",
21844
+ "name": "doc_format_paragraph_clearAlignment",
21845
+ "description": "Remove direct paragraph alignment, reverting to style-defined or default alignment.",
20810
21846
  "input_schema": {
20811
21847
  "type": "object",
20812
21848
  "properties": {
@@ -20820,93 +21856,82 @@
20820
21856
  "type": "boolean"
20821
21857
  },
20822
21858
  "target": {
20823
- "type": "object",
20824
- "properties": {
20825
- "kind": {
20826
- "const": "section"
20827
- },
20828
- "sectionId": {
20829
- "type": "string"
20830
- }
20831
- },
20832
- "required": [
20833
- "kind",
20834
- "sectionId"
20835
- ]
20836
- },
20837
- "borders": {
20838
21859
  "oneOf": [
20839
21860
  {
20840
- "type": "json"
20841
- },
20842
- {
20843
- "type": "json"
20844
- },
20845
- {
20846
- "type": "json"
20847
- },
20848
- {
20849
- "type": "json"
20850
- },
20851
- {
20852
- "type": "json"
21861
+ "type": "object",
21862
+ "properties": {
21863
+ "kind": {
21864
+ "const": "block"
21865
+ },
21866
+ "nodeType": {
21867
+ "const": "paragraph"
21868
+ },
21869
+ "nodeId": {
21870
+ "type": "string"
21871
+ }
21872
+ },
21873
+ "required": [
21874
+ "kind",
21875
+ "nodeType",
21876
+ "nodeId"
21877
+ ]
20853
21878
  },
20854
21879
  {
20855
- "type": "json"
21880
+ "type": "object",
21881
+ "properties": {
21882
+ "kind": {
21883
+ "const": "block"
21884
+ },
21885
+ "nodeType": {
21886
+ "const": "heading"
21887
+ },
21888
+ "nodeId": {
21889
+ "type": "string"
21890
+ }
21891
+ },
21892
+ "required": [
21893
+ "kind",
21894
+ "nodeType",
21895
+ "nodeId"
21896
+ ]
20856
21897
  },
20857
21898
  {
20858
- "type": "json"
21899
+ "type": "object",
21900
+ "properties": {
21901
+ "kind": {
21902
+ "const": "block"
21903
+ },
21904
+ "nodeType": {
21905
+ "const": "listItem"
21906
+ },
21907
+ "nodeId": {
21908
+ "type": "string"
21909
+ }
21910
+ },
21911
+ "required": [
21912
+ "kind",
21913
+ "nodeType",
21914
+ "nodeId"
21915
+ ]
20859
21916
  }
20860
21917
  ]
20861
- }
20862
- },
20863
- "required": [
20864
- "target",
20865
- "borders"
20866
- ],
20867
- "additionalProperties": false
20868
- }
20869
- },
20870
- {
20871
- "name": "doc_sections_clearPageBorders",
20872
- "description": "Clear page border configuration for a section.",
20873
- "input_schema": {
20874
- "type": "object",
20875
- "properties": {
20876
- "doc": {
20877
- "type": "string"
20878
21918
  },
20879
- "sessionId": {
21919
+ "blockId": {
20880
21920
  "type": "string"
20881
21921
  },
20882
- "force": {
20883
- "type": "boolean"
21922
+ "start": {
21923
+ "type": "number"
20884
21924
  },
20885
- "target": {
20886
- "type": "object",
20887
- "properties": {
20888
- "kind": {
20889
- "const": "section"
20890
- },
20891
- "sectionId": {
20892
- "type": "string"
20893
- }
20894
- },
20895
- "required": [
20896
- "kind",
20897
- "sectionId"
20898
- ]
21925
+ "end": {
21926
+ "type": "number"
20899
21927
  }
20900
21928
  },
20901
- "required": [
20902
- "target"
20903
- ],
20904
21929
  "additionalProperties": false
20905
21930
  }
20906
21931
  },
20907
21932
  {
20908
- "name": "doc_styles_paragraph_setStyle",
20909
- "description": "Set the paragraph style reference (w:pStyle) on a paragraph-like block.",
21933
+ "name": "doc_format_paragraph_setIndentation",
21934
+ "description": "Set paragraph indentation properties (left, right, firstLine, hanging) in twips.",
20910
21935
  "input_schema": {
20911
21936
  "type": "object",
20912
21937
  "properties": {
@@ -20980,20 +22005,34 @@
20980
22005
  }
20981
22006
  ]
20982
22007
  },
20983
- "styleId": {
22008
+ "left": {
22009
+ "type": "number"
22010
+ },
22011
+ "right": {
22012
+ "type": "number"
22013
+ },
22014
+ "firstLine": {
22015
+ "type": "number"
22016
+ },
22017
+ "hanging": {
22018
+ "type": "number"
22019
+ },
22020
+ "blockId": {
20984
22021
  "type": "string"
22022
+ },
22023
+ "start": {
22024
+ "type": "number"
22025
+ },
22026
+ "end": {
22027
+ "type": "number"
20985
22028
  }
20986
22029
  },
20987
- "required": [
20988
- "target",
20989
- "styleId"
20990
- ],
20991
22030
  "additionalProperties": false
20992
22031
  }
20993
22032
  },
20994
22033
  {
20995
- "name": "doc_styles_paragraph_clearStyle",
20996
- "description": "Remove the paragraph style reference from a paragraph-like block.",
22034
+ "name": "doc_format_paragraph_clearIndentation",
22035
+ "description": "Remove all direct paragraph indentation.",
20997
22036
  "input_schema": {
20998
22037
  "type": "object",
20999
22038
  "properties": {
@@ -21066,17 +22105,23 @@
21066
22105
  ]
21067
22106
  }
21068
22107
  ]
22108
+ },
22109
+ "blockId": {
22110
+ "type": "string"
22111
+ },
22112
+ "start": {
22113
+ "type": "number"
22114
+ },
22115
+ "end": {
22116
+ "type": "number"
21069
22117
  }
21070
22118
  },
21071
- "required": [
21072
- "target"
21073
- ],
21074
22119
  "additionalProperties": false
21075
22120
  }
21076
22121
  },
21077
22122
  {
21078
- "name": "doc_format_paragraph_resetDirectFormatting",
21079
- "description": "Strip all direct paragraph formatting while preserving style reference, numbering, and section metadata.",
22123
+ "name": "doc_format_paragraph_setSpacing",
22124
+ "description": "Set paragraph spacing properties (before, after, line, lineRule) in twips.",
21080
22125
  "input_schema": {
21081
22126
  "type": "object",
21082
22127
  "properties": {
@@ -21150,6 +22195,18 @@
21150
22195
  }
21151
22196
  ]
21152
22197
  },
22198
+ "before": {
22199
+ "type": "number"
22200
+ },
22201
+ "after": {
22202
+ "type": "number"
22203
+ },
22204
+ "line": {
22205
+ "type": "number"
22206
+ },
22207
+ "lineRule": {
22208
+ "type": "string"
22209
+ },
21153
22210
  "blockId": {
21154
22211
  "type": "string"
21155
22212
  },
@@ -21164,8 +22221,8 @@
21164
22221
  }
21165
22222
  },
21166
22223
  {
21167
- "name": "doc_format_paragraph_setAlignment",
21168
- "description": "Set paragraph alignment (justification) on a paragraph-like block.",
22224
+ "name": "doc_format_paragraph_clearSpacing",
22225
+ "description": "Remove all direct paragraph spacing.",
21169
22226
  "input_schema": {
21170
22227
  "type": "object",
21171
22228
  "properties": {
@@ -21239,9 +22296,6 @@
21239
22296
  }
21240
22297
  ]
21241
22298
  },
21242
- "alignment": {
21243
- "type": "string"
21244
- },
21245
22299
  "blockId": {
21246
22300
  "type": "string"
21247
22301
  },
@@ -21256,8 +22310,8 @@
21256
22310
  }
21257
22311
  },
21258
22312
  {
21259
- "name": "doc_format_paragraph_clearAlignment",
21260
- "description": "Remove direct paragraph alignment, reverting to style-defined or default alignment.",
22313
+ "name": "doc_format_paragraph_setKeepOptions",
22314
+ "description": "Set keep-with-next, keep-lines-together, and widow/orphan control flags.",
21261
22315
  "input_schema": {
21262
22316
  "type": "object",
21263
22317
  "properties": {
@@ -21331,6 +22385,15 @@
21331
22385
  }
21332
22386
  ]
21333
22387
  },
22388
+ "keepNext": {
22389
+ "type": "boolean"
22390
+ },
22391
+ "keepLines": {
22392
+ "type": "boolean"
22393
+ },
22394
+ "widowControl": {
22395
+ "type": "boolean"
22396
+ },
21334
22397
  "blockId": {
21335
22398
  "type": "string"
21336
22399
  },
@@ -21345,8 +22408,8 @@
21345
22408
  }
21346
22409
  },
21347
22410
  {
21348
- "name": "doc_format_paragraph_setIndentation",
21349
- "description": "Set paragraph indentation properties (left, right, firstLine, hanging) in twips.",
22411
+ "name": "doc_format_paragraph_setOutlineLevel",
22412
+ "description": "Set the paragraph outline level (0–9) or null to clear.",
21350
22413
  "input_schema": {
21351
22414
  "type": "object",
21352
22415
  "properties": {
@@ -21420,17 +22483,15 @@
21420
22483
  }
21421
22484
  ]
21422
22485
  },
21423
- "left": {
21424
- "type": "number"
21425
- },
21426
- "right": {
21427
- "type": "number"
21428
- },
21429
- "firstLine": {
21430
- "type": "number"
21431
- },
21432
- "hanging": {
21433
- "type": "number"
22486
+ "outlineLevel": {
22487
+ "oneOf": [
22488
+ {
22489
+ "type": "number"
22490
+ },
22491
+ {
22492
+ "type": "json"
22493
+ }
22494
+ ]
21434
22495
  },
21435
22496
  "blockId": {
21436
22497
  "type": "string"
@@ -21446,8 +22507,8 @@
21446
22507
  }
21447
22508
  },
21448
22509
  {
21449
- "name": "doc_format_paragraph_clearIndentation",
21450
- "description": "Remove all direct paragraph indentation.",
22510
+ "name": "doc_format_paragraph_setFlowOptions",
22511
+ "description": "Set contextual spacing, page-break-before, and suppress-auto-hyphens flags.",
21451
22512
  "input_schema": {
21452
22513
  "type": "object",
21453
22514
  "properties": {
@@ -21521,6 +22582,15 @@
21521
22582
  }
21522
22583
  ]
21523
22584
  },
22585
+ "contextualSpacing": {
22586
+ "type": "boolean"
22587
+ },
22588
+ "pageBreakBefore": {
22589
+ "type": "boolean"
22590
+ },
22591
+ "suppressAutoHyphens": {
22592
+ "type": "boolean"
22593
+ },
21524
22594
  "blockId": {
21525
22595
  "type": "string"
21526
22596
  },
@@ -21535,8 +22605,8 @@
21535
22605
  }
21536
22606
  },
21537
22607
  {
21538
- "name": "doc_format_paragraph_setSpacing",
21539
- "description": "Set paragraph spacing properties (before, after, line, lineRule) in twips.",
22608
+ "name": "doc_format_paragraph_setTabStop",
22609
+ "description": "Add or replace a tab stop at a given position.",
21540
22610
  "input_schema": {
21541
22611
  "type": "object",
21542
22612
  "properties": {
@@ -21610,16 +22680,13 @@
21610
22680
  }
21611
22681
  ]
21612
22682
  },
21613
- "before": {
21614
- "type": "number"
21615
- },
21616
- "after": {
22683
+ "position": {
21617
22684
  "type": "number"
21618
22685
  },
21619
- "line": {
21620
- "type": "number"
22686
+ "alignment": {
22687
+ "type": "string"
21621
22688
  },
21622
- "lineRule": {
22689
+ "leader": {
21623
22690
  "type": "string"
21624
22691
  },
21625
22692
  "blockId": {
@@ -21636,8 +22703,8 @@
21636
22703
  }
21637
22704
  },
21638
22705
  {
21639
- "name": "doc_format_paragraph_clearSpacing",
21640
- "description": "Remove all direct paragraph spacing.",
22706
+ "name": "doc_format_paragraph_clearTabStop",
22707
+ "description": "Remove a tab stop at a given position.",
21641
22708
  "input_schema": {
21642
22709
  "type": "object",
21643
22710
  "properties": {
@@ -21711,6 +22778,9 @@
21711
22778
  }
21712
22779
  ]
21713
22780
  },
22781
+ "position": {
22782
+ "type": "number"
22783
+ },
21714
22784
  "blockId": {
21715
22785
  "type": "string"
21716
22786
  },
@@ -21725,8 +22795,8 @@
21725
22795
  }
21726
22796
  },
21727
22797
  {
21728
- "name": "doc_format_paragraph_setKeepOptions",
21729
- "description": "Set keep-with-next, keep-lines-together, and widow/orphan control flags.",
22798
+ "name": "doc_format_paragraph_clearAllTabStops",
22799
+ "description": "Remove all tab stops from a paragraph.",
21730
22800
  "input_schema": {
21731
22801
  "type": "object",
21732
22802
  "properties": {
@@ -21800,15 +22870,6 @@
21800
22870
  }
21801
22871
  ]
21802
22872
  },
21803
- "keepNext": {
21804
- "type": "boolean"
21805
- },
21806
- "keepLines": {
21807
- "type": "boolean"
21808
- },
21809
- "widowControl": {
21810
- "type": "boolean"
21811
- },
21812
22873
  "blockId": {
21813
22874
  "type": "string"
21814
22875
  },
@@ -21823,8 +22884,8 @@
21823
22884
  }
21824
22885
  },
21825
22886
  {
21826
- "name": "doc_format_paragraph_setOutlineLevel",
21827
- "description": "Set the paragraph outline level (0–9) or null to clear.",
22887
+ "name": "doc_format_paragraph_setBorder",
22888
+ "description": "Set border properties for a specific side of a paragraph.",
21828
22889
  "input_schema": {
21829
22890
  "type": "object",
21830
22891
  "properties": {
@@ -21898,15 +22959,20 @@
21898
22959
  }
21899
22960
  ]
21900
22961
  },
21901
- "outlineLevel": {
21902
- "oneOf": [
21903
- {
21904
- "type": "number"
21905
- },
21906
- {
21907
- "type": "json"
21908
- }
21909
- ]
22962
+ "side": {
22963
+ "type": "string"
22964
+ },
22965
+ "style": {
22966
+ "type": "string"
22967
+ },
22968
+ "color": {
22969
+ "type": "string"
22970
+ },
22971
+ "size": {
22972
+ "type": "number"
22973
+ },
22974
+ "space": {
22975
+ "type": "number"
21910
22976
  },
21911
22977
  "blockId": {
21912
22978
  "type": "string"
@@ -21922,8 +22988,8 @@
21922
22988
  }
21923
22989
  },
21924
22990
  {
21925
- "name": "doc_format_paragraph_setFlowOptions",
21926
- "description": "Set contextual spacing, page-break-before, and suppress-auto-hyphens flags.",
22991
+ "name": "doc_format_paragraph_clearBorder",
22992
+ "description": "Remove border for a specific side or all sides of a paragraph.",
21927
22993
  "input_schema": {
21928
22994
  "type": "object",
21929
22995
  "properties": {
@@ -21997,14 +23063,8 @@
21997
23063
  }
21998
23064
  ]
21999
23065
  },
22000
- "contextualSpacing": {
22001
- "type": "boolean"
22002
- },
22003
- "pageBreakBefore": {
22004
- "type": "boolean"
22005
- },
22006
- "suppressAutoHyphens": {
22007
- "type": "boolean"
23066
+ "side": {
23067
+ "type": "string"
22008
23068
  },
22009
23069
  "blockId": {
22010
23070
  "type": "string"
@@ -22020,8 +23080,8 @@
22020
23080
  }
22021
23081
  },
22022
23082
  {
22023
- "name": "doc_format_paragraph_setTabStop",
22024
- "description": "Add or replace a tab stop at a given position.",
23083
+ "name": "doc_format_paragraph_setShading",
23084
+ "description": "Set paragraph shading (background fill, pattern color, pattern type).",
22025
23085
  "input_schema": {
22026
23086
  "type": "object",
22027
23087
  "properties": {
@@ -22095,13 +23155,13 @@
22095
23155
  }
22096
23156
  ]
22097
23157
  },
22098
- "position": {
22099
- "type": "number"
23158
+ "fill": {
23159
+ "type": "string"
22100
23160
  },
22101
- "alignment": {
23161
+ "color": {
22102
23162
  "type": "string"
22103
23163
  },
22104
- "leader": {
23164
+ "pattern": {
22105
23165
  "type": "string"
22106
23166
  },
22107
23167
  "blockId": {
@@ -22118,8 +23178,8 @@
22118
23178
  }
22119
23179
  },
22120
23180
  {
22121
- "name": "doc_format_paragraph_clearTabStop",
22122
- "description": "Remove a tab stop at a given position.",
23181
+ "name": "doc_format_paragraph_clearShading",
23182
+ "description": "Remove all paragraph shading.",
22123
23183
  "input_schema": {
22124
23184
  "type": "object",
22125
23185
  "properties": {
@@ -22193,25 +23253,187 @@
22193
23253
  }
22194
23254
  ]
22195
23255
  },
23256
+ "blockId": {
23257
+ "type": "string"
23258
+ },
23259
+ "start": {
23260
+ "type": "number"
23261
+ },
23262
+ "end": {
23263
+ "type": "number"
23264
+ }
23265
+ },
23266
+ "additionalProperties": false
23267
+ }
23268
+ },
23269
+ {
23270
+ "name": "doc_lists_list",
23271
+ "description": "List all list nodes in the document, optionally filtered by scope.",
23272
+ "input_schema": {
23273
+ "type": "object",
23274
+ "properties": {
23275
+ "doc": {
23276
+ "type": "string"
23277
+ },
23278
+ "sessionId": {
23279
+ "type": "string"
23280
+ },
23281
+ "within": {
23282
+ "type": "object",
23283
+ "properties": {
23284
+ "kind": {
23285
+ "const": "block"
23286
+ },
23287
+ "nodeType": {
23288
+ "oneOf": [
23289
+ {
23290
+ "const": "paragraph"
23291
+ },
23292
+ {
23293
+ "const": "heading"
23294
+ },
23295
+ {
23296
+ "const": "listItem"
23297
+ },
23298
+ {
23299
+ "const": "table"
23300
+ },
23301
+ {
23302
+ "const": "tableRow"
23303
+ },
23304
+ {
23305
+ "const": "tableCell"
23306
+ },
23307
+ {
23308
+ "const": "tableOfContents"
23309
+ },
23310
+ {
23311
+ "const": "image"
23312
+ },
23313
+ {
23314
+ "const": "sdt"
23315
+ }
23316
+ ]
23317
+ },
23318
+ "nodeId": {
23319
+ "type": "string"
23320
+ }
23321
+ },
23322
+ "required": [
23323
+ "kind",
23324
+ "nodeType",
23325
+ "nodeId"
23326
+ ]
23327
+ },
23328
+ "limit": {
23329
+ "type": "number"
23330
+ },
23331
+ "offset": {
23332
+ "type": "number"
23333
+ },
23334
+ "kind": {
23335
+ "type": "string"
23336
+ },
23337
+ "level": {
23338
+ "type": "number"
23339
+ },
23340
+ "ordinal": {
23341
+ "type": "number"
23342
+ },
23343
+ "query": {}
23344
+ },
23345
+ "additionalProperties": false
23346
+ }
23347
+ },
23348
+ {
23349
+ "name": "doc_lists_get",
23350
+ "description": "Retrieve a specific list node by target.",
23351
+ "input_schema": {
23352
+ "type": "object",
23353
+ "properties": {
23354
+ "doc": {
23355
+ "type": "string"
23356
+ },
23357
+ "sessionId": {
23358
+ "type": "string"
23359
+ },
23360
+ "address": {
23361
+ "type": "object",
23362
+ "properties": {
23363
+ "kind": {
23364
+ "const": "block"
23365
+ },
23366
+ "nodeType": {
23367
+ "const": "listItem"
23368
+ },
23369
+ "nodeId": {
23370
+ "type": "string"
23371
+ }
23372
+ },
23373
+ "required": [
23374
+ "kind",
23375
+ "nodeType",
23376
+ "nodeId"
23377
+ ]
23378
+ }
23379
+ },
23380
+ "required": [
23381
+ "address"
23382
+ ],
23383
+ "additionalProperties": false
23384
+ }
23385
+ },
23386
+ {
23387
+ "name": "doc_lists_insert",
23388
+ "description": "Insert a new list at the target position.",
23389
+ "input_schema": {
23390
+ "type": "object",
23391
+ "properties": {
23392
+ "doc": {
23393
+ "type": "string"
23394
+ },
23395
+ "sessionId": {
23396
+ "type": "string"
23397
+ },
23398
+ "force": {
23399
+ "type": "boolean"
23400
+ },
23401
+ "target": {
23402
+ "type": "object",
23403
+ "properties": {
23404
+ "kind": {
23405
+ "const": "block"
23406
+ },
23407
+ "nodeType": {
23408
+ "const": "listItem"
23409
+ },
23410
+ "nodeId": {
23411
+ "type": "string"
23412
+ }
23413
+ },
23414
+ "required": [
23415
+ "kind",
23416
+ "nodeType",
23417
+ "nodeId"
23418
+ ]
23419
+ },
22196
23420
  "position": {
22197
- "type": "number"
22198
- },
22199
- "blockId": {
22200
23421
  "type": "string"
22201
23422
  },
22202
- "start": {
22203
- "type": "number"
23423
+ "text": {
23424
+ "type": "string"
22204
23425
  },
22205
- "end": {
22206
- "type": "number"
23426
+ "input": {},
23427
+ "nodeId": {
23428
+ "type": "string"
22207
23429
  }
22208
23430
  },
22209
23431
  "additionalProperties": false
22210
23432
  }
22211
23433
  },
22212
23434
  {
22213
- "name": "doc_format_paragraph_clearAllTabStops",
22214
- "description": "Remove all tab stops from a paragraph.",
23435
+ "name": "doc_lists_create",
23436
+ "description": "Create a new list from one or more paragraphs, or convert existing paragraphs into a new list.",
22215
23437
  "input_schema": {
22216
23438
  "type": "object",
22217
23439
  "properties": {
@@ -22224,6 +23446,28 @@
22224
23446
  "force": {
22225
23447
  "type": "boolean"
22226
23448
  },
23449
+ "mode": {
23450
+ "type": "string"
23451
+ },
23452
+ "at": {
23453
+ "type": "object",
23454
+ "properties": {
23455
+ "kind": {
23456
+ "const": "block"
23457
+ },
23458
+ "nodeType": {
23459
+ "const": "paragraph"
23460
+ },
23461
+ "nodeId": {
23462
+ "type": "string"
23463
+ }
23464
+ },
23465
+ "required": [
23466
+ "kind",
23467
+ "nodeType",
23468
+ "nodeId"
23469
+ ]
23470
+ },
22227
23471
  "target": {
22228
23472
  "oneOf": [
22229
23473
  {
@@ -22248,59 +23492,66 @@
22248
23492
  {
22249
23493
  "type": "object",
22250
23494
  "properties": {
22251
- "kind": {
22252
- "const": "block"
22253
- },
22254
- "nodeType": {
22255
- "const": "heading"
22256
- },
22257
- "nodeId": {
22258
- "type": "string"
22259
- }
22260
- },
22261
- "required": [
22262
- "kind",
22263
- "nodeType",
22264
- "nodeId"
22265
- ]
22266
- },
22267
- {
22268
- "type": "object",
22269
- "properties": {
22270
- "kind": {
22271
- "const": "block"
22272
- },
22273
- "nodeType": {
22274
- "const": "listItem"
23495
+ "from": {
23496
+ "type": "object",
23497
+ "properties": {
23498
+ "kind": {
23499
+ "const": "block"
23500
+ },
23501
+ "nodeType": {
23502
+ "const": "paragraph"
23503
+ },
23504
+ "nodeId": {
23505
+ "type": "string"
23506
+ }
23507
+ },
23508
+ "required": [
23509
+ "kind",
23510
+ "nodeType",
23511
+ "nodeId"
23512
+ ]
22275
23513
  },
22276
- "nodeId": {
22277
- "type": "string"
23514
+ "to": {
23515
+ "type": "object",
23516
+ "properties": {
23517
+ "kind": {
23518
+ "const": "block"
23519
+ },
23520
+ "nodeType": {
23521
+ "const": "paragraph"
23522
+ },
23523
+ "nodeId": {
23524
+ "type": "string"
23525
+ }
23526
+ },
23527
+ "required": [
23528
+ "kind",
23529
+ "nodeType",
23530
+ "nodeId"
23531
+ ]
22278
23532
  }
22279
23533
  },
22280
23534
  "required": [
22281
- "kind",
22282
- "nodeType",
22283
- "nodeId"
23535
+ "from",
23536
+ "to"
22284
23537
  ]
22285
23538
  }
22286
23539
  ]
22287
23540
  },
22288
- "blockId": {
23541
+ "kind": {
22289
23542
  "type": "string"
22290
23543
  },
22291
- "start": {
23544
+ "level": {
22292
23545
  "type": "number"
22293
23546
  },
22294
- "end": {
22295
- "type": "number"
22296
- }
23547
+ "input": {}
22297
23548
  },
22298
23549
  "additionalProperties": false
22299
23550
  }
22300
23551
  },
22301
23552
  {
22302
- "name": "doc_format_paragraph_setBorder",
22303
- "description": "Set border properties for a specific side of a paragraph.",
23553
+ "name": "doc_lists_attach",
23554
+ "description": "Convert non-list paragraphs to list items under an existing list sequence.",
22304
23555
  "input_schema": {
22305
23556
  "type": "object",
22306
23557
  "properties": {
@@ -22337,74 +23588,124 @@
22337
23588
  {
22338
23589
  "type": "object",
22339
23590
  "properties": {
22340
- "kind": {
22341
- "const": "block"
22342
- },
22343
- "nodeType": {
22344
- "const": "heading"
23591
+ "from": {
23592
+ "type": "object",
23593
+ "properties": {
23594
+ "kind": {
23595
+ "const": "block"
23596
+ },
23597
+ "nodeType": {
23598
+ "const": "paragraph"
23599
+ },
23600
+ "nodeId": {
23601
+ "type": "string"
23602
+ }
23603
+ },
23604
+ "required": [
23605
+ "kind",
23606
+ "nodeType",
23607
+ "nodeId"
23608
+ ]
22345
23609
  },
22346
- "nodeId": {
22347
- "type": "string"
23610
+ "to": {
23611
+ "type": "object",
23612
+ "properties": {
23613
+ "kind": {
23614
+ "const": "block"
23615
+ },
23616
+ "nodeType": {
23617
+ "const": "paragraph"
23618
+ },
23619
+ "nodeId": {
23620
+ "type": "string"
23621
+ }
23622
+ },
23623
+ "required": [
23624
+ "kind",
23625
+ "nodeType",
23626
+ "nodeId"
23627
+ ]
22348
23628
  }
22349
23629
  },
22350
23630
  "required": [
22351
- "kind",
22352
- "nodeType",
22353
- "nodeId"
23631
+ "from",
23632
+ "to"
22354
23633
  ]
23634
+ }
23635
+ ]
23636
+ },
23637
+ "attachTo": {
23638
+ "type": "object",
23639
+ "properties": {
23640
+ "kind": {
23641
+ "const": "block"
22355
23642
  },
22356
- {
22357
- "type": "object",
22358
- "properties": {
22359
- "kind": {
22360
- "const": "block"
22361
- },
22362
- "nodeType": {
22363
- "const": "listItem"
22364
- },
22365
- "nodeId": {
22366
- "type": "string"
22367
- }
22368
- },
22369
- "required": [
22370
- "kind",
22371
- "nodeType",
22372
- "nodeId"
22373
- ]
23643
+ "nodeType": {
23644
+ "const": "listItem"
23645
+ },
23646
+ "nodeId": {
23647
+ "type": "string"
22374
23648
  }
23649
+ },
23650
+ "required": [
23651
+ "kind",
23652
+ "nodeType",
23653
+ "nodeId"
22375
23654
  ]
22376
23655
  },
22377
- "side": {
22378
- "type": "string"
23656
+ "level": {
23657
+ "type": "number"
22379
23658
  },
22380
- "style": {
23659
+ "input": {}
23660
+ },
23661
+ "additionalProperties": false
23662
+ }
23663
+ },
23664
+ {
23665
+ "name": "doc_lists_detach",
23666
+ "description": "Remove numbering properties from list items, converting them to plain paragraphs.",
23667
+ "input_schema": {
23668
+ "type": "object",
23669
+ "properties": {
23670
+ "doc": {
22381
23671
  "type": "string"
22382
23672
  },
22383
- "color": {
23673
+ "sessionId": {
22384
23674
  "type": "string"
22385
23675
  },
22386
- "size": {
22387
- "type": "number"
23676
+ "force": {
23677
+ "type": "boolean"
22388
23678
  },
22389
- "space": {
22390
- "type": "number"
23679
+ "target": {
23680
+ "type": "object",
23681
+ "properties": {
23682
+ "kind": {
23683
+ "const": "block"
23684
+ },
23685
+ "nodeType": {
23686
+ "const": "listItem"
23687
+ },
23688
+ "nodeId": {
23689
+ "type": "string"
23690
+ }
23691
+ },
23692
+ "required": [
23693
+ "kind",
23694
+ "nodeType",
23695
+ "nodeId"
23696
+ ]
22391
23697
  },
22392
- "blockId": {
23698
+ "input": {},
23699
+ "nodeId": {
22393
23700
  "type": "string"
22394
- },
22395
- "start": {
22396
- "type": "number"
22397
- },
22398
- "end": {
22399
- "type": "number"
22400
23701
  }
22401
23702
  },
22402
23703
  "additionalProperties": false
22403
23704
  }
22404
23705
  },
22405
23706
  {
22406
- "name": "doc_format_paragraph_clearBorder",
22407
- "description": "Remove border for a specific side or all sides of a paragraph.",
23707
+ "name": "doc_lists_indent",
23708
+ "description": "Increase the indentation level of a list item.",
22408
23709
  "input_schema": {
22409
23710
  "type": "object",
22410
23711
  "properties": {
@@ -22418,85 +23719,35 @@
22418
23719
  "type": "boolean"
22419
23720
  },
22420
23721
  "target": {
22421
- "oneOf": [
22422
- {
22423
- "type": "object",
22424
- "properties": {
22425
- "kind": {
22426
- "const": "block"
22427
- },
22428
- "nodeType": {
22429
- "const": "paragraph"
22430
- },
22431
- "nodeId": {
22432
- "type": "string"
22433
- }
22434
- },
22435
- "required": [
22436
- "kind",
22437
- "nodeType",
22438
- "nodeId"
22439
- ]
23722
+ "type": "object",
23723
+ "properties": {
23724
+ "kind": {
23725
+ "const": "block"
22440
23726
  },
22441
- {
22442
- "type": "object",
22443
- "properties": {
22444
- "kind": {
22445
- "const": "block"
22446
- },
22447
- "nodeType": {
22448
- "const": "heading"
22449
- },
22450
- "nodeId": {
22451
- "type": "string"
22452
- }
22453
- },
22454
- "required": [
22455
- "kind",
22456
- "nodeType",
22457
- "nodeId"
22458
- ]
23727
+ "nodeType": {
23728
+ "const": "listItem"
22459
23729
  },
22460
- {
22461
- "type": "object",
22462
- "properties": {
22463
- "kind": {
22464
- "const": "block"
22465
- },
22466
- "nodeType": {
22467
- "const": "listItem"
22468
- },
22469
- "nodeId": {
22470
- "type": "string"
22471
- }
22472
- },
22473
- "required": [
22474
- "kind",
22475
- "nodeType",
22476
- "nodeId"
22477
- ]
23730
+ "nodeId": {
23731
+ "type": "string"
22478
23732
  }
23733
+ },
23734
+ "required": [
23735
+ "kind",
23736
+ "nodeType",
23737
+ "nodeId"
22479
23738
  ]
22480
23739
  },
22481
- "side": {
22482
- "type": "string"
22483
- },
22484
- "blockId": {
23740
+ "input": {},
23741
+ "nodeId": {
22485
23742
  "type": "string"
22486
- },
22487
- "start": {
22488
- "type": "number"
22489
- },
22490
- "end": {
22491
- "type": "number"
22492
23743
  }
22493
23744
  },
22494
23745
  "additionalProperties": false
22495
23746
  }
22496
23747
  },
22497
23748
  {
22498
- "name": "doc_format_paragraph_setShading",
22499
- "description": "Set paragraph shading (background fill, pattern color, pattern type).",
23749
+ "name": "doc_lists_outdent",
23750
+ "description": "Decrease the indentation level of a list item.",
22500
23751
  "input_schema": {
22501
23752
  "type": "object",
22502
23753
  "properties": {
@@ -22510,91 +23761,35 @@
22510
23761
  "type": "boolean"
22511
23762
  },
22512
23763
  "target": {
22513
- "oneOf": [
22514
- {
22515
- "type": "object",
22516
- "properties": {
22517
- "kind": {
22518
- "const": "block"
22519
- },
22520
- "nodeType": {
22521
- "const": "paragraph"
22522
- },
22523
- "nodeId": {
22524
- "type": "string"
22525
- }
22526
- },
22527
- "required": [
22528
- "kind",
22529
- "nodeType",
22530
- "nodeId"
22531
- ]
23764
+ "type": "object",
23765
+ "properties": {
23766
+ "kind": {
23767
+ "const": "block"
22532
23768
  },
22533
- {
22534
- "type": "object",
22535
- "properties": {
22536
- "kind": {
22537
- "const": "block"
22538
- },
22539
- "nodeType": {
22540
- "const": "heading"
22541
- },
22542
- "nodeId": {
22543
- "type": "string"
22544
- }
22545
- },
22546
- "required": [
22547
- "kind",
22548
- "nodeType",
22549
- "nodeId"
22550
- ]
23769
+ "nodeType": {
23770
+ "const": "listItem"
22551
23771
  },
22552
- {
22553
- "type": "object",
22554
- "properties": {
22555
- "kind": {
22556
- "const": "block"
22557
- },
22558
- "nodeType": {
22559
- "const": "listItem"
22560
- },
22561
- "nodeId": {
22562
- "type": "string"
22563
- }
22564
- },
22565
- "required": [
22566
- "kind",
22567
- "nodeType",
22568
- "nodeId"
22569
- ]
23772
+ "nodeId": {
23773
+ "type": "string"
22570
23774
  }
23775
+ },
23776
+ "required": [
23777
+ "kind",
23778
+ "nodeType",
23779
+ "nodeId"
22571
23780
  ]
22572
23781
  },
22573
- "fill": {
22574
- "type": "string"
22575
- },
22576
- "color": {
22577
- "type": "string"
22578
- },
22579
- "pattern": {
22580
- "type": "string"
22581
- },
22582
- "blockId": {
23782
+ "input": {},
23783
+ "nodeId": {
22583
23784
  "type": "string"
22584
- },
22585
- "start": {
22586
- "type": "number"
22587
- },
22588
- "end": {
22589
- "type": "number"
22590
23785
  }
22591
23786
  },
22592
23787
  "additionalProperties": false
22593
23788
  }
22594
23789
  },
22595
23790
  {
22596
- "name": "doc_format_paragraph_clearShading",
22597
- "description": "Remove all paragraph shading.",
23791
+ "name": "doc_lists_join",
23792
+ "description": "Merge two adjacent list sequences into one.",
22598
23793
  "input_schema": {
22599
23794
  "type": "object",
22600
23795
  "properties": {
@@ -22608,82 +23803,35 @@
22608
23803
  "type": "boolean"
22609
23804
  },
22610
23805
  "target": {
22611
- "oneOf": [
22612
- {
22613
- "type": "object",
22614
- "properties": {
22615
- "kind": {
22616
- "const": "block"
22617
- },
22618
- "nodeType": {
22619
- "const": "paragraph"
22620
- },
22621
- "nodeId": {
22622
- "type": "string"
22623
- }
22624
- },
22625
- "required": [
22626
- "kind",
22627
- "nodeType",
22628
- "nodeId"
22629
- ]
23806
+ "type": "object",
23807
+ "properties": {
23808
+ "kind": {
23809
+ "const": "block"
22630
23810
  },
22631
- {
22632
- "type": "object",
22633
- "properties": {
22634
- "kind": {
22635
- "const": "block"
22636
- },
22637
- "nodeType": {
22638
- "const": "heading"
22639
- },
22640
- "nodeId": {
22641
- "type": "string"
22642
- }
22643
- },
22644
- "required": [
22645
- "kind",
22646
- "nodeType",
22647
- "nodeId"
22648
- ]
23811
+ "nodeType": {
23812
+ "const": "listItem"
22649
23813
  },
22650
- {
22651
- "type": "object",
22652
- "properties": {
22653
- "kind": {
22654
- "const": "block"
22655
- },
22656
- "nodeType": {
22657
- "const": "listItem"
22658
- },
22659
- "nodeId": {
22660
- "type": "string"
22661
- }
22662
- },
22663
- "required": [
22664
- "kind",
22665
- "nodeType",
22666
- "nodeId"
22667
- ]
23814
+ "nodeId": {
23815
+ "type": "string"
22668
23816
  }
23817
+ },
23818
+ "required": [
23819
+ "kind",
23820
+ "nodeType",
23821
+ "nodeId"
22669
23822
  ]
22670
23823
  },
22671
- "blockId": {
23824
+ "direction": {
22672
23825
  "type": "string"
22673
23826
  },
22674
- "start": {
22675
- "type": "number"
22676
- },
22677
- "end": {
22678
- "type": "number"
22679
- }
23827
+ "input": {}
22680
23828
  },
22681
23829
  "additionalProperties": false
22682
23830
  }
22683
23831
  },
22684
23832
  {
22685
- "name": "doc_lists_list",
22686
- "description": "List all list nodes in the document, optionally filtered by scope.",
23833
+ "name": "doc_lists_canJoin",
23834
+ "description": "Check whether two adjacent list sequences can be joined.",
22687
23835
  "input_schema": {
22688
23836
  "type": "object",
22689
23837
  "properties": {
@@ -22693,42 +23841,14 @@
22693
23841
  "sessionId": {
22694
23842
  "type": "string"
22695
23843
  },
22696
- "within": {
23844
+ "target": {
22697
23845
  "type": "object",
22698
23846
  "properties": {
22699
23847
  "kind": {
22700
23848
  "const": "block"
22701
23849
  },
22702
23850
  "nodeType": {
22703
- "oneOf": [
22704
- {
22705
- "const": "paragraph"
22706
- },
22707
- {
22708
- "const": "heading"
22709
- },
22710
- {
22711
- "const": "listItem"
22712
- },
22713
- {
22714
- "const": "table"
22715
- },
22716
- {
22717
- "const": "tableRow"
22718
- },
22719
- {
22720
- "const": "tableCell"
22721
- },
22722
- {
22723
- "const": "tableOfContents"
22724
- },
22725
- {
22726
- "const": "image"
22727
- },
22728
- {
22729
- "const": "sdt"
22730
- }
22731
- ]
23851
+ "const": "listItem"
22732
23852
  },
22733
23853
  "nodeId": {
22734
23854
  "type": "string"
@@ -22740,29 +23860,62 @@
22740
23860
  "nodeId"
22741
23861
  ]
22742
23862
  },
22743
- "limit": {
22744
- "type": "number"
23863
+ "direction": {
23864
+ "type": "string"
22745
23865
  },
22746
- "offset": {
22747
- "type": "number"
23866
+ "input": {}
23867
+ },
23868
+ "additionalProperties": false
23869
+ }
23870
+ },
23871
+ {
23872
+ "name": "doc_lists_separate",
23873
+ "description": "Split a list sequence at the target item, creating a new sequence from that point forward.",
23874
+ "input_schema": {
23875
+ "type": "object",
23876
+ "properties": {
23877
+ "doc": {
23878
+ "type": "string"
22748
23879
  },
22749
- "kind": {
23880
+ "sessionId": {
22750
23881
  "type": "string"
22751
23882
  },
22752
- "level": {
22753
- "type": "number"
23883
+ "force": {
23884
+ "type": "boolean"
22754
23885
  },
22755
- "ordinal": {
22756
- "type": "number"
23886
+ "target": {
23887
+ "type": "object",
23888
+ "properties": {
23889
+ "kind": {
23890
+ "const": "block"
23891
+ },
23892
+ "nodeType": {
23893
+ "const": "listItem"
23894
+ },
23895
+ "nodeId": {
23896
+ "type": "string"
23897
+ }
23898
+ },
23899
+ "required": [
23900
+ "kind",
23901
+ "nodeType",
23902
+ "nodeId"
23903
+ ]
22757
23904
  },
22758
- "query": {}
23905
+ "copyOverrides": {
23906
+ "type": "boolean"
23907
+ },
23908
+ "input": {},
23909
+ "nodeId": {
23910
+ "type": "string"
23911
+ }
22759
23912
  },
22760
23913
  "additionalProperties": false
22761
23914
  }
22762
23915
  },
22763
23916
  {
22764
- "name": "doc_lists_get",
22765
- "description": "Retrieve a specific list node by target.",
23917
+ "name": "doc_lists_setLevel",
23918
+ "description": "Set the absolute nesting level (0..8) of a list item.",
22766
23919
  "input_schema": {
22767
23920
  "type": "object",
22768
23921
  "properties": {
@@ -22772,7 +23925,10 @@
22772
23925
  "sessionId": {
22773
23926
  "type": "string"
22774
23927
  },
22775
- "address": {
23928
+ "force": {
23929
+ "type": "boolean"
23930
+ },
23931
+ "target": {
22776
23932
  "type": "object",
22777
23933
  "properties": {
22778
23934
  "kind": {
@@ -22790,17 +23946,21 @@
22790
23946
  "nodeType",
22791
23947
  "nodeId"
22792
23948
  ]
23949
+ },
23950
+ "level": {
23951
+ "type": "number"
23952
+ },
23953
+ "input": {},
23954
+ "nodeId": {
23955
+ "type": "string"
22793
23956
  }
22794
23957
  },
22795
- "required": [
22796
- "address"
22797
- ],
22798
23958
  "additionalProperties": false
22799
23959
  }
22800
23960
  },
22801
23961
  {
22802
- "name": "doc_lists_insert",
22803
- "description": "Insert a new list at the target position.",
23962
+ "name": "doc_lists_setValue",
23963
+ "description": "Set an explicit numbering value at the target item. Mid-sequence targets are atomically separated first.",
22804
23964
  "input_schema": {
22805
23965
  "type": "object",
22806
23966
  "properties": {
@@ -22832,11 +23992,8 @@
22832
23992
  "nodeId"
22833
23993
  ]
22834
23994
  },
22835
- "position": {
22836
- "type": "string"
22837
- },
22838
- "text": {
22839
- "type": "string"
23995
+ "value": {
23996
+ "type": "json"
22840
23997
  },
22841
23998
  "input": {},
22842
23999
  "nodeId": {
@@ -22847,8 +24004,8 @@
22847
24004
  }
22848
24005
  },
22849
24006
  {
22850
- "name": "doc_lists_create",
22851
- "description": "Create a new list from one or more paragraphs, or convert existing paragraphs into a new list.",
24007
+ "name": "doc_lists_continuePrevious",
24008
+ "description": "Continue numbering from the nearest compatible previous list sequence.",
22852
24009
  "input_schema": {
22853
24010
  "type": "object",
22854
24011
  "properties": {
@@ -22861,17 +24018,14 @@
22861
24018
  "force": {
22862
24019
  "type": "boolean"
22863
24020
  },
22864
- "mode": {
22865
- "type": "string"
22866
- },
22867
- "at": {
24021
+ "target": {
22868
24022
  "type": "object",
22869
24023
  "properties": {
22870
24024
  "kind": {
22871
24025
  "const": "block"
22872
24026
  },
22873
24027
  "nodeType": {
22874
- "const": "paragraph"
24028
+ "const": "listItem"
22875
24029
  },
22876
24030
  "nodeId": {
22877
24031
  "type": "string"
@@ -22883,90 +24037,56 @@
22883
24037
  "nodeId"
22884
24038
  ]
22885
24039
  },
24040
+ "input": {},
24041
+ "nodeId": {
24042
+ "type": "string"
24043
+ }
24044
+ },
24045
+ "additionalProperties": false
24046
+ }
24047
+ },
24048
+ {
24049
+ "name": "doc_lists_canContinuePrevious",
24050
+ "description": "Check whether the target sequence can continue numbering from a previous compatible sequence.",
24051
+ "input_schema": {
24052
+ "type": "object",
24053
+ "properties": {
24054
+ "doc": {
24055
+ "type": "string"
24056
+ },
24057
+ "sessionId": {
24058
+ "type": "string"
24059
+ },
22886
24060
  "target": {
22887
- "oneOf": [
22888
- {
22889
- "type": "object",
22890
- "properties": {
22891
- "kind": {
22892
- "const": "block"
22893
- },
22894
- "nodeType": {
22895
- "const": "paragraph"
22896
- },
22897
- "nodeId": {
22898
- "type": "string"
22899
- }
22900
- },
22901
- "required": [
22902
- "kind",
22903
- "nodeType",
22904
- "nodeId"
22905
- ]
24061
+ "type": "object",
24062
+ "properties": {
24063
+ "kind": {
24064
+ "const": "block"
22906
24065
  },
22907
- {
22908
- "type": "object",
22909
- "properties": {
22910
- "from": {
22911
- "type": "object",
22912
- "properties": {
22913
- "kind": {
22914
- "const": "block"
22915
- },
22916
- "nodeType": {
22917
- "const": "paragraph"
22918
- },
22919
- "nodeId": {
22920
- "type": "string"
22921
- }
22922
- },
22923
- "required": [
22924
- "kind",
22925
- "nodeType",
22926
- "nodeId"
22927
- ]
22928
- },
22929
- "to": {
22930
- "type": "object",
22931
- "properties": {
22932
- "kind": {
22933
- "const": "block"
22934
- },
22935
- "nodeType": {
22936
- "const": "paragraph"
22937
- },
22938
- "nodeId": {
22939
- "type": "string"
22940
- }
22941
- },
22942
- "required": [
22943
- "kind",
22944
- "nodeType",
22945
- "nodeId"
22946
- ]
22947
- }
22948
- },
22949
- "required": [
22950
- "from",
22951
- "to"
22952
- ]
24066
+ "nodeType": {
24067
+ "const": "listItem"
24068
+ },
24069
+ "nodeId": {
24070
+ "type": "string"
22953
24071
  }
24072
+ },
24073
+ "required": [
24074
+ "kind",
24075
+ "nodeType",
24076
+ "nodeId"
22954
24077
  ]
22955
24078
  },
22956
- "kind": {
24079
+ "input": {},
24080
+ "nodeId": {
22957
24081
  "type": "string"
22958
- },
22959
- "level": {
22960
- "type": "number"
22961
- },
22962
- "input": {}
24082
+ }
22963
24083
  },
22964
24084
  "additionalProperties": false
22965
24085
  }
22966
24086
  },
22967
24087
  {
22968
- "name": "doc_lists_attach",
22969
- "description": "Convert non-list paragraphs to list items under an existing list sequence.",
24088
+ "name": "doc_lists_setLevelRestart",
24089
+ "description": "Set the restart behavior for a specific list level.",
22970
24090
  "input_schema": {
22971
24091
  "type": "object",
22972
24092
  "properties": {
@@ -22980,76 +24100,6 @@
22980
24100
  "type": "boolean"
22981
24101
  },
22982
24102
  "target": {
22983
- "oneOf": [
22984
- {
22985
- "type": "object",
22986
- "properties": {
22987
- "kind": {
22988
- "const": "block"
22989
- },
22990
- "nodeType": {
22991
- "const": "paragraph"
22992
- },
22993
- "nodeId": {
22994
- "type": "string"
22995
- }
22996
- },
22997
- "required": [
22998
- "kind",
22999
- "nodeType",
23000
- "nodeId"
23001
- ]
23002
- },
23003
- {
23004
- "type": "object",
23005
- "properties": {
23006
- "from": {
23007
- "type": "object",
23008
- "properties": {
23009
- "kind": {
23010
- "const": "block"
23011
- },
23012
- "nodeType": {
23013
- "const": "paragraph"
23014
- },
23015
- "nodeId": {
23016
- "type": "string"
23017
- }
23018
- },
23019
- "required": [
23020
- "kind",
23021
- "nodeType",
23022
- "nodeId"
23023
- ]
23024
- },
23025
- "to": {
23026
- "type": "object",
23027
- "properties": {
23028
- "kind": {
23029
- "const": "block"
23030
- },
23031
- "nodeType": {
23032
- "const": "paragraph"
23033
- },
23034
- "nodeId": {
23035
- "type": "string"
23036
- }
23037
- },
23038
- "required": [
23039
- "kind",
23040
- "nodeType",
23041
- "nodeId"
23042
- ]
23043
- }
23044
- },
23045
- "required": [
23046
- "from",
23047
- "to"
23048
- ]
23049
- }
23050
- ]
23051
- },
23052
- "attachTo": {
23053
24103
  "type": "object",
23054
24104
  "properties": {
23055
24105
  "kind": {
@@ -23071,14 +24121,20 @@
23071
24121
  "level": {
23072
24122
  "type": "number"
23073
24123
  },
24124
+ "restartAfterLevel": {
24125
+ "type": "json"
24126
+ },
24127
+ "scope": {
24128
+ "type": "string"
24129
+ },
23074
24130
  "input": {}
23075
24131
  },
23076
24132
  "additionalProperties": false
23077
24133
  }
23078
24134
  },
23079
24135
  {
23080
- "name": "doc_lists_detach",
23081
- "description": "Remove numbering properties from list items, converting them to plain paragraphs.",
24136
+ "name": "doc_lists_convertToText",
24137
+ "description": "Convert list items to plain paragraphs, optionally prepending the rendered marker text.",
23082
24138
  "input_schema": {
23083
24139
  "type": "object",
23084
24140
  "properties": {
@@ -23110,6 +24166,9 @@
23110
24166
  "nodeId"
23111
24167
  ]
23112
24168
  },
24169
+ "includeMarker": {
24170
+ "type": "boolean"
24171
+ },
23113
24172
  "input": {},
23114
24173
  "nodeId": {
23115
24174
  "type": "string"
@@ -23119,8 +24178,8 @@
23119
24178
  }
23120
24179
  },
23121
24180
  {
23122
- "name": "doc_lists_indent",
23123
- "description": "Increase the indentation level of a list item.",
24181
+ "name": "doc_lists_applyTemplate",
24182
+ "description": "Apply a captured ListTemplate to the target list, optionally filtered to specific levels.",
23124
24183
  "input_schema": {
23125
24184
  "type": "object",
23126
24185
  "properties": {
@@ -23152,17 +24211,101 @@
23152
24211
  "nodeId"
23153
24212
  ]
23154
24213
  },
23155
- "input": {},
23156
- "nodeId": {
23157
- "type": "string"
23158
- }
24214
+ "template": {
24215
+ "type": "object",
24216
+ "properties": {
24217
+ "version": {
24218
+ "const": 1
24219
+ },
24220
+ "levels": {
24221
+ "type": "array",
24222
+ "items": {
24223
+ "type": "object",
24224
+ "properties": {
24225
+ "level": {
24226
+ "type": "number"
24227
+ },
24228
+ "numFmt": {
24229
+ "type": "string"
24230
+ },
24231
+ "lvlText": {
24232
+ "type": "string"
24233
+ },
24234
+ "start": {
24235
+ "type": "number"
24236
+ },
24237
+ "alignment": {
24238
+ "oneOf": [
24239
+ {
24240
+ "const": "left"
24241
+ },
24242
+ {
24243
+ "const": "center"
24244
+ },
24245
+ {
24246
+ "const": "right"
24247
+ }
24248
+ ]
24249
+ },
24250
+ "indents": {
24251
+ "type": "object",
24252
+ "properties": {
24253
+ "left": {
24254
+ "type": "number"
24255
+ },
24256
+ "hanging": {
24257
+ "type": "number"
24258
+ },
24259
+ "firstLine": {
24260
+ "type": "number"
24261
+ }
24262
+ }
24263
+ },
24264
+ "trailingCharacter": {
24265
+ "oneOf": [
24266
+ {
24267
+ "const": "tab"
24268
+ },
24269
+ {
24270
+ "const": "space"
24271
+ },
24272
+ {
24273
+ "const": "nothing"
24274
+ }
24275
+ ]
24276
+ },
24277
+ "markerFont": {
24278
+ "type": "string"
24279
+ },
24280
+ "pictureBulletId": {
24281
+ "type": "number"
24282
+ }
24283
+ },
24284
+ "required": [
24285
+ "level"
24286
+ ]
24287
+ }
24288
+ }
24289
+ },
24290
+ "required": [
24291
+ "version",
24292
+ "levels"
24293
+ ]
24294
+ },
24295
+ "levels": {
24296
+ "type": "array",
24297
+ "items": {
24298
+ "type": "number"
24299
+ }
24300
+ },
24301
+ "input": {}
23159
24302
  },
23160
24303
  "additionalProperties": false
23161
24304
  }
23162
24305
  },
23163
24306
  {
23164
- "name": "doc_lists_outdent",
23165
- "description": "Decrease the indentation level of a list item.",
24307
+ "name": "doc_lists_applyPreset",
24308
+ "description": "Apply a built-in list formatting preset to the target list.",
23166
24309
  "input_schema": {
23167
24310
  "type": "object",
23168
24311
  "properties": {
@@ -23194,17 +24337,23 @@
23194
24337
  "nodeId"
23195
24338
  ]
23196
24339
  },
23197
- "input": {},
23198
- "nodeId": {
24340
+ "preset": {
23199
24341
  "type": "string"
23200
- }
24342
+ },
24343
+ "levels": {
24344
+ "type": "array",
24345
+ "items": {
24346
+ "type": "number"
24347
+ }
24348
+ },
24349
+ "input": {}
23201
24350
  },
23202
24351
  "additionalProperties": false
23203
24352
  }
23204
24353
  },
23205
24354
  {
23206
- "name": "doc_lists_join",
23207
- "description": "Merge two adjacent list sequences into one.",
24355
+ "name": "doc_lists_captureTemplate",
24356
+ "description": "Capture the formatting of a list as a reusable ListTemplate.",
23208
24357
  "input_schema": {
23209
24358
  "type": "object",
23210
24359
  "properties": {
@@ -23214,9 +24363,6 @@
23214
24363
  "sessionId": {
23215
24364
  "type": "string"
23216
24365
  },
23217
- "force": {
23218
- "type": "boolean"
23219
- },
23220
24366
  "target": {
23221
24367
  "type": "object",
23222
24368
  "properties": {
@@ -23236,8 +24382,11 @@
23236
24382
  "nodeId"
23237
24383
  ]
23238
24384
  },
23239
- "direction": {
23240
- "type": "string"
24385
+ "levels": {
24386
+ "type": "array",
24387
+ "items": {
24388
+ "type": "number"
24389
+ }
23241
24390
  },
23242
24391
  "input": {}
23243
24392
  },
@@ -23245,8 +24394,8 @@
23245
24394
  }
23246
24395
  },
23247
24396
  {
23248
- "name": "doc_lists_canJoin",
23249
- "description": "Check whether two adjacent list sequences can be joined.",
24397
+ "name": "doc_lists_setLevelNumbering",
24398
+ "description": "Set the numbering format, pattern, and optional start value for a specific list level.",
23250
24399
  "input_schema": {
23251
24400
  "type": "object",
23252
24401
  "properties": {
@@ -23256,6 +24405,9 @@
23256
24405
  "sessionId": {
23257
24406
  "type": "string"
23258
24407
  },
24408
+ "force": {
24409
+ "type": "boolean"
24410
+ },
23259
24411
  "target": {
23260
24412
  "type": "object",
23261
24413
  "properties": {
@@ -23275,17 +24427,26 @@
23275
24427
  "nodeId"
23276
24428
  ]
23277
24429
  },
23278
- "direction": {
24430
+ "level": {
24431
+ "type": "number"
24432
+ },
24433
+ "numFmt": {
24434
+ "type": "string"
24435
+ },
24436
+ "lvlText": {
23279
24437
  "type": "string"
23280
24438
  },
24439
+ "start": {
24440
+ "type": "number"
24441
+ },
23281
24442
  "input": {}
23282
24443
  },
23283
24444
  "additionalProperties": false
23284
24445
  }
23285
24446
  },
23286
24447
  {
23287
- "name": "doc_lists_separate",
23288
- "description": "Split a list sequence at the target item, creating a new sequence from that point forward.",
24448
+ "name": "doc_lists_setLevelBullet",
24449
+ "description": "Set the bullet marker text for a specific list level.",
23289
24450
  "input_schema": {
23290
24451
  "type": "object",
23291
24452
  "properties": {
@@ -23317,20 +24478,20 @@
23317
24478
  "nodeId"
23318
24479
  ]
23319
24480
  },
23320
- "copyOverrides": {
23321
- "type": "boolean"
24481
+ "level": {
24482
+ "type": "number"
23322
24483
  },
23323
- "input": {},
23324
- "nodeId": {
24484
+ "markerText": {
23325
24485
  "type": "string"
23326
- }
24486
+ },
24487
+ "input": {}
23327
24488
  },
23328
24489
  "additionalProperties": false
23329
24490
  }
23330
24491
  },
23331
24492
  {
23332
- "name": "doc_lists_setLevel",
23333
- "description": "Set the absolute nesting level (0..8) of a list item.",
24493
+ "name": "doc_lists_setLevelPictureBullet",
24494
+ "description": "Set a picture bullet for a specific list level by its OOXML lvlPicBulletId.",
23334
24495
  "input_schema": {
23335
24496
  "type": "object",
23336
24497
  "properties": {
@@ -23365,17 +24526,17 @@
23365
24526
  "level": {
23366
24527
  "type": "number"
23367
24528
  },
23368
- "input": {},
23369
- "nodeId": {
23370
- "type": "string"
23371
- }
24529
+ "pictureBulletId": {
24530
+ "type": "number"
24531
+ },
24532
+ "input": {}
23372
24533
  },
23373
24534
  "additionalProperties": false
23374
24535
  }
23375
24536
  },
23376
24537
  {
23377
- "name": "doc_lists_setValue",
23378
- "description": "Set an explicit numbering value at the target item. Mid-sequence targets are atomically separated first.",
24538
+ "name": "doc_lists_setLevelAlignment",
24539
+ "description": "Set the marker alignment (left, center, right) for a specific list level.",
23379
24540
  "input_schema": {
23380
24541
  "type": "object",
23381
24542
  "properties": {
@@ -23407,20 +24568,20 @@
23407
24568
  "nodeId"
23408
24569
  ]
23409
24570
  },
23410
- "value": {
23411
- "type": "json"
24571
+ "level": {
24572
+ "type": "number"
23412
24573
  },
23413
- "input": {},
23414
- "nodeId": {
24574
+ "alignment": {
23415
24575
  "type": "string"
23416
- }
24576
+ },
24577
+ "input": {}
23417
24578
  },
23418
24579
  "additionalProperties": false
23419
24580
  }
23420
24581
  },
23421
24582
  {
23422
- "name": "doc_lists_continuePrevious",
23423
- "description": "Continue numbering from the nearest compatible previous list sequence.",
24583
+ "name": "doc_lists_setLevelIndents",
24584
+ "description": "Set the paragraph indentation values (left, hanging, firstLine) for a specific list level.",
23424
24585
  "input_schema": {
23425
24586
  "type": "object",
23426
24587
  "properties": {
@@ -23452,17 +24613,26 @@
23452
24613
  "nodeId"
23453
24614
  ]
23454
24615
  },
23455
- "input": {},
23456
- "nodeId": {
23457
- "type": "string"
23458
- }
24616
+ "level": {
24617
+ "type": "number"
24618
+ },
24619
+ "left": {
24620
+ "type": "number"
24621
+ },
24622
+ "hanging": {
24623
+ "type": "number"
24624
+ },
24625
+ "firstLine": {
24626
+ "type": "number"
24627
+ },
24628
+ "input": {}
23459
24629
  },
23460
24630
  "additionalProperties": false
23461
24631
  }
23462
24632
  },
23463
24633
  {
23464
- "name": "doc_lists_canContinuePrevious",
23465
- "description": "Check whether the target sequence can continue numbering from a previous compatible sequence.",
24634
+ "name": "doc_lists_setLevelTrailingCharacter",
24635
+ "description": "Set the trailing character (tab, space, nothing) after the marker for a specific list level.",
23466
24636
  "input_schema": {
23467
24637
  "type": "object",
23468
24638
  "properties": {
@@ -23472,6 +24642,9 @@
23472
24642
  "sessionId": {
23473
24643
  "type": "string"
23474
24644
  },
24645
+ "force": {
24646
+ "type": "boolean"
24647
+ },
23475
24648
  "target": {
23476
24649
  "type": "object",
23477
24650
  "properties": {
@@ -23491,17 +24664,20 @@
23491
24664
  "nodeId"
23492
24665
  ]
23493
24666
  },
23494
- "input": {},
23495
- "nodeId": {
24667
+ "level": {
24668
+ "type": "number"
24669
+ },
24670
+ "trailingCharacter": {
23496
24671
  "type": "string"
23497
- }
24672
+ },
24673
+ "input": {}
23498
24674
  },
23499
24675
  "additionalProperties": false
23500
24676
  }
23501
24677
  },
23502
24678
  {
23503
- "name": "doc_lists_setLevelRestart",
23504
- "description": "Set the restart behavior for a specific list level.",
24679
+ "name": "doc_lists_setLevelMarkerFont",
24680
+ "description": "Set the font family used for the marker character at a specific list level.",
23505
24681
  "input_schema": {
23506
24682
  "type": "object",
23507
24683
  "properties": {
@@ -23536,10 +24712,7 @@
23536
24712
  "level": {
23537
24713
  "type": "number"
23538
24714
  },
23539
- "restartAfterLevel": {
23540
- "type": "json"
23541
- },
23542
- "scope": {
24715
+ "fontFamily": {
23543
24716
  "type": "string"
23544
24717
  },
23545
24718
  "input": {}
@@ -23548,8 +24721,8 @@
23548
24721
  }
23549
24722
  },
23550
24723
  {
23551
- "name": "doc_lists_convertToText",
23552
- "description": "Convert list items to plain paragraphs, optionally prepending the rendered marker text.",
24724
+ "name": "doc_lists_clearLevelOverrides",
24725
+ "description": "Remove instance-level overrides for a specific list level, restoring abstract definition values.",
23553
24726
  "input_schema": {
23554
24727
  "type": "object",
23555
24728
  "properties": {
@@ -23581,13 +24754,10 @@
23581
24754
  "nodeId"
23582
24755
  ]
23583
24756
  },
23584
- "includeMarker": {
23585
- "type": "boolean"
24757
+ "level": {
24758
+ "type": "number"
23586
24759
  },
23587
- "input": {},
23588
- "nodeId": {
23589
- "type": "string"
23590
- }
24760
+ "input": {}
23591
24761
  },
23592
24762
  "additionalProperties": false
23593
24763
  }