@superdoc-dev/sdk 1.0.0-alpha.5 → 1.0.0-alpha.7

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.
@@ -15,204 +15,134 @@
15
15
  "source": "intent",
16
16
  "description": "Search the document for nodes matching type, text, or attribute criteria.",
17
17
  "inputSchema": {
18
- "additionalProperties": false,
18
+ "type": "object",
19
19
  "properties": {
20
- "includeNodes": {
21
- "type": "boolean"
22
- },
23
- "includeUnknown": {
24
- "type": "boolean"
25
- },
26
- "limit": {
27
- "type": "integer"
28
- },
29
- "offset": {
30
- "type": "integer"
20
+ "doc": {
21
+ "type": "string"
31
22
  },
32
- "select": {
33
- "anyOf": [
34
- {
35
- "additionalProperties": false,
36
- "properties": {
37
- "caseSensitive": {
38
- "type": "boolean"
39
- },
40
- "mode": {
41
- "enum": [
42
- "contains",
43
- "regex"
44
- ]
45
- },
46
- "pattern": {
47
- "type": "string"
48
- },
49
- "type": {
50
- "const": "text"
51
- }
52
- },
53
- "required": [
54
- "type",
55
- "pattern"
56
- ],
57
- "type": "object"
58
- },
59
- {
60
- "additionalProperties": false,
61
- "properties": {
62
- "kind": {
63
- "enum": [
64
- "block",
65
- "inline"
66
- ]
67
- },
68
- "nodeType": {
69
- "enum": [
70
- "paragraph",
71
- "heading",
72
- "listItem",
73
- "table",
74
- "tableRow",
75
- "tableCell",
76
- "image",
77
- "sdt",
78
- "run",
79
- "bookmark",
80
- "comment",
81
- "hyperlink",
82
- "footnoteRef",
83
- "tab",
84
- "lineBreak"
85
- ]
86
- },
87
- "type": {
88
- "const": "node"
89
- }
90
- },
91
- "required": [
92
- "type"
93
- ],
94
- "type": "object"
95
- },
96
- {
97
- "additionalProperties": false,
98
- "properties": {
99
- "nodeType": {
100
- "enum": [
101
- "paragraph",
102
- "heading",
103
- "listItem",
104
- "table",
105
- "tableRow",
106
- "tableCell",
107
- "image",
108
- "sdt",
109
- "run",
110
- "bookmark",
111
- "comment",
112
- "hyperlink",
113
- "footnoteRef",
114
- "tab",
115
- "lineBreak"
116
- ]
117
- }
118
- },
119
- "required": [
120
- "nodeType"
121
- ],
122
- "type": "object"
123
- }
124
- ]
23
+ "sessionId": {
24
+ "type": "string"
125
25
  },
126
26
  "within": {
127
27
  "oneOf": [
128
28
  {
129
- "additionalProperties": false,
29
+ "type": "object",
130
30
  "properties": {
131
31
  "kind": {
132
32
  "const": "block"
133
33
  },
134
- "nodeId": {
135
- "type": "string"
136
- },
137
34
  "nodeType": {
138
- "enum": [
139
- "paragraph",
140
- "heading",
141
- "listItem",
142
- "table",
143
- "tableRow",
144
- "tableCell",
145
- "image",
146
- "sdt"
35
+ "oneOf": [
36
+ {
37
+ "const": "paragraph"
38
+ },
39
+ {
40
+ "const": "heading"
41
+ },
42
+ {
43
+ "const": "listItem"
44
+ },
45
+ {
46
+ "const": "table"
47
+ },
48
+ {
49
+ "const": "tableRow"
50
+ },
51
+ {
52
+ "const": "tableCell"
53
+ },
54
+ {
55
+ "const": "image"
56
+ },
57
+ {
58
+ "const": "sdt"
59
+ }
147
60
  ]
61
+ },
62
+ "nodeId": {
63
+ "type": "string"
148
64
  }
149
65
  },
150
66
  "required": [
151
67
  "kind",
152
68
  "nodeType",
153
69
  "nodeId"
154
- ],
155
- "type": "object"
70
+ ]
156
71
  },
157
72
  {
158
- "additionalProperties": false,
73
+ "type": "object",
159
74
  "properties": {
75
+ "kind": {
76
+ "const": "inline"
77
+ },
78
+ "nodeType": {
79
+ "oneOf": [
80
+ {
81
+ "const": "run"
82
+ },
83
+ {
84
+ "const": "bookmark"
85
+ },
86
+ {
87
+ "const": "comment"
88
+ },
89
+ {
90
+ "const": "hyperlink"
91
+ },
92
+ {
93
+ "const": "sdt"
94
+ },
95
+ {
96
+ "const": "image"
97
+ },
98
+ {
99
+ "const": "footnoteRef"
100
+ },
101
+ {
102
+ "const": "tab"
103
+ },
104
+ {
105
+ "const": "lineBreak"
106
+ }
107
+ ]
108
+ },
160
109
  "anchor": {
161
- "additionalProperties": false,
110
+ "type": "object",
162
111
  "properties": {
163
- "end": {
164
- "additionalProperties": false,
112
+ "start": {
113
+ "type": "object",
165
114
  "properties": {
166
115
  "blockId": {
167
116
  "type": "string"
168
117
  },
169
118
  "offset": {
170
- "type": "integer"
119
+ "type": "number"
171
120
  }
172
121
  },
173
122
  "required": [
174
123
  "blockId",
175
124
  "offset"
176
- ],
177
- "type": "object"
125
+ ]
178
126
  },
179
- "start": {
180
- "additionalProperties": false,
127
+ "end": {
128
+ "type": "object",
181
129
  "properties": {
182
130
  "blockId": {
183
131
  "type": "string"
184
132
  },
185
133
  "offset": {
186
- "type": "integer"
134
+ "type": "number"
187
135
  }
188
136
  },
189
137
  "required": [
190
138
  "blockId",
191
139
  "offset"
192
- ],
193
- "type": "object"
140
+ ]
194
141
  }
195
142
  },
196
143
  "required": [
197
144
  "start",
198
145
  "end"
199
- ],
200
- "type": "object"
201
- },
202
- "kind": {
203
- "const": "inline"
204
- },
205
- "nodeType": {
206
- "enum": [
207
- "run",
208
- "bookmark",
209
- "comment",
210
- "hyperlink",
211
- "sdt",
212
- "image",
213
- "footnoteRef",
214
- "tab",
215
- "lineBreak"
216
146
  ]
217
147
  }
218
148
  },
@@ -220,16 +150,43 @@
220
150
  "kind",
221
151
  "nodeType",
222
152
  "anchor"
223
- ],
224
- "type": "object"
153
+ ]
225
154
  }
226
155
  ]
227
- }
156
+ },
157
+ "limit": {
158
+ "type": "number"
159
+ },
160
+ "offset": {
161
+ "type": "number"
162
+ },
163
+ "includeNodes": {
164
+ "type": "boolean"
165
+ },
166
+ "includeUnknown": {
167
+ "type": "boolean"
168
+ },
169
+ "type": {
170
+ "type": "string"
171
+ },
172
+ "nodeType": {
173
+ "type": "string"
174
+ },
175
+ "kind": {
176
+ "type": "string"
177
+ },
178
+ "pattern": {
179
+ "type": "string"
180
+ },
181
+ "mode": {
182
+ "type": "string"
183
+ },
184
+ "caseSensitive": {
185
+ "type": "boolean"
186
+ },
187
+ "query": {}
228
188
  },
229
- "required": [
230
- "select"
231
- ],
232
- "type": "object"
189
+ "additionalProperties": false
233
190
  },
234
191
  "outputSchema": {
235
192
  "additionalProperties": false,
@@ -752,106 +709,17 @@
752
709
  "source": "intent",
753
710
  "description": "Retrieve a single node by target position.",
754
711
  "inputSchema": {
755
- "oneOf": [
756
- {
757
- "additionalProperties": false,
758
- "properties": {
759
- "kind": {
760
- "const": "block"
761
- },
762
- "nodeId": {
763
- "type": "string"
764
- },
765
- "nodeType": {
766
- "enum": [
767
- "paragraph",
768
- "heading",
769
- "listItem",
770
- "table",
771
- "tableRow",
772
- "tableCell",
773
- "image",
774
- "sdt"
775
- ]
776
- }
777
- },
778
- "required": [
779
- "kind",
780
- "nodeType",
781
- "nodeId"
782
- ],
783
- "type": "object"
712
+ "type": "object",
713
+ "properties": {
714
+ "doc": {
715
+ "type": "string"
784
716
  },
785
- {
786
- "additionalProperties": false,
787
- "properties": {
788
- "anchor": {
789
- "additionalProperties": false,
790
- "properties": {
791
- "end": {
792
- "additionalProperties": false,
793
- "properties": {
794
- "blockId": {
795
- "type": "string"
796
- },
797
- "offset": {
798
- "type": "integer"
799
- }
800
- },
801
- "required": [
802
- "blockId",
803
- "offset"
804
- ],
805
- "type": "object"
806
- },
807
- "start": {
808
- "additionalProperties": false,
809
- "properties": {
810
- "blockId": {
811
- "type": "string"
812
- },
813
- "offset": {
814
- "type": "integer"
815
- }
816
- },
817
- "required": [
818
- "blockId",
819
- "offset"
820
- ],
821
- "type": "object"
822
- }
823
- },
824
- "required": [
825
- "start",
826
- "end"
827
- ],
828
- "type": "object"
829
- },
830
- "kind": {
831
- "const": "inline"
832
- },
833
- "nodeType": {
834
- "enum": [
835
- "run",
836
- "bookmark",
837
- "comment",
838
- "hyperlink",
839
- "sdt",
840
- "image",
841
- "footnoteRef",
842
- "tab",
843
- "lineBreak"
844
- ]
845
- }
846
- },
847
- "required": [
848
- "kind",
849
- "nodeType",
850
- "anchor"
851
- ],
852
- "type": "object"
853
- }
854
- ]
717
+ "sessionId": {
718
+ "type": "string"
719
+ },
720
+ "address": {}
721
+ },
722
+ "additionalProperties": false
855
723
  },
856
724
  "outputSchema": {
857
725
  "additionalProperties": false,
@@ -948,28 +816,25 @@
948
816
  "source": "intent",
949
817
  "description": "Retrieve a single node by its unique ID.",
950
818
  "inputSchema": {
951
- "additionalProperties": false,
819
+ "type": "object",
952
820
  "properties": {
953
- "nodeId": {
821
+ "doc": {
822
+ "type": "string"
823
+ },
824
+ "sessionId": {
825
+ "type": "string"
826
+ },
827
+ "id": {
954
828
  "type": "string"
955
829
  },
956
830
  "nodeType": {
957
- "enum": [
958
- "paragraph",
959
- "heading",
960
- "listItem",
961
- "table",
962
- "tableRow",
963
- "tableCell",
964
- "image",
965
- "sdt"
966
- ]
831
+ "type": "string"
967
832
  }
968
833
  },
969
834
  "required": [
970
- "nodeId"
835
+ "id"
971
836
  ],
972
- "type": "object"
837
+ "additionalProperties": false
973
838
  },
974
839
  "outputSchema": {
975
840
  "additionalProperties": false,
@@ -1066,9 +931,16 @@
1066
931
  "source": "intent",
1067
932
  "description": "Return document metadata including revision, node count, and capabilities.",
1068
933
  "inputSchema": {
1069
- "additionalProperties": false,
1070
- "properties": {},
1071
- "type": "object"
934
+ "type": "object",
935
+ "properties": {
936
+ "doc": {
937
+ "type": "string"
938
+ },
939
+ "sessionId": {
940
+ "type": "string"
941
+ }
942
+ },
943
+ "additionalProperties": false
1072
944
  },
1073
945
  "outputSchema": {
1074
946
  "additionalProperties": false,
@@ -1187,49 +1059,62 @@
1187
1059
  "source": "intent",
1188
1060
  "description": "Insert text or inline content at a target position.",
1189
1061
  "inputSchema": {
1190
- "additionalProperties": false,
1062
+ "type": "object",
1191
1063
  "properties": {
1064
+ "doc": {
1065
+ "type": "string"
1066
+ },
1067
+ "sessionId": {
1068
+ "type": "string"
1069
+ },
1070
+ "force": {
1071
+ "type": "boolean"
1072
+ },
1192
1073
  "target": {
1193
- "additionalProperties": false,
1074
+ "type": "object",
1194
1075
  "properties": {
1195
- "blockId": {
1196
- "type": "string"
1197
- },
1198
1076
  "kind": {
1199
1077
  "const": "text"
1200
1078
  },
1079
+ "blockId": {
1080
+ "type": "string"
1081
+ },
1201
1082
  "range": {
1202
- "additionalProperties": false,
1083
+ "type": "object",
1203
1084
  "properties": {
1204
- "end": {
1205
- "type": "integer"
1206
- },
1207
1085
  "start": {
1208
- "type": "integer"
1086
+ "type": "number"
1087
+ },
1088
+ "end": {
1089
+ "type": "number"
1209
1090
  }
1210
1091
  },
1211
1092
  "required": [
1212
1093
  "start",
1213
1094
  "end"
1214
- ],
1215
- "type": "object"
1095
+ ]
1216
1096
  }
1217
1097
  },
1218
1098
  "required": [
1219
1099
  "kind",
1220
1100
  "blockId",
1221
1101
  "range"
1222
- ],
1223
- "type": "object"
1102
+ ]
1224
1103
  },
1225
1104
  "text": {
1226
1105
  "type": "string"
1106
+ },
1107
+ "blockId": {
1108
+ "type": "string"
1109
+ },
1110
+ "offset": {
1111
+ "type": "number"
1227
1112
  }
1228
1113
  },
1229
1114
  "required": [
1230
1115
  "text"
1231
1116
  ],
1232
- "type": "object"
1117
+ "additionalProperties": false
1233
1118
  },
1234
1119
  "outputSchema": {
1235
1120
  "additionalProperties": false,
@@ -1514,50 +1399,65 @@
1514
1399
  "source": "intent",
1515
1400
  "description": "Replace content at a target position with new text or inline content.",
1516
1401
  "inputSchema": {
1517
- "additionalProperties": false,
1402
+ "type": "object",
1518
1403
  "properties": {
1404
+ "doc": {
1405
+ "type": "string"
1406
+ },
1407
+ "sessionId": {
1408
+ "type": "string"
1409
+ },
1410
+ "force": {
1411
+ "type": "boolean"
1412
+ },
1519
1413
  "target": {
1520
- "additionalProperties": false,
1414
+ "type": "object",
1521
1415
  "properties": {
1522
- "blockId": {
1523
- "type": "string"
1524
- },
1525
1416
  "kind": {
1526
1417
  "const": "text"
1527
1418
  },
1419
+ "blockId": {
1420
+ "type": "string"
1421
+ },
1528
1422
  "range": {
1529
- "additionalProperties": false,
1423
+ "type": "object",
1530
1424
  "properties": {
1531
- "end": {
1532
- "type": "integer"
1533
- },
1534
1425
  "start": {
1535
- "type": "integer"
1426
+ "type": "number"
1427
+ },
1428
+ "end": {
1429
+ "type": "number"
1536
1430
  }
1537
1431
  },
1538
1432
  "required": [
1539
1433
  "start",
1540
1434
  "end"
1541
- ],
1542
- "type": "object"
1435
+ ]
1543
1436
  }
1544
1437
  },
1545
1438
  "required": [
1546
1439
  "kind",
1547
1440
  "blockId",
1548
1441
  "range"
1549
- ],
1550
- "type": "object"
1442
+ ]
1551
1443
  },
1552
1444
  "text": {
1553
1445
  "type": "string"
1446
+ },
1447
+ "blockId": {
1448
+ "type": "string"
1449
+ },
1450
+ "start": {
1451
+ "type": "number"
1452
+ },
1453
+ "end": {
1454
+ "type": "number"
1554
1455
  }
1555
1456
  },
1556
1457
  "required": [
1557
- "target",
1558
1458
  "text"
1559
1459
  ],
1560
- "type": "object"
1460
+ "additionalProperties": false
1561
1461
  },
1562
1462
  "outputSchema": {
1563
1463
  "additionalProperties": false,
@@ -1842,46 +1742,59 @@
1842
1742
  "source": "intent",
1843
1743
  "description": "Delete content at a target position.",
1844
1744
  "inputSchema": {
1845
- "additionalProperties": false,
1745
+ "type": "object",
1846
1746
  "properties": {
1747
+ "doc": {
1748
+ "type": "string"
1749
+ },
1750
+ "sessionId": {
1751
+ "type": "string"
1752
+ },
1753
+ "force": {
1754
+ "type": "boolean"
1755
+ },
1847
1756
  "target": {
1848
- "additionalProperties": false,
1757
+ "type": "object",
1849
1758
  "properties": {
1850
- "blockId": {
1851
- "type": "string"
1852
- },
1853
1759
  "kind": {
1854
1760
  "const": "text"
1855
1761
  },
1762
+ "blockId": {
1763
+ "type": "string"
1764
+ },
1856
1765
  "range": {
1857
- "additionalProperties": false,
1766
+ "type": "object",
1858
1767
  "properties": {
1859
- "end": {
1860
- "type": "integer"
1861
- },
1862
1768
  "start": {
1863
- "type": "integer"
1769
+ "type": "number"
1770
+ },
1771
+ "end": {
1772
+ "type": "number"
1864
1773
  }
1865
1774
  },
1866
1775
  "required": [
1867
1776
  "start",
1868
1777
  "end"
1869
- ],
1870
- "type": "object"
1778
+ ]
1871
1779
  }
1872
1780
  },
1873
1781
  "required": [
1874
1782
  "kind",
1875
1783
  "blockId",
1876
1784
  "range"
1877
- ],
1878
- "type": "object"
1785
+ ]
1786
+ },
1787
+ "blockId": {
1788
+ "type": "string"
1789
+ },
1790
+ "start": {
1791
+ "type": "number"
1792
+ },
1793
+ "end": {
1794
+ "type": "number"
1879
1795
  }
1880
1796
  },
1881
- "required": [
1882
- "target"
1883
- ],
1884
- "type": "object"
1797
+ "additionalProperties": false
1885
1798
  },
1886
1799
  "outputSchema": {
1887
1800
  "additionalProperties": false,
@@ -2165,46 +2078,59 @@
2165
2078
  "source": "intent",
2166
2079
  "description": "Toggle bold formatting on the target range.",
2167
2080
  "inputSchema": {
2168
- "additionalProperties": false,
2081
+ "type": "object",
2169
2082
  "properties": {
2083
+ "doc": {
2084
+ "type": "string"
2085
+ },
2086
+ "sessionId": {
2087
+ "type": "string"
2088
+ },
2089
+ "force": {
2090
+ "type": "boolean"
2091
+ },
2170
2092
  "target": {
2171
- "additionalProperties": false,
2093
+ "type": "object",
2172
2094
  "properties": {
2173
- "blockId": {
2174
- "type": "string"
2175
- },
2176
2095
  "kind": {
2177
2096
  "const": "text"
2178
2097
  },
2098
+ "blockId": {
2099
+ "type": "string"
2100
+ },
2179
2101
  "range": {
2180
- "additionalProperties": false,
2102
+ "type": "object",
2181
2103
  "properties": {
2182
- "end": {
2183
- "type": "integer"
2184
- },
2185
2104
  "start": {
2186
- "type": "integer"
2105
+ "type": "number"
2106
+ },
2107
+ "end": {
2108
+ "type": "number"
2187
2109
  }
2188
2110
  },
2189
2111
  "required": [
2190
2112
  "start",
2191
2113
  "end"
2192
- ],
2193
- "type": "object"
2114
+ ]
2194
2115
  }
2195
2116
  },
2196
2117
  "required": [
2197
2118
  "kind",
2198
2119
  "blockId",
2199
2120
  "range"
2200
- ],
2201
- "type": "object"
2121
+ ]
2122
+ },
2123
+ "blockId": {
2124
+ "type": "string"
2125
+ },
2126
+ "start": {
2127
+ "type": "number"
2128
+ },
2129
+ "end": {
2130
+ "type": "number"
2202
2131
  }
2203
2132
  },
2204
- "required": [
2205
- "target"
2206
- ],
2207
- "type": "object"
2133
+ "additionalProperties": false
2208
2134
  },
2209
2135
  "outputSchema": {
2210
2136
  "additionalProperties": false,
@@ -2489,46 +2415,59 @@
2489
2415
  "source": "intent",
2490
2416
  "description": "Toggle italic formatting on the target range.",
2491
2417
  "inputSchema": {
2492
- "additionalProperties": false,
2418
+ "type": "object",
2493
2419
  "properties": {
2420
+ "doc": {
2421
+ "type": "string"
2422
+ },
2423
+ "sessionId": {
2424
+ "type": "string"
2425
+ },
2426
+ "force": {
2427
+ "type": "boolean"
2428
+ },
2494
2429
  "target": {
2495
- "additionalProperties": false,
2430
+ "type": "object",
2496
2431
  "properties": {
2497
- "blockId": {
2498
- "type": "string"
2499
- },
2500
2432
  "kind": {
2501
2433
  "const": "text"
2502
2434
  },
2435
+ "blockId": {
2436
+ "type": "string"
2437
+ },
2503
2438
  "range": {
2504
- "additionalProperties": false,
2439
+ "type": "object",
2505
2440
  "properties": {
2506
- "end": {
2507
- "type": "integer"
2508
- },
2509
2441
  "start": {
2510
- "type": "integer"
2442
+ "type": "number"
2443
+ },
2444
+ "end": {
2445
+ "type": "number"
2511
2446
  }
2512
2447
  },
2513
2448
  "required": [
2514
2449
  "start",
2515
2450
  "end"
2516
- ],
2517
- "type": "object"
2451
+ ]
2518
2452
  }
2519
2453
  },
2520
2454
  "required": [
2521
2455
  "kind",
2522
2456
  "blockId",
2523
2457
  "range"
2524
- ],
2525
- "type": "object"
2458
+ ]
2459
+ },
2460
+ "blockId": {
2461
+ "type": "string"
2462
+ },
2463
+ "start": {
2464
+ "type": "number"
2465
+ },
2466
+ "end": {
2467
+ "type": "number"
2526
2468
  }
2527
2469
  },
2528
- "required": [
2529
- "target"
2530
- ],
2531
- "type": "object"
2470
+ "additionalProperties": false
2532
2471
  },
2533
2472
  "outputSchema": {
2534
2473
  "additionalProperties": false,
@@ -2813,46 +2752,59 @@
2813
2752
  "source": "intent",
2814
2753
  "description": "Toggle underline formatting on the target range.",
2815
2754
  "inputSchema": {
2816
- "additionalProperties": false,
2755
+ "type": "object",
2817
2756
  "properties": {
2757
+ "doc": {
2758
+ "type": "string"
2759
+ },
2760
+ "sessionId": {
2761
+ "type": "string"
2762
+ },
2763
+ "force": {
2764
+ "type": "boolean"
2765
+ },
2818
2766
  "target": {
2819
- "additionalProperties": false,
2767
+ "type": "object",
2820
2768
  "properties": {
2821
- "blockId": {
2822
- "type": "string"
2823
- },
2824
2769
  "kind": {
2825
2770
  "const": "text"
2826
2771
  },
2772
+ "blockId": {
2773
+ "type": "string"
2774
+ },
2827
2775
  "range": {
2828
- "additionalProperties": false,
2776
+ "type": "object",
2829
2777
  "properties": {
2830
- "end": {
2831
- "type": "integer"
2832
- },
2833
2778
  "start": {
2834
- "type": "integer"
2779
+ "type": "number"
2780
+ },
2781
+ "end": {
2782
+ "type": "number"
2835
2783
  }
2836
2784
  },
2837
2785
  "required": [
2838
2786
  "start",
2839
2787
  "end"
2840
- ],
2841
- "type": "object"
2788
+ ]
2842
2789
  }
2843
2790
  },
2844
2791
  "required": [
2845
2792
  "kind",
2846
2793
  "blockId",
2847
2794
  "range"
2848
- ],
2849
- "type": "object"
2795
+ ]
2796
+ },
2797
+ "blockId": {
2798
+ "type": "string"
2799
+ },
2800
+ "start": {
2801
+ "type": "number"
2802
+ },
2803
+ "end": {
2804
+ "type": "number"
2850
2805
  }
2851
2806
  },
2852
- "required": [
2853
- "target"
2854
- ],
2855
- "type": "object"
2807
+ "additionalProperties": false
2856
2808
  },
2857
2809
  "outputSchema": {
2858
2810
  "additionalProperties": false,
@@ -3137,46 +3089,59 @@
3137
3089
  "source": "intent",
3138
3090
  "description": "Toggle strikethrough formatting on the target range.",
3139
3091
  "inputSchema": {
3140
- "additionalProperties": false,
3092
+ "type": "object",
3141
3093
  "properties": {
3094
+ "doc": {
3095
+ "type": "string"
3096
+ },
3097
+ "sessionId": {
3098
+ "type": "string"
3099
+ },
3100
+ "force": {
3101
+ "type": "boolean"
3102
+ },
3142
3103
  "target": {
3143
- "additionalProperties": false,
3104
+ "type": "object",
3144
3105
  "properties": {
3145
- "blockId": {
3146
- "type": "string"
3147
- },
3148
3106
  "kind": {
3149
3107
  "const": "text"
3150
3108
  },
3109
+ "blockId": {
3110
+ "type": "string"
3111
+ },
3151
3112
  "range": {
3152
- "additionalProperties": false,
3113
+ "type": "object",
3153
3114
  "properties": {
3154
- "end": {
3155
- "type": "integer"
3156
- },
3157
3115
  "start": {
3158
- "type": "integer"
3116
+ "type": "number"
3117
+ },
3118
+ "end": {
3119
+ "type": "number"
3159
3120
  }
3160
3121
  },
3161
3122
  "required": [
3162
3123
  "start",
3163
3124
  "end"
3164
- ],
3165
- "type": "object"
3125
+ ]
3166
3126
  }
3167
3127
  },
3168
3128
  "required": [
3169
3129
  "kind",
3170
3130
  "blockId",
3171
3131
  "range"
3172
- ],
3173
- "type": "object"
3132
+ ]
3133
+ },
3134
+ "blockId": {
3135
+ "type": "string"
3136
+ },
3137
+ "start": {
3138
+ "type": "number"
3139
+ },
3140
+ "end": {
3141
+ "type": "number"
3174
3142
  }
3175
3143
  },
3176
- "required": [
3177
- "target"
3178
- ],
3179
- "type": "object"
3144
+ "additionalProperties": false
3180
3145
  },
3181
3146
  "outputSchema": {
3182
3147
  "additionalProperties": false,
@@ -3461,12 +3426,21 @@
3461
3426
  "source": "intent",
3462
3427
  "description": "Create a new paragraph at the target position.",
3463
3428
  "inputSchema": {
3464
- "additionalProperties": false,
3429
+ "type": "object",
3465
3430
  "properties": {
3431
+ "doc": {
3432
+ "type": "string"
3433
+ },
3434
+ "sessionId": {
3435
+ "type": "string"
3436
+ },
3437
+ "force": {
3438
+ "type": "boolean"
3439
+ },
3466
3440
  "at": {
3467
3441
  "oneOf": [
3468
3442
  {
3469
- "additionalProperties": false,
3443
+ "type": "object",
3470
3444
  "properties": {
3471
3445
  "kind": {
3472
3446
  "const": "documentStart"
@@ -3474,11 +3448,10 @@
3474
3448
  },
3475
3449
  "required": [
3476
3450
  "kind"
3477
- ],
3478
- "type": "object"
3451
+ ]
3479
3452
  },
3480
3453
  {
3481
- "additionalProperties": false,
3454
+ "type": "object",
3482
3455
  "properties": {
3483
3456
  "kind": {
3484
3457
  "const": "documentEnd"
@@ -3486,100 +3459,36 @@
3486
3459
  },
3487
3460
  "required": [
3488
3461
  "kind"
3489
- ],
3490
- "type": "object"
3462
+ ]
3491
3463
  },
3492
3464
  {
3493
- "additionalProperties": false,
3494
- "properties": {
3495
- "kind": {
3496
- "const": "before"
3465
+ "oneOf": [
3466
+ {
3467
+ "type": "json"
3497
3468
  },
3498
- "target": {
3499
- "additionalProperties": false,
3500
- "properties": {
3501
- "kind": {
3502
- "const": "block"
3503
- },
3504
- "nodeId": {
3505
- "type": "string"
3506
- },
3507
- "nodeType": {
3508
- "enum": [
3509
- "paragraph",
3510
- "heading",
3511
- "listItem",
3512
- "table",
3513
- "tableRow",
3514
- "tableCell",
3515
- "image",
3516
- "sdt"
3517
- ]
3518
- }
3519
- },
3520
- "required": [
3521
- "kind",
3522
- "nodeType",
3523
- "nodeId"
3524
- ],
3525
- "type": "object"
3469
+ {
3470
+ "type": "json"
3526
3471
  }
3527
- },
3528
- "required": [
3529
- "kind",
3530
- "target"
3531
- ],
3532
- "type": "object"
3472
+ ]
3533
3473
  },
3534
3474
  {
3535
- "additionalProperties": false,
3536
- "properties": {
3537
- "kind": {
3538
- "const": "after"
3475
+ "oneOf": [
3476
+ {
3477
+ "type": "json"
3539
3478
  },
3540
- "target": {
3541
- "additionalProperties": false,
3542
- "properties": {
3543
- "kind": {
3544
- "const": "block"
3545
- },
3546
- "nodeId": {
3547
- "type": "string"
3548
- },
3549
- "nodeType": {
3550
- "enum": [
3551
- "paragraph",
3552
- "heading",
3553
- "listItem",
3554
- "table",
3555
- "tableRow",
3556
- "tableCell",
3557
- "image",
3558
- "sdt"
3559
- ]
3560
- }
3561
- },
3562
- "required": [
3563
- "kind",
3564
- "nodeType",
3565
- "nodeId"
3566
- ],
3567
- "type": "object"
3479
+ {
3480
+ "type": "json"
3568
3481
  }
3569
- },
3570
- "required": [
3571
- "kind",
3572
- "target"
3573
- ],
3574
- "type": "object"
3482
+ ]
3575
3483
  }
3576
3484
  ]
3577
3485
  },
3578
3486
  "text": {
3579
3487
  "type": "string"
3580
- }
3488
+ },
3489
+ "input": {}
3581
3490
  },
3582
- "type": "object"
3491
+ "additionalProperties": false
3583
3492
  },
3584
3493
  "outputSchema": {
3585
3494
  "additionalProperties": false,
@@ -3705,57 +3614,76 @@
3705
3614
  "source": "intent",
3706
3615
  "description": "List all list nodes in the document, optionally filtered by scope.",
3707
3616
  "inputSchema": {
3708
- "additionalProperties": false,
3617
+ "type": "object",
3709
3618
  "properties": {
3710
- "kind": {
3711
- "enum": [
3712
- "ordered",
3713
- "bullet"
3714
- ]
3715
- },
3716
- "level": {
3717
- "type": "integer"
3718
- },
3719
- "limit": {
3720
- "type": "integer"
3721
- },
3722
- "offset": {
3723
- "type": "integer"
3619
+ "doc": {
3620
+ "type": "string"
3724
3621
  },
3725
- "ordinal": {
3726
- "type": "integer"
3622
+ "sessionId": {
3623
+ "type": "string"
3727
3624
  },
3728
3625
  "within": {
3729
- "additionalProperties": false,
3626
+ "type": "object",
3730
3627
  "properties": {
3731
3628
  "kind": {
3732
3629
  "const": "block"
3733
3630
  },
3734
- "nodeId": {
3735
- "type": "string"
3736
- },
3737
3631
  "nodeType": {
3738
- "enum": [
3739
- "paragraph",
3740
- "heading",
3741
- "listItem",
3742
- "table",
3743
- "tableRow",
3744
- "tableCell",
3745
- "image",
3746
- "sdt"
3632
+ "oneOf": [
3633
+ {
3634
+ "const": "paragraph"
3635
+ },
3636
+ {
3637
+ "const": "heading"
3638
+ },
3639
+ {
3640
+ "const": "listItem"
3641
+ },
3642
+ {
3643
+ "const": "table"
3644
+ },
3645
+ {
3646
+ "const": "tableRow"
3647
+ },
3648
+ {
3649
+ "const": "tableCell"
3650
+ },
3651
+ {
3652
+ "const": "image"
3653
+ },
3654
+ {
3655
+ "const": "sdt"
3656
+ }
3747
3657
  ]
3658
+ },
3659
+ "nodeId": {
3660
+ "type": "string"
3748
3661
  }
3749
3662
  },
3750
3663
  "required": [
3751
3664
  "kind",
3752
3665
  "nodeType",
3753
3666
  "nodeId"
3754
- ],
3755
- "type": "object"
3756
- }
3667
+ ]
3668
+ },
3669
+ "limit": {
3670
+ "type": "number"
3671
+ },
3672
+ "offset": {
3673
+ "type": "number"
3674
+ },
3675
+ "kind": {
3676
+ "type": "string"
3677
+ },
3678
+ "level": {
3679
+ "type": "number"
3680
+ },
3681
+ "ordinal": {
3682
+ "type": "number"
3683
+ },
3684
+ "query": {}
3757
3685
  },
3758
- "type": "object"
3686
+ "additionalProperties": false
3759
3687
  },
3760
3688
  "outputSchema": {
3761
3689
  "additionalProperties": false,
@@ -3907,33 +3835,38 @@
3907
3835
  "source": "intent",
3908
3836
  "description": "Retrieve a specific list node by target.",
3909
3837
  "inputSchema": {
3910
- "additionalProperties": false,
3838
+ "type": "object",
3911
3839
  "properties": {
3840
+ "doc": {
3841
+ "type": "string"
3842
+ },
3843
+ "sessionId": {
3844
+ "type": "string"
3845
+ },
3912
3846
  "address": {
3913
- "additionalProperties": false,
3847
+ "type": "object",
3914
3848
  "properties": {
3915
3849
  "kind": {
3916
3850
  "const": "block"
3917
3851
  },
3918
- "nodeId": {
3919
- "type": "string"
3920
- },
3921
3852
  "nodeType": {
3922
3853
  "const": "listItem"
3854
+ },
3855
+ "nodeId": {
3856
+ "type": "string"
3923
3857
  }
3924
3858
  },
3925
3859
  "required": [
3926
3860
  "kind",
3927
3861
  "nodeType",
3928
3862
  "nodeId"
3929
- ],
3930
- "type": "object"
3863
+ ]
3931
3864
  }
3932
3865
  },
3933
3866
  "required": [
3934
3867
  "address"
3935
3868
  ],
3936
- "type": "object"
3869
+ "additionalProperties": false
3937
3870
  },
3938
3871
  "outputSchema": {
3939
3872
  "additionalProperties": false,
@@ -4017,43 +3950,48 @@
4017
3950
  "source": "intent",
4018
3951
  "description": "Insert a new list at the target position.",
4019
3952
  "inputSchema": {
4020
- "additionalProperties": false,
3953
+ "type": "object",
4021
3954
  "properties": {
4022
- "position": {
4023
- "enum": [
4024
- "before",
4025
- "after"
4026
- ]
3955
+ "doc": {
3956
+ "type": "string"
3957
+ },
3958
+ "sessionId": {
3959
+ "type": "string"
3960
+ },
3961
+ "force": {
3962
+ "type": "boolean"
4027
3963
  },
4028
3964
  "target": {
4029
- "additionalProperties": false,
3965
+ "type": "object",
4030
3966
  "properties": {
4031
3967
  "kind": {
4032
3968
  "const": "block"
4033
3969
  },
4034
- "nodeId": {
4035
- "type": "string"
4036
- },
4037
3970
  "nodeType": {
4038
3971
  "const": "listItem"
3972
+ },
3973
+ "nodeId": {
3974
+ "type": "string"
4039
3975
  }
4040
3976
  },
4041
3977
  "required": [
4042
3978
  "kind",
4043
3979
  "nodeType",
4044
3980
  "nodeId"
4045
- ],
4046
- "type": "object"
3981
+ ]
3982
+ },
3983
+ "nodeId": {
3984
+ "type": "string"
3985
+ },
3986
+ "position": {
3987
+ "type": "string"
4047
3988
  },
4048
3989
  "text": {
4049
3990
  "type": "string"
4050
- }
3991
+ },
3992
+ "input": {}
4051
3993
  },
4052
- "required": [
4053
- "target",
4054
- "position"
4055
- ],
4056
- "type": "object"
3994
+ "additionalProperties": false
4057
3995
  },
4058
3996
  "outputSchema": {
4059
3997
  "additionalProperties": false,
@@ -4180,40 +4118,45 @@
4180
4118
  "source": "intent",
4181
4119
  "description": "Change the list type (ordered, unordered) of a target list.",
4182
4120
  "inputSchema": {
4183
- "additionalProperties": false,
4121
+ "type": "object",
4184
4122
  "properties": {
4185
- "kind": {
4186
- "enum": [
4187
- "ordered",
4188
- "bullet"
4189
- ]
4123
+ "doc": {
4124
+ "type": "string"
4125
+ },
4126
+ "sessionId": {
4127
+ "type": "string"
4128
+ },
4129
+ "force": {
4130
+ "type": "boolean"
4190
4131
  },
4191
4132
  "target": {
4192
- "additionalProperties": false,
4133
+ "type": "object",
4193
4134
  "properties": {
4194
4135
  "kind": {
4195
4136
  "const": "block"
4196
4137
  },
4197
- "nodeId": {
4198
- "type": "string"
4199
- },
4200
4138
  "nodeType": {
4201
4139
  "const": "listItem"
4140
+ },
4141
+ "nodeId": {
4142
+ "type": "string"
4202
4143
  }
4203
4144
  },
4204
4145
  "required": [
4205
4146
  "kind",
4206
4147
  "nodeType",
4207
4148
  "nodeId"
4208
- ],
4209
- "type": "object"
4210
- }
4149
+ ]
4150
+ },
4151
+ "nodeId": {
4152
+ "type": "string"
4153
+ },
4154
+ "kind": {
4155
+ "type": "string"
4156
+ },
4157
+ "input": {}
4211
4158
  },
4212
- "required": [
4213
- "target",
4214
- "kind"
4215
- ],
4216
- "type": "object"
4159
+ "additionalProperties": false
4217
4160
  },
4218
4161
  "outputSchema": {
4219
4162
  "additionalProperties": false,
@@ -4284,33 +4227,42 @@
4284
4227
  "source": "intent",
4285
4228
  "description": "Increase the indentation level of a list item.",
4286
4229
  "inputSchema": {
4287
- "additionalProperties": false,
4230
+ "type": "object",
4288
4231
  "properties": {
4232
+ "doc": {
4233
+ "type": "string"
4234
+ },
4235
+ "sessionId": {
4236
+ "type": "string"
4237
+ },
4238
+ "force": {
4239
+ "type": "boolean"
4240
+ },
4289
4241
  "target": {
4290
- "additionalProperties": false,
4242
+ "type": "object",
4291
4243
  "properties": {
4292
4244
  "kind": {
4293
4245
  "const": "block"
4294
4246
  },
4295
- "nodeId": {
4296
- "type": "string"
4297
- },
4298
4247
  "nodeType": {
4299
4248
  "const": "listItem"
4249
+ },
4250
+ "nodeId": {
4251
+ "type": "string"
4300
4252
  }
4301
4253
  },
4302
4254
  "required": [
4303
4255
  "kind",
4304
4256
  "nodeType",
4305
4257
  "nodeId"
4306
- ],
4307
- "type": "object"
4308
- }
4258
+ ]
4259
+ },
4260
+ "nodeId": {
4261
+ "type": "string"
4262
+ },
4263
+ "input": {}
4309
4264
  },
4310
- "required": [
4311
- "target"
4312
- ],
4313
- "type": "object"
4265
+ "additionalProperties": false
4314
4266
  },
4315
4267
  "outputSchema": {
4316
4268
  "additionalProperties": false,
@@ -4381,33 +4333,42 @@
4381
4333
  "source": "intent",
4382
4334
  "description": "Decrease the indentation level of a list item.",
4383
4335
  "inputSchema": {
4384
- "additionalProperties": false,
4336
+ "type": "object",
4385
4337
  "properties": {
4338
+ "doc": {
4339
+ "type": "string"
4340
+ },
4341
+ "sessionId": {
4342
+ "type": "string"
4343
+ },
4344
+ "force": {
4345
+ "type": "boolean"
4346
+ },
4386
4347
  "target": {
4387
- "additionalProperties": false,
4348
+ "type": "object",
4388
4349
  "properties": {
4389
4350
  "kind": {
4390
4351
  "const": "block"
4391
4352
  },
4392
- "nodeId": {
4393
- "type": "string"
4394
- },
4395
4353
  "nodeType": {
4396
4354
  "const": "listItem"
4355
+ },
4356
+ "nodeId": {
4357
+ "type": "string"
4397
4358
  }
4398
4359
  },
4399
4360
  "required": [
4400
4361
  "kind",
4401
4362
  "nodeType",
4402
4363
  "nodeId"
4403
- ],
4404
- "type": "object"
4405
- }
4364
+ ]
4365
+ },
4366
+ "nodeId": {
4367
+ "type": "string"
4368
+ },
4369
+ "input": {}
4406
4370
  },
4407
- "required": [
4408
- "target"
4409
- ],
4410
- "type": "object"
4371
+ "additionalProperties": false
4411
4372
  },
4412
4373
  "outputSchema": {
4413
4374
  "additionalProperties": false,
@@ -4478,33 +4439,42 @@
4478
4439
  "source": "intent",
4479
4440
  "description": "Restart numbering of an ordered list at the target item.",
4480
4441
  "inputSchema": {
4481
- "additionalProperties": false,
4442
+ "type": "object",
4482
4443
  "properties": {
4444
+ "doc": {
4445
+ "type": "string"
4446
+ },
4447
+ "sessionId": {
4448
+ "type": "string"
4449
+ },
4450
+ "force": {
4451
+ "type": "boolean"
4452
+ },
4483
4453
  "target": {
4484
- "additionalProperties": false,
4454
+ "type": "object",
4485
4455
  "properties": {
4486
4456
  "kind": {
4487
4457
  "const": "block"
4488
4458
  },
4489
- "nodeId": {
4490
- "type": "string"
4491
- },
4492
4459
  "nodeType": {
4493
4460
  "const": "listItem"
4461
+ },
4462
+ "nodeId": {
4463
+ "type": "string"
4494
4464
  }
4495
4465
  },
4496
4466
  "required": [
4497
4467
  "kind",
4498
4468
  "nodeType",
4499
4469
  "nodeId"
4500
- ],
4501
- "type": "object"
4502
- }
4470
+ ]
4471
+ },
4472
+ "nodeId": {
4473
+ "type": "string"
4474
+ },
4475
+ "input": {}
4503
4476
  },
4504
- "required": [
4505
- "target"
4506
- ],
4507
- "type": "object"
4477
+ "additionalProperties": false
4508
4478
  },
4509
4479
  "outputSchema": {
4510
4480
  "additionalProperties": false,
@@ -4575,33 +4545,42 @@
4575
4545
  "source": "intent",
4576
4546
  "description": "Exit a list context, converting the target item to a paragraph.",
4577
4547
  "inputSchema": {
4578
- "additionalProperties": false,
4548
+ "type": "object",
4579
4549
  "properties": {
4550
+ "doc": {
4551
+ "type": "string"
4552
+ },
4553
+ "sessionId": {
4554
+ "type": "string"
4555
+ },
4556
+ "force": {
4557
+ "type": "boolean"
4558
+ },
4580
4559
  "target": {
4581
- "additionalProperties": false,
4560
+ "type": "object",
4582
4561
  "properties": {
4583
4562
  "kind": {
4584
4563
  "const": "block"
4585
4564
  },
4586
- "nodeId": {
4587
- "type": "string"
4588
- },
4589
4565
  "nodeType": {
4590
4566
  "const": "listItem"
4567
+ },
4568
+ "nodeId": {
4569
+ "type": "string"
4591
4570
  }
4592
4571
  },
4593
4572
  "required": [
4594
4573
  "kind",
4595
4574
  "nodeType",
4596
4575
  "nodeId"
4597
- ],
4598
- "type": "object"
4599
- }
4576
+ ]
4577
+ },
4578
+ "nodeId": {
4579
+ "type": "string"
4580
+ },
4581
+ "input": {}
4600
4582
  },
4601
- "required": [
4602
- "target"
4603
- ],
4604
- "type": "object"
4583
+ "additionalProperties": false
4605
4584
  },
4606
4585
  "outputSchema": {
4607
4586
  "additionalProperties": false,
@@ -4671,50 +4650,65 @@
4671
4650
  "source": "intent",
4672
4651
  "description": "Add a new comment thread anchored to a target range.",
4673
4652
  "inputSchema": {
4674
- "additionalProperties": false,
4653
+ "type": "object",
4675
4654
  "properties": {
4655
+ "doc": {
4656
+ "type": "string"
4657
+ },
4658
+ "sessionId": {
4659
+ "type": "string"
4660
+ },
4661
+ "force": {
4662
+ "type": "boolean"
4663
+ },
4676
4664
  "target": {
4677
- "additionalProperties": false,
4665
+ "type": "object",
4678
4666
  "properties": {
4679
- "blockId": {
4680
- "type": "string"
4681
- },
4682
4667
  "kind": {
4683
4668
  "const": "text"
4684
4669
  },
4670
+ "blockId": {
4671
+ "type": "string"
4672
+ },
4685
4673
  "range": {
4686
- "additionalProperties": false,
4674
+ "type": "object",
4687
4675
  "properties": {
4688
- "end": {
4689
- "type": "integer"
4690
- },
4691
4676
  "start": {
4692
- "type": "integer"
4677
+ "type": "number"
4678
+ },
4679
+ "end": {
4680
+ "type": "number"
4693
4681
  }
4694
4682
  },
4695
4683
  "required": [
4696
4684
  "start",
4697
4685
  "end"
4698
- ],
4699
- "type": "object"
4686
+ ]
4700
4687
  }
4701
4688
  },
4702
4689
  "required": [
4703
4690
  "kind",
4704
4691
  "blockId",
4705
4692
  "range"
4706
- ],
4707
- "type": "object"
4693
+ ]
4708
4694
  },
4709
4695
  "text": {
4710
4696
  "type": "string"
4697
+ },
4698
+ "blockId": {
4699
+ "type": "string"
4700
+ },
4701
+ "start": {
4702
+ "type": "number"
4703
+ },
4704
+ "end": {
4705
+ "type": "number"
4711
4706
  }
4712
4707
  },
4713
4708
  "required": [
4714
- "target",
4715
4709
  "text"
4716
4710
  ],
4717
- "type": "object"
4711
+ "additionalProperties": false
4718
4712
  },
4719
4713
  "outputSchema": {
4720
4714
  "additionalProperties": false,
@@ -4905,9 +4899,18 @@
4905
4899
  "source": "intent",
4906
4900
  "description": "Edit the content of an existing comment.",
4907
4901
  "inputSchema": {
4908
- "additionalProperties": false,
4902
+ "type": "object",
4909
4903
  "properties": {
4910
- "commentId": {
4904
+ "doc": {
4905
+ "type": "string"
4906
+ },
4907
+ "sessionId": {
4908
+ "type": "string"
4909
+ },
4910
+ "force": {
4911
+ "type": "boolean"
4912
+ },
4913
+ "id": {
4911
4914
  "type": "string"
4912
4915
  },
4913
4916
  "text": {
@@ -4915,10 +4918,10 @@
4915
4918
  }
4916
4919
  },
4917
4920
  "required": [
4918
- "commentId",
4921
+ "id",
4919
4922
  "text"
4920
4923
  ],
4921
- "type": "object"
4924
+ "additionalProperties": false
4922
4925
  },
4923
4926
  "outputSchema": {
4924
4927
  "additionalProperties": false,
@@ -5108,9 +5111,18 @@
5108
5111
  "source": "intent",
5109
5112
  "description": "Add a reply to an existing comment thread.",
5110
5113
  "inputSchema": {
5111
- "additionalProperties": false,
5114
+ "type": "object",
5112
5115
  "properties": {
5113
- "parentCommentId": {
5116
+ "doc": {
5117
+ "type": "string"
5118
+ },
5119
+ "sessionId": {
5120
+ "type": "string"
5121
+ },
5122
+ "force": {
5123
+ "type": "boolean"
5124
+ },
5125
+ "parentId": {
5114
5126
  "type": "string"
5115
5127
  },
5116
5128
  "text": {
@@ -5118,10 +5130,10 @@
5118
5130
  }
5119
5131
  },
5120
5132
  "required": [
5121
- "parentCommentId",
5133
+ "parentId",
5122
5134
  "text"
5123
5135
  ],
5124
- "type": "object"
5136
+ "additionalProperties": false
5125
5137
  },
5126
5138
  "outputSchema": {
5127
5139
  "additionalProperties": false,
@@ -5311,50 +5323,65 @@
5311
5323
  "source": "intent",
5312
5324
  "description": "Move a comment thread to a new anchor range.",
5313
5325
  "inputSchema": {
5314
- "additionalProperties": false,
5326
+ "type": "object",
5315
5327
  "properties": {
5316
- "commentId": {
5328
+ "doc": {
5329
+ "type": "string"
5330
+ },
5331
+ "sessionId": {
5332
+ "type": "string"
5333
+ },
5334
+ "force": {
5335
+ "type": "boolean"
5336
+ },
5337
+ "id": {
5317
5338
  "type": "string"
5318
5339
  },
5319
5340
  "target": {
5320
- "additionalProperties": false,
5341
+ "type": "object",
5321
5342
  "properties": {
5322
- "blockId": {
5323
- "type": "string"
5324
- },
5325
5343
  "kind": {
5326
5344
  "const": "text"
5327
5345
  },
5346
+ "blockId": {
5347
+ "type": "string"
5348
+ },
5328
5349
  "range": {
5329
- "additionalProperties": false,
5350
+ "type": "object",
5330
5351
  "properties": {
5331
- "end": {
5332
- "type": "integer"
5333
- },
5334
5352
  "start": {
5335
- "type": "integer"
5353
+ "type": "number"
5354
+ },
5355
+ "end": {
5356
+ "type": "number"
5336
5357
  }
5337
5358
  },
5338
5359
  "required": [
5339
5360
  "start",
5340
5361
  "end"
5341
- ],
5342
- "type": "object"
5362
+ ]
5343
5363
  }
5344
5364
  },
5345
5365
  "required": [
5346
5366
  "kind",
5347
5367
  "blockId",
5348
5368
  "range"
5349
- ],
5350
- "type": "object"
5369
+ ]
5370
+ },
5371
+ "blockId": {
5372
+ "type": "string"
5373
+ },
5374
+ "start": {
5375
+ "type": "number"
5376
+ },
5377
+ "end": {
5378
+ "type": "number"
5351
5379
  }
5352
5380
  },
5353
5381
  "required": [
5354
- "commentId",
5355
- "target"
5382
+ "id"
5356
5383
  ],
5357
- "type": "object"
5384
+ "additionalProperties": false
5358
5385
  },
5359
5386
  "outputSchema": {
5360
5387
  "additionalProperties": false,
@@ -5545,16 +5572,25 @@
5545
5572
  "source": "intent",
5546
5573
  "description": "Resolve or unresolve a comment thread.",
5547
5574
  "inputSchema": {
5548
- "additionalProperties": false,
5575
+ "type": "object",
5549
5576
  "properties": {
5550
- "commentId": {
5577
+ "doc": {
5578
+ "type": "string"
5579
+ },
5580
+ "sessionId": {
5581
+ "type": "string"
5582
+ },
5583
+ "force": {
5584
+ "type": "boolean"
5585
+ },
5586
+ "id": {
5551
5587
  "type": "string"
5552
5588
  }
5553
5589
  },
5554
5590
  "required": [
5555
- "commentId"
5591
+ "id"
5556
5592
  ],
5557
- "type": "object"
5593
+ "additionalProperties": false
5558
5594
  },
5559
5595
  "outputSchema": {
5560
5596
  "additionalProperties": false,
@@ -5744,16 +5780,25 @@
5744
5780
  "source": "intent",
5745
5781
  "description": "Remove a comment or reply by ID.",
5746
5782
  "inputSchema": {
5747
- "additionalProperties": false,
5783
+ "type": "object",
5748
5784
  "properties": {
5749
- "commentId": {
5785
+ "doc": {
5786
+ "type": "string"
5787
+ },
5788
+ "sessionId": {
5789
+ "type": "string"
5790
+ },
5791
+ "force": {
5792
+ "type": "boolean"
5793
+ },
5794
+ "id": {
5750
5795
  "type": "string"
5751
5796
  }
5752
5797
  },
5753
5798
  "required": [
5754
- "commentId"
5799
+ "id"
5755
5800
  ],
5756
- "type": "object"
5801
+ "additionalProperties": false
5757
5802
  },
5758
5803
  "outputSchema": {
5759
5804
  "additionalProperties": false,
@@ -5943,9 +5988,18 @@
5943
5988
  "source": "intent",
5944
5989
  "description": "Toggle the internal (private) flag on a comment thread.",
5945
5990
  "inputSchema": {
5946
- "additionalProperties": false,
5991
+ "type": "object",
5947
5992
  "properties": {
5948
- "commentId": {
5993
+ "doc": {
5994
+ "type": "string"
5995
+ },
5996
+ "sessionId": {
5997
+ "type": "string"
5998
+ },
5999
+ "force": {
6000
+ "type": "boolean"
6001
+ },
6002
+ "id": {
5949
6003
  "type": "string"
5950
6004
  },
5951
6005
  "isInternal": {
@@ -5953,10 +6007,10 @@
5953
6007
  }
5954
6008
  },
5955
6009
  "required": [
5956
- "commentId",
6010
+ "id",
5957
6011
  "isInternal"
5958
6012
  ],
5959
- "type": "object"
6013
+ "additionalProperties": false
5960
6014
  },
5961
6015
  "outputSchema": {
5962
6016
  "additionalProperties": false,
@@ -6147,19 +6201,28 @@
6147
6201
  "source": "intent",
6148
6202
  "description": "Set the active (focused) comment thread for UI highlighting.",
6149
6203
  "inputSchema": {
6150
- "additionalProperties": false,
6204
+ "type": "object",
6151
6205
  "properties": {
6206
+ "doc": {
6207
+ "type": "string"
6208
+ },
6209
+ "sessionId": {
6210
+ "type": "string"
6211
+ },
6212
+ "force": {
6213
+ "type": "boolean"
6214
+ },
6152
6215
  "commentId": {
6153
- "type": [
6154
- "string",
6155
- "null"
6156
- ]
6216
+ "type": "json"
6217
+ },
6218
+ "id": {
6219
+ "type": "string"
6220
+ },
6221
+ "clear": {
6222
+ "type": "boolean"
6157
6223
  }
6158
6224
  },
6159
- "required": [
6160
- "commentId"
6161
- ],
6162
- "type": "object"
6225
+ "additionalProperties": false
6163
6226
  },
6164
6227
  "outputSchema": {
6165
6228
  "additionalProperties": false,
@@ -6363,16 +6426,22 @@
6363
6426
  "source": "intent",
6364
6427
  "description": "Scroll the viewport to a comment thread by ID.",
6365
6428
  "inputSchema": {
6366
- "additionalProperties": false,
6429
+ "type": "object",
6367
6430
  "properties": {
6368
- "commentId": {
6431
+ "doc": {
6432
+ "type": "string"
6433
+ },
6434
+ "sessionId": {
6435
+ "type": "string"
6436
+ },
6437
+ "id": {
6369
6438
  "type": "string"
6370
6439
  }
6371
6440
  },
6372
6441
  "required": [
6373
- "commentId"
6442
+ "id"
6374
6443
  ],
6375
- "type": "object"
6444
+ "additionalProperties": false
6376
6445
  },
6377
6446
  "outputSchema": {
6378
6447
  "additionalProperties": false,
@@ -6557,16 +6626,22 @@
6557
6626
  "source": "intent",
6558
6627
  "description": "Retrieve a single comment thread by ID.",
6559
6628
  "inputSchema": {
6560
- "additionalProperties": false,
6629
+ "type": "object",
6561
6630
  "properties": {
6562
- "commentId": {
6631
+ "doc": {
6632
+ "type": "string"
6633
+ },
6634
+ "sessionId": {
6635
+ "type": "string"
6636
+ },
6637
+ "id": {
6563
6638
  "type": "string"
6564
6639
  }
6565
6640
  },
6566
6641
  "required": [
6567
- "commentId"
6642
+ "id"
6568
6643
  ],
6569
- "type": "object"
6644
+ "additionalProperties": false
6570
6645
  },
6571
6646
  "outputSchema": {
6572
6647
  "additionalProperties": false,
@@ -6692,13 +6767,19 @@
6692
6767
  "source": "intent",
6693
6768
  "description": "List all comment threads in the document.",
6694
6769
  "inputSchema": {
6695
- "additionalProperties": false,
6770
+ "type": "object",
6696
6771
  "properties": {
6772
+ "doc": {
6773
+ "type": "string"
6774
+ },
6775
+ "sessionId": {
6776
+ "type": "string"
6777
+ },
6697
6778
  "includeResolved": {
6698
6779
  "type": "boolean"
6699
6780
  }
6700
6781
  },
6701
- "type": "object"
6782
+ "additionalProperties": false
6702
6783
  },
6703
6784
  "outputSchema": {
6704
6785
  "additionalProperties": false,
@@ -6840,23 +6921,25 @@
6840
6921
  "source": "intent",
6841
6922
  "description": "List all tracked changes in the document.",
6842
6923
  "inputSchema": {
6843
- "additionalProperties": false,
6924
+ "type": "object",
6844
6925
  "properties": {
6926
+ "doc": {
6927
+ "type": "string"
6928
+ },
6929
+ "sessionId": {
6930
+ "type": "string"
6931
+ },
6845
6932
  "limit": {
6846
- "type": "integer"
6933
+ "type": "number"
6847
6934
  },
6848
6935
  "offset": {
6849
- "type": "integer"
6936
+ "type": "number"
6850
6937
  },
6851
6938
  "type": {
6852
- "enum": [
6853
- "insert",
6854
- "delete",
6855
- "format"
6856
- ]
6939
+ "type": "string"
6857
6940
  }
6858
6941
  },
6859
- "type": "object"
6942
+ "additionalProperties": false
6860
6943
  },
6861
6944
  "outputSchema": {
6862
6945
  "additionalProperties": false,
@@ -6983,8 +7066,14 @@
6983
7066
  "source": "intent",
6984
7067
  "description": "Retrieve a single tracked change by ID.",
6985
7068
  "inputSchema": {
6986
- "additionalProperties": false,
7069
+ "type": "object",
6987
7070
  "properties": {
7071
+ "doc": {
7072
+ "type": "string"
7073
+ },
7074
+ "sessionId": {
7075
+ "type": "string"
7076
+ },
6988
7077
  "id": {
6989
7078
  "type": "string"
6990
7079
  }
@@ -6992,7 +7081,7 @@
6992
7081
  "required": [
6993
7082
  "id"
6994
7083
  ],
6995
- "type": "object"
7084
+ "additionalProperties": false
6996
7085
  },
6997
7086
  "outputSchema": {
6998
7087
  "additionalProperties": false,
@@ -7080,8 +7169,17 @@
7080
7169
  "source": "intent",
7081
7170
  "description": "Accept a tracked change, applying it permanently.",
7082
7171
  "inputSchema": {
7083
- "additionalProperties": false,
7172
+ "type": "object",
7084
7173
  "properties": {
7174
+ "doc": {
7175
+ "type": "string"
7176
+ },
7177
+ "sessionId": {
7178
+ "type": "string"
7179
+ },
7180
+ "force": {
7181
+ "type": "boolean"
7182
+ },
7085
7183
  "id": {
7086
7184
  "type": "string"
7087
7185
  }
@@ -7089,7 +7187,7 @@
7089
7187
  "required": [
7090
7188
  "id"
7091
7189
  ],
7092
- "type": "object"
7190
+ "additionalProperties": false
7093
7191
  },
7094
7192
  "outputSchema": {
7095
7193
  "additionalProperties": false,
@@ -7279,8 +7377,17 @@
7279
7377
  "source": "intent",
7280
7378
  "description": "Reject a tracked change, reverting it.",
7281
7379
  "inputSchema": {
7282
- "additionalProperties": false,
7380
+ "type": "object",
7283
7381
  "properties": {
7382
+ "doc": {
7383
+ "type": "string"
7384
+ },
7385
+ "sessionId": {
7386
+ "type": "string"
7387
+ },
7388
+ "force": {
7389
+ "type": "boolean"
7390
+ },
7284
7391
  "id": {
7285
7392
  "type": "string"
7286
7393
  }
@@ -7288,7 +7395,7 @@
7288
7395
  "required": [
7289
7396
  "id"
7290
7397
  ],
7291
- "type": "object"
7398
+ "additionalProperties": false
7292
7399
  },
7293
7400
  "outputSchema": {
7294
7401
  "additionalProperties": false,
@@ -7478,9 +7585,19 @@
7478
7585
  "source": "intent",
7479
7586
  "description": "Accept all tracked changes in the document.",
7480
7587
  "inputSchema": {
7481
- "additionalProperties": false,
7482
- "properties": {},
7483
- "type": "object"
7588
+ "type": "object",
7589
+ "properties": {
7590
+ "doc": {
7591
+ "type": "string"
7592
+ },
7593
+ "sessionId": {
7594
+ "type": "string"
7595
+ },
7596
+ "force": {
7597
+ "type": "boolean"
7598
+ }
7599
+ },
7600
+ "additionalProperties": false
7484
7601
  },
7485
7602
  "outputSchema": {
7486
7603
  "additionalProperties": false,
@@ -7670,9 +7787,19 @@
7670
7787
  "source": "intent",
7671
7788
  "description": "Reject all tracked changes in the document.",
7672
7789
  "inputSchema": {
7673
- "additionalProperties": false,
7674
- "properties": {},
7675
- "type": "object"
7790
+ "type": "object",
7791
+ "properties": {
7792
+ "doc": {
7793
+ "type": "string"
7794
+ },
7795
+ "sessionId": {
7796
+ "type": "string"
7797
+ },
7798
+ "force": {
7799
+ "type": "boolean"
7800
+ }
7801
+ },
7802
+ "additionalProperties": false
7676
7803
  },
7677
7804
  "outputSchema": {
7678
7805
  "additionalProperties": false,
@@ -8598,204 +8725,134 @@
8598
8725
  "source": "operation",
8599
8726
  "description": "Search the document for nodes matching type, text, or attribute criteria.",
8600
8727
  "inputSchema": {
8601
- "additionalProperties": false,
8728
+ "type": "object",
8602
8729
  "properties": {
8603
- "includeNodes": {
8604
- "type": "boolean"
8605
- },
8606
- "includeUnknown": {
8607
- "type": "boolean"
8608
- },
8609
- "limit": {
8610
- "type": "integer"
8611
- },
8612
- "offset": {
8613
- "type": "integer"
8730
+ "doc": {
8731
+ "type": "string"
8614
8732
  },
8615
- "select": {
8616
- "anyOf": [
8617
- {
8618
- "additionalProperties": false,
8619
- "properties": {
8620
- "caseSensitive": {
8621
- "type": "boolean"
8622
- },
8623
- "mode": {
8624
- "enum": [
8625
- "contains",
8626
- "regex"
8627
- ]
8628
- },
8629
- "pattern": {
8630
- "type": "string"
8631
- },
8632
- "type": {
8633
- "const": "text"
8634
- }
8635
- },
8636
- "required": [
8637
- "type",
8638
- "pattern"
8639
- ],
8640
- "type": "object"
8641
- },
8642
- {
8643
- "additionalProperties": false,
8644
- "properties": {
8645
- "kind": {
8646
- "enum": [
8647
- "block",
8648
- "inline"
8649
- ]
8650
- },
8651
- "nodeType": {
8652
- "enum": [
8653
- "paragraph",
8654
- "heading",
8655
- "listItem",
8656
- "table",
8657
- "tableRow",
8658
- "tableCell",
8659
- "image",
8660
- "sdt",
8661
- "run",
8662
- "bookmark",
8663
- "comment",
8664
- "hyperlink",
8665
- "footnoteRef",
8666
- "tab",
8667
- "lineBreak"
8668
- ]
8669
- },
8670
- "type": {
8671
- "const": "node"
8672
- }
8673
- },
8674
- "required": [
8675
- "type"
8676
- ],
8677
- "type": "object"
8678
- },
8679
- {
8680
- "additionalProperties": false,
8681
- "properties": {
8682
- "nodeType": {
8683
- "enum": [
8684
- "paragraph",
8685
- "heading",
8686
- "listItem",
8687
- "table",
8688
- "tableRow",
8689
- "tableCell",
8690
- "image",
8691
- "sdt",
8692
- "run",
8693
- "bookmark",
8694
- "comment",
8695
- "hyperlink",
8696
- "footnoteRef",
8697
- "tab",
8698
- "lineBreak"
8699
- ]
8700
- }
8701
- },
8702
- "required": [
8703
- "nodeType"
8704
- ],
8705
- "type": "object"
8706
- }
8707
- ]
8733
+ "sessionId": {
8734
+ "type": "string"
8708
8735
  },
8709
8736
  "within": {
8710
8737
  "oneOf": [
8711
8738
  {
8712
- "additionalProperties": false,
8739
+ "type": "object",
8713
8740
  "properties": {
8714
8741
  "kind": {
8715
8742
  "const": "block"
8716
8743
  },
8717
- "nodeId": {
8718
- "type": "string"
8719
- },
8720
8744
  "nodeType": {
8721
- "enum": [
8722
- "paragraph",
8723
- "heading",
8724
- "listItem",
8725
- "table",
8726
- "tableRow",
8727
- "tableCell",
8728
- "image",
8729
- "sdt"
8745
+ "oneOf": [
8746
+ {
8747
+ "const": "paragraph"
8748
+ },
8749
+ {
8750
+ "const": "heading"
8751
+ },
8752
+ {
8753
+ "const": "listItem"
8754
+ },
8755
+ {
8756
+ "const": "table"
8757
+ },
8758
+ {
8759
+ "const": "tableRow"
8760
+ },
8761
+ {
8762
+ "const": "tableCell"
8763
+ },
8764
+ {
8765
+ "const": "image"
8766
+ },
8767
+ {
8768
+ "const": "sdt"
8769
+ }
8730
8770
  ]
8771
+ },
8772
+ "nodeId": {
8773
+ "type": "string"
8731
8774
  }
8732
8775
  },
8733
8776
  "required": [
8734
8777
  "kind",
8735
8778
  "nodeType",
8736
8779
  "nodeId"
8737
- ],
8738
- "type": "object"
8780
+ ]
8739
8781
  },
8740
8782
  {
8741
- "additionalProperties": false,
8783
+ "type": "object",
8742
8784
  "properties": {
8785
+ "kind": {
8786
+ "const": "inline"
8787
+ },
8788
+ "nodeType": {
8789
+ "oneOf": [
8790
+ {
8791
+ "const": "run"
8792
+ },
8793
+ {
8794
+ "const": "bookmark"
8795
+ },
8796
+ {
8797
+ "const": "comment"
8798
+ },
8799
+ {
8800
+ "const": "hyperlink"
8801
+ },
8802
+ {
8803
+ "const": "sdt"
8804
+ },
8805
+ {
8806
+ "const": "image"
8807
+ },
8808
+ {
8809
+ "const": "footnoteRef"
8810
+ },
8811
+ {
8812
+ "const": "tab"
8813
+ },
8814
+ {
8815
+ "const": "lineBreak"
8816
+ }
8817
+ ]
8818
+ },
8743
8819
  "anchor": {
8744
- "additionalProperties": false,
8820
+ "type": "object",
8745
8821
  "properties": {
8746
- "end": {
8747
- "additionalProperties": false,
8822
+ "start": {
8823
+ "type": "object",
8748
8824
  "properties": {
8749
8825
  "blockId": {
8750
8826
  "type": "string"
8751
8827
  },
8752
8828
  "offset": {
8753
- "type": "integer"
8829
+ "type": "number"
8754
8830
  }
8755
8831
  },
8756
8832
  "required": [
8757
8833
  "blockId",
8758
8834
  "offset"
8759
- ],
8760
- "type": "object"
8835
+ ]
8761
8836
  },
8762
- "start": {
8763
- "additionalProperties": false,
8837
+ "end": {
8838
+ "type": "object",
8764
8839
  "properties": {
8765
8840
  "blockId": {
8766
8841
  "type": "string"
8767
8842
  },
8768
8843
  "offset": {
8769
- "type": "integer"
8844
+ "type": "number"
8770
8845
  }
8771
8846
  },
8772
8847
  "required": [
8773
8848
  "blockId",
8774
8849
  "offset"
8775
- ],
8776
- "type": "object"
8850
+ ]
8777
8851
  }
8778
8852
  },
8779
8853
  "required": [
8780
8854
  "start",
8781
8855
  "end"
8782
- ],
8783
- "type": "object"
8784
- },
8785
- "kind": {
8786
- "const": "inline"
8787
- },
8788
- "nodeType": {
8789
- "enum": [
8790
- "run",
8791
- "bookmark",
8792
- "comment",
8793
- "hyperlink",
8794
- "sdt",
8795
- "image",
8796
- "footnoteRef",
8797
- "tab",
8798
- "lineBreak"
8799
8856
  ]
8800
8857
  }
8801
8858
  },
@@ -8803,16 +8860,43 @@
8803
8860
  "kind",
8804
8861
  "nodeType",
8805
8862
  "anchor"
8806
- ],
8807
- "type": "object"
8863
+ ]
8808
8864
  }
8809
8865
  ]
8810
- }
8866
+ },
8867
+ "limit": {
8868
+ "type": "number"
8869
+ },
8870
+ "offset": {
8871
+ "type": "number"
8872
+ },
8873
+ "includeNodes": {
8874
+ "type": "boolean"
8875
+ },
8876
+ "includeUnknown": {
8877
+ "type": "boolean"
8878
+ },
8879
+ "type": {
8880
+ "type": "string"
8881
+ },
8882
+ "nodeType": {
8883
+ "type": "string"
8884
+ },
8885
+ "kind": {
8886
+ "type": "string"
8887
+ },
8888
+ "pattern": {
8889
+ "type": "string"
8890
+ },
8891
+ "mode": {
8892
+ "type": "string"
8893
+ },
8894
+ "caseSensitive": {
8895
+ "type": "boolean"
8896
+ },
8897
+ "query": {}
8811
8898
  },
8812
- "required": [
8813
- "select"
8814
- ],
8815
- "type": "object"
8899
+ "additionalProperties": false
8816
8900
  },
8817
8901
  "outputSchema": {
8818
8902
  "additionalProperties": false,
@@ -9302,139 +9386,50 @@
9302
9386
  "stateless-doc"
9303
9387
  ],
9304
9388
  "constraints": {
9305
- "requiresOneOf": [
9306
- [
9307
- "type",
9308
- "query"
9309
- ]
9310
- ],
9311
- "mutuallyExclusive": [
9312
- [
9313
- "type",
9314
- "query"
9315
- ]
9316
- ]
9317
- },
9318
- "errors": [],
9319
- "examples": [],
9320
- "commandTokens": [
9321
- "find"
9322
- ],
9323
- "profileTags": [],
9324
- "requiredCapabilities": [],
9325
- "sessionRequirements": {
9326
- "requiresOpenContext": true,
9327
- "supportsSessionTargeting": true
9328
- }
9329
- },
9330
- {
9331
- "operationId": "doc.getNode",
9332
- "toolName": "doc_getNode",
9333
- "profile": "operation",
9334
- "source": "operation",
9335
- "description": "Retrieve a single node by target position.",
9336
- "inputSchema": {
9337
- "oneOf": [
9338
- {
9339
- "additionalProperties": false,
9340
- "properties": {
9341
- "kind": {
9342
- "const": "block"
9343
- },
9344
- "nodeId": {
9345
- "type": "string"
9346
- },
9347
- "nodeType": {
9348
- "enum": [
9349
- "paragraph",
9350
- "heading",
9351
- "listItem",
9352
- "table",
9353
- "tableRow",
9354
- "tableCell",
9355
- "image",
9356
- "sdt"
9357
- ]
9358
- }
9359
- },
9360
- "required": [
9361
- "kind",
9362
- "nodeType",
9363
- "nodeId"
9364
- ],
9365
- "type": "object"
9366
- },
9367
- {
9368
- "additionalProperties": false,
9369
- "properties": {
9370
- "anchor": {
9371
- "additionalProperties": false,
9372
- "properties": {
9373
- "end": {
9374
- "additionalProperties": false,
9375
- "properties": {
9376
- "blockId": {
9377
- "type": "string"
9378
- },
9379
- "offset": {
9380
- "type": "integer"
9381
- }
9382
- },
9383
- "required": [
9384
- "blockId",
9385
- "offset"
9386
- ],
9387
- "type": "object"
9388
- },
9389
- "start": {
9390
- "additionalProperties": false,
9391
- "properties": {
9392
- "blockId": {
9393
- "type": "string"
9394
- },
9395
- "offset": {
9396
- "type": "integer"
9397
- }
9398
- },
9399
- "required": [
9400
- "blockId",
9401
- "offset"
9402
- ],
9403
- "type": "object"
9404
- }
9405
- },
9406
- "required": [
9407
- "start",
9408
- "end"
9409
- ],
9410
- "type": "object"
9411
- },
9412
- "kind": {
9413
- "const": "inline"
9414
- },
9415
- "nodeType": {
9416
- "enum": [
9417
- "run",
9418
- "bookmark",
9419
- "comment",
9420
- "hyperlink",
9421
- "sdt",
9422
- "image",
9423
- "footnoteRef",
9424
- "tab",
9425
- "lineBreak"
9426
- ]
9427
- }
9428
- },
9429
- "required": [
9430
- "kind",
9431
- "nodeType",
9432
- "anchor"
9433
- ],
9434
- "type": "object"
9435
- }
9389
+ "requiresOneOf": [
9390
+ [
9391
+ "type",
9392
+ "query"
9393
+ ]
9394
+ ],
9395
+ "mutuallyExclusive": [
9396
+ [
9397
+ "type",
9398
+ "query"
9399
+ ]
9436
9400
  ]
9437
9401
  },
9402
+ "errors": [],
9403
+ "examples": [],
9404
+ "commandTokens": [
9405
+ "find"
9406
+ ],
9407
+ "profileTags": [],
9408
+ "requiredCapabilities": [],
9409
+ "sessionRequirements": {
9410
+ "requiresOpenContext": true,
9411
+ "supportsSessionTargeting": true
9412
+ }
9413
+ },
9414
+ {
9415
+ "operationId": "doc.getNode",
9416
+ "toolName": "doc_getNode",
9417
+ "profile": "operation",
9418
+ "source": "operation",
9419
+ "description": "Retrieve a single node by target position.",
9420
+ "inputSchema": {
9421
+ "type": "object",
9422
+ "properties": {
9423
+ "doc": {
9424
+ "type": "string"
9425
+ },
9426
+ "sessionId": {
9427
+ "type": "string"
9428
+ },
9429
+ "address": {}
9430
+ },
9431
+ "additionalProperties": false
9432
+ },
9438
9433
  "outputSchema": {
9439
9434
  "additionalProperties": false,
9440
9435
  "properties": {
@@ -9529,28 +9524,25 @@
9529
9524
  "source": "operation",
9530
9525
  "description": "Retrieve a single node by its unique ID.",
9531
9526
  "inputSchema": {
9532
- "additionalProperties": false,
9527
+ "type": "object",
9533
9528
  "properties": {
9534
- "nodeId": {
9529
+ "doc": {
9530
+ "type": "string"
9531
+ },
9532
+ "sessionId": {
9533
+ "type": "string"
9534
+ },
9535
+ "id": {
9535
9536
  "type": "string"
9536
9537
  },
9537
9538
  "nodeType": {
9538
- "enum": [
9539
- "paragraph",
9540
- "heading",
9541
- "listItem",
9542
- "table",
9543
- "tableRow",
9544
- "tableCell",
9545
- "image",
9546
- "sdt"
9547
- ]
9539
+ "type": "string"
9548
9540
  }
9549
9541
  },
9550
9542
  "required": [
9551
- "nodeId"
9543
+ "id"
9552
9544
  ],
9553
- "type": "object"
9545
+ "additionalProperties": false
9554
9546
  },
9555
9547
  "outputSchema": {
9556
9548
  "additionalProperties": false,
@@ -9646,9 +9638,16 @@
9646
9638
  "source": "operation",
9647
9639
  "description": "Return document metadata including revision, node count, and capabilities.",
9648
9640
  "inputSchema": {
9649
- "additionalProperties": false,
9650
- "properties": {},
9651
- "type": "object"
9641
+ "type": "object",
9642
+ "properties": {
9643
+ "doc": {
9644
+ "type": "string"
9645
+ },
9646
+ "sessionId": {
9647
+ "type": "string"
9648
+ }
9649
+ },
9650
+ "additionalProperties": false
9652
9651
  },
9653
9652
  "outputSchema": {
9654
9653
  "additionalProperties": false,
@@ -9766,49 +9765,62 @@
9766
9765
  "source": "operation",
9767
9766
  "description": "Insert text or inline content at a target position.",
9768
9767
  "inputSchema": {
9769
- "additionalProperties": false,
9768
+ "type": "object",
9770
9769
  "properties": {
9770
+ "doc": {
9771
+ "type": "string"
9772
+ },
9773
+ "sessionId": {
9774
+ "type": "string"
9775
+ },
9776
+ "force": {
9777
+ "type": "boolean"
9778
+ },
9771
9779
  "target": {
9772
- "additionalProperties": false,
9780
+ "type": "object",
9773
9781
  "properties": {
9774
- "blockId": {
9775
- "type": "string"
9776
- },
9777
9782
  "kind": {
9778
9783
  "const": "text"
9779
9784
  },
9785
+ "blockId": {
9786
+ "type": "string"
9787
+ },
9780
9788
  "range": {
9781
- "additionalProperties": false,
9789
+ "type": "object",
9782
9790
  "properties": {
9783
- "end": {
9784
- "type": "integer"
9785
- },
9786
9791
  "start": {
9787
- "type": "integer"
9792
+ "type": "number"
9793
+ },
9794
+ "end": {
9795
+ "type": "number"
9788
9796
  }
9789
9797
  },
9790
9798
  "required": [
9791
9799
  "start",
9792
9800
  "end"
9793
- ],
9794
- "type": "object"
9801
+ ]
9795
9802
  }
9796
9803
  },
9797
9804
  "required": [
9798
9805
  "kind",
9799
9806
  "blockId",
9800
9807
  "range"
9801
- ],
9802
- "type": "object"
9808
+ ]
9803
9809
  },
9804
9810
  "text": {
9805
9811
  "type": "string"
9812
+ },
9813
+ "blockId": {
9814
+ "type": "string"
9815
+ },
9816
+ "offset": {
9817
+ "type": "number"
9806
9818
  }
9807
9819
  },
9808
9820
  "required": [
9809
9821
  "text"
9810
9822
  ],
9811
- "type": "object"
9823
+ "additionalProperties": false
9812
9824
  },
9813
9825
  "outputSchema": {
9814
9826
  "additionalProperties": false,
@@ -10092,50 +10104,65 @@
10092
10104
  "source": "operation",
10093
10105
  "description": "Replace content at a target position with new text or inline content.",
10094
10106
  "inputSchema": {
10095
- "additionalProperties": false,
10107
+ "type": "object",
10096
10108
  "properties": {
10109
+ "doc": {
10110
+ "type": "string"
10111
+ },
10112
+ "sessionId": {
10113
+ "type": "string"
10114
+ },
10115
+ "force": {
10116
+ "type": "boolean"
10117
+ },
10097
10118
  "target": {
10098
- "additionalProperties": false,
10119
+ "type": "object",
10099
10120
  "properties": {
10100
- "blockId": {
10101
- "type": "string"
10102
- },
10103
10121
  "kind": {
10104
10122
  "const": "text"
10105
10123
  },
10124
+ "blockId": {
10125
+ "type": "string"
10126
+ },
10106
10127
  "range": {
10107
- "additionalProperties": false,
10128
+ "type": "object",
10108
10129
  "properties": {
10109
- "end": {
10110
- "type": "integer"
10111
- },
10112
10130
  "start": {
10113
- "type": "integer"
10131
+ "type": "number"
10132
+ },
10133
+ "end": {
10134
+ "type": "number"
10114
10135
  }
10115
10136
  },
10116
10137
  "required": [
10117
10138
  "start",
10118
10139
  "end"
10119
- ],
10120
- "type": "object"
10140
+ ]
10121
10141
  }
10122
10142
  },
10123
10143
  "required": [
10124
10144
  "kind",
10125
10145
  "blockId",
10126
10146
  "range"
10127
- ],
10128
- "type": "object"
10147
+ ]
10129
10148
  },
10130
10149
  "text": {
10131
10150
  "type": "string"
10151
+ },
10152
+ "blockId": {
10153
+ "type": "string"
10154
+ },
10155
+ "start": {
10156
+ "type": "number"
10157
+ },
10158
+ "end": {
10159
+ "type": "number"
10132
10160
  }
10133
10161
  },
10134
10162
  "required": [
10135
- "target",
10136
10163
  "text"
10137
10164
  ],
10138
- "type": "object"
10165
+ "additionalProperties": false
10139
10166
  },
10140
10167
  "outputSchema": {
10141
10168
  "additionalProperties": false,
@@ -10419,46 +10446,59 @@
10419
10446
  "source": "operation",
10420
10447
  "description": "Delete content at a target position.",
10421
10448
  "inputSchema": {
10422
- "additionalProperties": false,
10449
+ "type": "object",
10423
10450
  "properties": {
10451
+ "doc": {
10452
+ "type": "string"
10453
+ },
10454
+ "sessionId": {
10455
+ "type": "string"
10456
+ },
10457
+ "force": {
10458
+ "type": "boolean"
10459
+ },
10424
10460
  "target": {
10425
- "additionalProperties": false,
10461
+ "type": "object",
10426
10462
  "properties": {
10427
- "blockId": {
10428
- "type": "string"
10429
- },
10430
10463
  "kind": {
10431
10464
  "const": "text"
10432
10465
  },
10466
+ "blockId": {
10467
+ "type": "string"
10468
+ },
10433
10469
  "range": {
10434
- "additionalProperties": false,
10470
+ "type": "object",
10435
10471
  "properties": {
10436
- "end": {
10437
- "type": "integer"
10438
- },
10439
10472
  "start": {
10440
- "type": "integer"
10473
+ "type": "number"
10474
+ },
10475
+ "end": {
10476
+ "type": "number"
10441
10477
  }
10442
10478
  },
10443
10479
  "required": [
10444
10480
  "start",
10445
10481
  "end"
10446
- ],
10447
- "type": "object"
10482
+ ]
10448
10483
  }
10449
10484
  },
10450
10485
  "required": [
10451
10486
  "kind",
10452
10487
  "blockId",
10453
10488
  "range"
10454
- ],
10455
- "type": "object"
10489
+ ]
10490
+ },
10491
+ "blockId": {
10492
+ "type": "string"
10493
+ },
10494
+ "start": {
10495
+ "type": "number"
10496
+ },
10497
+ "end": {
10498
+ "type": "number"
10456
10499
  }
10457
10500
  },
10458
- "required": [
10459
- "target"
10460
- ],
10461
- "type": "object"
10501
+ "additionalProperties": false
10462
10502
  },
10463
10503
  "outputSchema": {
10464
10504
  "additionalProperties": false,
@@ -10741,46 +10781,59 @@
10741
10781
  "source": "operation",
10742
10782
  "description": "Toggle bold formatting on the target range.",
10743
10783
  "inputSchema": {
10744
- "additionalProperties": false,
10784
+ "type": "object",
10745
10785
  "properties": {
10786
+ "doc": {
10787
+ "type": "string"
10788
+ },
10789
+ "sessionId": {
10790
+ "type": "string"
10791
+ },
10792
+ "force": {
10793
+ "type": "boolean"
10794
+ },
10746
10795
  "target": {
10747
- "additionalProperties": false,
10796
+ "type": "object",
10748
10797
  "properties": {
10749
- "blockId": {
10750
- "type": "string"
10751
- },
10752
10798
  "kind": {
10753
10799
  "const": "text"
10754
10800
  },
10801
+ "blockId": {
10802
+ "type": "string"
10803
+ },
10755
10804
  "range": {
10756
- "additionalProperties": false,
10805
+ "type": "object",
10757
10806
  "properties": {
10758
- "end": {
10759
- "type": "integer"
10760
- },
10761
10807
  "start": {
10762
- "type": "integer"
10808
+ "type": "number"
10809
+ },
10810
+ "end": {
10811
+ "type": "number"
10763
10812
  }
10764
10813
  },
10765
10814
  "required": [
10766
10815
  "start",
10767
10816
  "end"
10768
- ],
10769
- "type": "object"
10817
+ ]
10770
10818
  }
10771
10819
  },
10772
10820
  "required": [
10773
10821
  "kind",
10774
10822
  "blockId",
10775
10823
  "range"
10776
- ],
10777
- "type": "object"
10824
+ ]
10825
+ },
10826
+ "blockId": {
10827
+ "type": "string"
10828
+ },
10829
+ "start": {
10830
+ "type": "number"
10831
+ },
10832
+ "end": {
10833
+ "type": "number"
10778
10834
  }
10779
10835
  },
10780
- "required": [
10781
- "target"
10782
- ],
10783
- "type": "object"
10836
+ "additionalProperties": false
10784
10837
  },
10785
10838
  "outputSchema": {
10786
10839
  "additionalProperties": false,
@@ -11064,46 +11117,59 @@
11064
11117
  "source": "operation",
11065
11118
  "description": "Toggle italic formatting on the target range.",
11066
11119
  "inputSchema": {
11067
- "additionalProperties": false,
11120
+ "type": "object",
11068
11121
  "properties": {
11122
+ "doc": {
11123
+ "type": "string"
11124
+ },
11125
+ "sessionId": {
11126
+ "type": "string"
11127
+ },
11128
+ "force": {
11129
+ "type": "boolean"
11130
+ },
11069
11131
  "target": {
11070
- "additionalProperties": false,
11132
+ "type": "object",
11071
11133
  "properties": {
11072
- "blockId": {
11073
- "type": "string"
11074
- },
11075
11134
  "kind": {
11076
11135
  "const": "text"
11077
11136
  },
11137
+ "blockId": {
11138
+ "type": "string"
11139
+ },
11078
11140
  "range": {
11079
- "additionalProperties": false,
11141
+ "type": "object",
11080
11142
  "properties": {
11081
- "end": {
11082
- "type": "integer"
11083
- },
11084
11143
  "start": {
11085
- "type": "integer"
11144
+ "type": "number"
11145
+ },
11146
+ "end": {
11147
+ "type": "number"
11086
11148
  }
11087
11149
  },
11088
11150
  "required": [
11089
11151
  "start",
11090
11152
  "end"
11091
- ],
11092
- "type": "object"
11153
+ ]
11093
11154
  }
11094
11155
  },
11095
11156
  "required": [
11096
11157
  "kind",
11097
11158
  "blockId",
11098
11159
  "range"
11099
- ],
11100
- "type": "object"
11160
+ ]
11161
+ },
11162
+ "blockId": {
11163
+ "type": "string"
11164
+ },
11165
+ "start": {
11166
+ "type": "number"
11167
+ },
11168
+ "end": {
11169
+ "type": "number"
11101
11170
  }
11102
11171
  },
11103
- "required": [
11104
- "target"
11105
- ],
11106
- "type": "object"
11172
+ "additionalProperties": false
11107
11173
  },
11108
11174
  "outputSchema": {
11109
11175
  "additionalProperties": false,
@@ -11387,46 +11453,59 @@
11387
11453
  "source": "operation",
11388
11454
  "description": "Toggle underline formatting on the target range.",
11389
11455
  "inputSchema": {
11390
- "additionalProperties": false,
11456
+ "type": "object",
11391
11457
  "properties": {
11458
+ "doc": {
11459
+ "type": "string"
11460
+ },
11461
+ "sessionId": {
11462
+ "type": "string"
11463
+ },
11464
+ "force": {
11465
+ "type": "boolean"
11466
+ },
11392
11467
  "target": {
11393
- "additionalProperties": false,
11468
+ "type": "object",
11394
11469
  "properties": {
11395
- "blockId": {
11396
- "type": "string"
11397
- },
11398
11470
  "kind": {
11399
11471
  "const": "text"
11400
11472
  },
11473
+ "blockId": {
11474
+ "type": "string"
11475
+ },
11401
11476
  "range": {
11402
- "additionalProperties": false,
11477
+ "type": "object",
11403
11478
  "properties": {
11404
- "end": {
11405
- "type": "integer"
11406
- },
11407
11479
  "start": {
11408
- "type": "integer"
11480
+ "type": "number"
11481
+ },
11482
+ "end": {
11483
+ "type": "number"
11409
11484
  }
11410
11485
  },
11411
11486
  "required": [
11412
11487
  "start",
11413
11488
  "end"
11414
- ],
11415
- "type": "object"
11489
+ ]
11416
11490
  }
11417
11491
  },
11418
11492
  "required": [
11419
11493
  "kind",
11420
11494
  "blockId",
11421
11495
  "range"
11422
- ],
11423
- "type": "object"
11496
+ ]
11497
+ },
11498
+ "blockId": {
11499
+ "type": "string"
11500
+ },
11501
+ "start": {
11502
+ "type": "number"
11503
+ },
11504
+ "end": {
11505
+ "type": "number"
11424
11506
  }
11425
11507
  },
11426
- "required": [
11427
- "target"
11428
- ],
11429
- "type": "object"
11508
+ "additionalProperties": false
11430
11509
  },
11431
11510
  "outputSchema": {
11432
11511
  "additionalProperties": false,
@@ -11710,46 +11789,59 @@
11710
11789
  "source": "operation",
11711
11790
  "description": "Toggle strikethrough formatting on the target range.",
11712
11791
  "inputSchema": {
11713
- "additionalProperties": false,
11792
+ "type": "object",
11714
11793
  "properties": {
11794
+ "doc": {
11795
+ "type": "string"
11796
+ },
11797
+ "sessionId": {
11798
+ "type": "string"
11799
+ },
11800
+ "force": {
11801
+ "type": "boolean"
11802
+ },
11715
11803
  "target": {
11716
- "additionalProperties": false,
11804
+ "type": "object",
11717
11805
  "properties": {
11718
- "blockId": {
11719
- "type": "string"
11720
- },
11721
11806
  "kind": {
11722
11807
  "const": "text"
11723
11808
  },
11809
+ "blockId": {
11810
+ "type": "string"
11811
+ },
11724
11812
  "range": {
11725
- "additionalProperties": false,
11813
+ "type": "object",
11726
11814
  "properties": {
11727
- "end": {
11728
- "type": "integer"
11729
- },
11730
11815
  "start": {
11731
- "type": "integer"
11816
+ "type": "number"
11817
+ },
11818
+ "end": {
11819
+ "type": "number"
11732
11820
  }
11733
11821
  },
11734
11822
  "required": [
11735
11823
  "start",
11736
11824
  "end"
11737
- ],
11738
- "type": "object"
11825
+ ]
11739
11826
  }
11740
11827
  },
11741
11828
  "required": [
11742
11829
  "kind",
11743
11830
  "blockId",
11744
11831
  "range"
11745
- ],
11746
- "type": "object"
11832
+ ]
11833
+ },
11834
+ "blockId": {
11835
+ "type": "string"
11836
+ },
11837
+ "start": {
11838
+ "type": "number"
11839
+ },
11840
+ "end": {
11841
+ "type": "number"
11747
11842
  }
11748
11843
  },
11749
- "required": [
11750
- "target"
11751
- ],
11752
- "type": "object"
11844
+ "additionalProperties": false
11753
11845
  },
11754
11846
  "outputSchema": {
11755
11847
  "additionalProperties": false,
@@ -12033,12 +12125,21 @@
12033
12125
  "source": "operation",
12034
12126
  "description": "Create a new paragraph at the target position.",
12035
12127
  "inputSchema": {
12036
- "additionalProperties": false,
12128
+ "type": "object",
12037
12129
  "properties": {
12130
+ "doc": {
12131
+ "type": "string"
12132
+ },
12133
+ "sessionId": {
12134
+ "type": "string"
12135
+ },
12136
+ "force": {
12137
+ "type": "boolean"
12138
+ },
12038
12139
  "at": {
12039
12140
  "oneOf": [
12040
12141
  {
12041
- "additionalProperties": false,
12142
+ "type": "object",
12042
12143
  "properties": {
12043
12144
  "kind": {
12044
12145
  "const": "documentStart"
@@ -12046,11 +12147,10 @@
12046
12147
  },
12047
12148
  "required": [
12048
12149
  "kind"
12049
- ],
12050
- "type": "object"
12150
+ ]
12051
12151
  },
12052
12152
  {
12053
- "additionalProperties": false,
12153
+ "type": "object",
12054
12154
  "properties": {
12055
12155
  "kind": {
12056
12156
  "const": "documentEnd"
@@ -12058,100 +12158,36 @@
12058
12158
  },
12059
12159
  "required": [
12060
12160
  "kind"
12061
- ],
12062
- "type": "object"
12161
+ ]
12063
12162
  },
12064
12163
  {
12065
- "additionalProperties": false,
12066
- "properties": {
12067
- "kind": {
12068
- "const": "before"
12164
+ "oneOf": [
12165
+ {
12166
+ "type": "json"
12069
12167
  },
12070
- "target": {
12071
- "additionalProperties": false,
12072
- "properties": {
12073
- "kind": {
12074
- "const": "block"
12075
- },
12076
- "nodeId": {
12077
- "type": "string"
12078
- },
12079
- "nodeType": {
12080
- "enum": [
12081
- "paragraph",
12082
- "heading",
12083
- "listItem",
12084
- "table",
12085
- "tableRow",
12086
- "tableCell",
12087
- "image",
12088
- "sdt"
12089
- ]
12090
- }
12091
- },
12092
- "required": [
12093
- "kind",
12094
- "nodeType",
12095
- "nodeId"
12096
- ],
12097
- "type": "object"
12168
+ {
12169
+ "type": "json"
12098
12170
  }
12099
- },
12100
- "required": [
12101
- "kind",
12102
- "target"
12103
- ],
12104
- "type": "object"
12171
+ ]
12105
12172
  },
12106
12173
  {
12107
- "additionalProperties": false,
12108
- "properties": {
12109
- "kind": {
12110
- "const": "after"
12174
+ "oneOf": [
12175
+ {
12176
+ "type": "json"
12111
12177
  },
12112
- "target": {
12113
- "additionalProperties": false,
12114
- "properties": {
12115
- "kind": {
12116
- "const": "block"
12117
- },
12118
- "nodeId": {
12119
- "type": "string"
12120
- },
12121
- "nodeType": {
12122
- "enum": [
12123
- "paragraph",
12124
- "heading",
12125
- "listItem",
12126
- "table",
12127
- "tableRow",
12128
- "tableCell",
12129
- "image",
12130
- "sdt"
12131
- ]
12132
- }
12133
- },
12134
- "required": [
12135
- "kind",
12136
- "nodeType",
12137
- "nodeId"
12138
- ],
12139
- "type": "object"
12178
+ {
12179
+ "type": "json"
12140
12180
  }
12141
- },
12142
- "required": [
12143
- "kind",
12144
- "target"
12145
- ],
12146
- "type": "object"
12181
+ ]
12147
12182
  }
12148
12183
  ]
12149
12184
  },
12150
12185
  "text": {
12151
12186
  "type": "string"
12152
- }
12187
+ },
12188
+ "input": {}
12153
12189
  },
12154
- "type": "object"
12190
+ "additionalProperties": false
12155
12191
  },
12156
12192
  "outputSchema": {
12157
12193
  "additionalProperties": false,
@@ -12276,57 +12312,76 @@
12276
12312
  "source": "operation",
12277
12313
  "description": "List all list nodes in the document, optionally filtered by scope.",
12278
12314
  "inputSchema": {
12279
- "additionalProperties": false,
12315
+ "type": "object",
12280
12316
  "properties": {
12281
- "kind": {
12282
- "enum": [
12283
- "ordered",
12284
- "bullet"
12285
- ]
12286
- },
12287
- "level": {
12288
- "type": "integer"
12289
- },
12290
- "limit": {
12291
- "type": "integer"
12292
- },
12293
- "offset": {
12294
- "type": "integer"
12317
+ "doc": {
12318
+ "type": "string"
12295
12319
  },
12296
- "ordinal": {
12297
- "type": "integer"
12320
+ "sessionId": {
12321
+ "type": "string"
12298
12322
  },
12299
12323
  "within": {
12300
- "additionalProperties": false,
12324
+ "type": "object",
12301
12325
  "properties": {
12302
12326
  "kind": {
12303
12327
  "const": "block"
12304
12328
  },
12305
- "nodeId": {
12306
- "type": "string"
12307
- },
12308
12329
  "nodeType": {
12309
- "enum": [
12310
- "paragraph",
12311
- "heading",
12312
- "listItem",
12313
- "table",
12314
- "tableRow",
12315
- "tableCell",
12316
- "image",
12317
- "sdt"
12330
+ "oneOf": [
12331
+ {
12332
+ "const": "paragraph"
12333
+ },
12334
+ {
12335
+ "const": "heading"
12336
+ },
12337
+ {
12338
+ "const": "listItem"
12339
+ },
12340
+ {
12341
+ "const": "table"
12342
+ },
12343
+ {
12344
+ "const": "tableRow"
12345
+ },
12346
+ {
12347
+ "const": "tableCell"
12348
+ },
12349
+ {
12350
+ "const": "image"
12351
+ },
12352
+ {
12353
+ "const": "sdt"
12354
+ }
12318
12355
  ]
12356
+ },
12357
+ "nodeId": {
12358
+ "type": "string"
12319
12359
  }
12320
12360
  },
12321
12361
  "required": [
12322
12362
  "kind",
12323
12363
  "nodeType",
12324
12364
  "nodeId"
12325
- ],
12326
- "type": "object"
12327
- }
12365
+ ]
12366
+ },
12367
+ "limit": {
12368
+ "type": "number"
12369
+ },
12370
+ "offset": {
12371
+ "type": "number"
12372
+ },
12373
+ "kind": {
12374
+ "type": "string"
12375
+ },
12376
+ "level": {
12377
+ "type": "number"
12378
+ },
12379
+ "ordinal": {
12380
+ "type": "number"
12381
+ },
12382
+ "query": {}
12328
12383
  },
12329
- "type": "object"
12384
+ "additionalProperties": false
12330
12385
  },
12331
12386
  "outputSchema": {
12332
12387
  "additionalProperties": false,
@@ -12477,33 +12532,38 @@
12477
12532
  "source": "operation",
12478
12533
  "description": "Retrieve a specific list node by target.",
12479
12534
  "inputSchema": {
12480
- "additionalProperties": false,
12535
+ "type": "object",
12481
12536
  "properties": {
12537
+ "doc": {
12538
+ "type": "string"
12539
+ },
12540
+ "sessionId": {
12541
+ "type": "string"
12542
+ },
12482
12543
  "address": {
12483
- "additionalProperties": false,
12544
+ "type": "object",
12484
12545
  "properties": {
12485
12546
  "kind": {
12486
12547
  "const": "block"
12487
12548
  },
12488
- "nodeId": {
12489
- "type": "string"
12490
- },
12491
12549
  "nodeType": {
12492
12550
  "const": "listItem"
12551
+ },
12552
+ "nodeId": {
12553
+ "type": "string"
12493
12554
  }
12494
12555
  },
12495
12556
  "required": [
12496
12557
  "kind",
12497
12558
  "nodeType",
12498
- "nodeId"
12499
- ],
12500
- "type": "object"
12559
+ "nodeId"
12560
+ ]
12501
12561
  }
12502
12562
  },
12503
12563
  "required": [
12504
12564
  "address"
12505
12565
  ],
12506
- "type": "object"
12566
+ "additionalProperties": false
12507
12567
  },
12508
12568
  "outputSchema": {
12509
12569
  "additionalProperties": false,
@@ -12586,43 +12646,48 @@
12586
12646
  "source": "operation",
12587
12647
  "description": "Insert a new list at the target position.",
12588
12648
  "inputSchema": {
12589
- "additionalProperties": false,
12649
+ "type": "object",
12590
12650
  "properties": {
12591
- "position": {
12592
- "enum": [
12593
- "before",
12594
- "after"
12595
- ]
12651
+ "doc": {
12652
+ "type": "string"
12653
+ },
12654
+ "sessionId": {
12655
+ "type": "string"
12656
+ },
12657
+ "force": {
12658
+ "type": "boolean"
12596
12659
  },
12597
12660
  "target": {
12598
- "additionalProperties": false,
12661
+ "type": "object",
12599
12662
  "properties": {
12600
12663
  "kind": {
12601
12664
  "const": "block"
12602
12665
  },
12603
- "nodeId": {
12604
- "type": "string"
12605
- },
12606
12666
  "nodeType": {
12607
12667
  "const": "listItem"
12668
+ },
12669
+ "nodeId": {
12670
+ "type": "string"
12608
12671
  }
12609
12672
  },
12610
12673
  "required": [
12611
12674
  "kind",
12612
12675
  "nodeType",
12613
12676
  "nodeId"
12614
- ],
12615
- "type": "object"
12677
+ ]
12678
+ },
12679
+ "nodeId": {
12680
+ "type": "string"
12681
+ },
12682
+ "position": {
12683
+ "type": "string"
12616
12684
  },
12617
12685
  "text": {
12618
12686
  "type": "string"
12619
- }
12687
+ },
12688
+ "input": {}
12620
12689
  },
12621
- "required": [
12622
- "target",
12623
- "position"
12624
- ],
12625
- "type": "object"
12690
+ "additionalProperties": false
12626
12691
  },
12627
12692
  "outputSchema": {
12628
12693
  "additionalProperties": false,
@@ -12748,40 +12813,45 @@
12748
12813
  "source": "operation",
12749
12814
  "description": "Change the list type (ordered, unordered) of a target list.",
12750
12815
  "inputSchema": {
12751
- "additionalProperties": false,
12816
+ "type": "object",
12752
12817
  "properties": {
12753
- "kind": {
12754
- "enum": [
12755
- "ordered",
12756
- "bullet"
12757
- ]
12818
+ "doc": {
12819
+ "type": "string"
12820
+ },
12821
+ "sessionId": {
12822
+ "type": "string"
12823
+ },
12824
+ "force": {
12825
+ "type": "boolean"
12758
12826
  },
12759
12827
  "target": {
12760
- "additionalProperties": false,
12828
+ "type": "object",
12761
12829
  "properties": {
12762
12830
  "kind": {
12763
12831
  "const": "block"
12764
12832
  },
12765
- "nodeId": {
12766
- "type": "string"
12767
- },
12768
12833
  "nodeType": {
12769
12834
  "const": "listItem"
12835
+ },
12836
+ "nodeId": {
12837
+ "type": "string"
12770
12838
  }
12771
12839
  },
12772
12840
  "required": [
12773
12841
  "kind",
12774
12842
  "nodeType",
12775
12843
  "nodeId"
12776
- ],
12777
- "type": "object"
12778
- }
12844
+ ]
12845
+ },
12846
+ "nodeId": {
12847
+ "type": "string"
12848
+ },
12849
+ "kind": {
12850
+ "type": "string"
12851
+ },
12852
+ "input": {}
12779
12853
  },
12780
- "required": [
12781
- "target",
12782
- "kind"
12783
- ],
12784
- "type": "object"
12854
+ "additionalProperties": false
12785
12855
  },
12786
12856
  "outputSchema": {
12787
12857
  "additionalProperties": false,
@@ -12851,33 +12921,42 @@
12851
12921
  "source": "operation",
12852
12922
  "description": "Increase the indentation level of a list item.",
12853
12923
  "inputSchema": {
12854
- "additionalProperties": false,
12924
+ "type": "object",
12855
12925
  "properties": {
12926
+ "doc": {
12927
+ "type": "string"
12928
+ },
12929
+ "sessionId": {
12930
+ "type": "string"
12931
+ },
12932
+ "force": {
12933
+ "type": "boolean"
12934
+ },
12856
12935
  "target": {
12857
- "additionalProperties": false,
12936
+ "type": "object",
12858
12937
  "properties": {
12859
12938
  "kind": {
12860
12939
  "const": "block"
12861
12940
  },
12862
- "nodeId": {
12863
- "type": "string"
12864
- },
12865
12941
  "nodeType": {
12866
12942
  "const": "listItem"
12943
+ },
12944
+ "nodeId": {
12945
+ "type": "string"
12867
12946
  }
12868
12947
  },
12869
12948
  "required": [
12870
12949
  "kind",
12871
12950
  "nodeType",
12872
12951
  "nodeId"
12873
- ],
12874
- "type": "object"
12875
- }
12952
+ ]
12953
+ },
12954
+ "nodeId": {
12955
+ "type": "string"
12956
+ },
12957
+ "input": {}
12876
12958
  },
12877
- "required": [
12878
- "target"
12879
- ],
12880
- "type": "object"
12959
+ "additionalProperties": false
12881
12960
  },
12882
12961
  "outputSchema": {
12883
12962
  "additionalProperties": false,
@@ -12947,33 +13026,42 @@
12947
13026
  "source": "operation",
12948
13027
  "description": "Decrease the indentation level of a list item.",
12949
13028
  "inputSchema": {
12950
- "additionalProperties": false,
13029
+ "type": "object",
12951
13030
  "properties": {
13031
+ "doc": {
13032
+ "type": "string"
13033
+ },
13034
+ "sessionId": {
13035
+ "type": "string"
13036
+ },
13037
+ "force": {
13038
+ "type": "boolean"
13039
+ },
12952
13040
  "target": {
12953
- "additionalProperties": false,
13041
+ "type": "object",
12954
13042
  "properties": {
12955
13043
  "kind": {
12956
13044
  "const": "block"
12957
13045
  },
12958
- "nodeId": {
12959
- "type": "string"
12960
- },
12961
13046
  "nodeType": {
12962
13047
  "const": "listItem"
13048
+ },
13049
+ "nodeId": {
13050
+ "type": "string"
12963
13051
  }
12964
13052
  },
12965
13053
  "required": [
12966
13054
  "kind",
12967
13055
  "nodeType",
12968
13056
  "nodeId"
12969
- ],
12970
- "type": "object"
12971
- }
13057
+ ]
13058
+ },
13059
+ "nodeId": {
13060
+ "type": "string"
13061
+ },
13062
+ "input": {}
12972
13063
  },
12973
- "required": [
12974
- "target"
12975
- ],
12976
- "type": "object"
13064
+ "additionalProperties": false
12977
13065
  },
12978
13066
  "outputSchema": {
12979
13067
  "additionalProperties": false,
@@ -13043,33 +13131,42 @@
13043
13131
  "source": "operation",
13044
13132
  "description": "Restart numbering of an ordered list at the target item.",
13045
13133
  "inputSchema": {
13046
- "additionalProperties": false,
13134
+ "type": "object",
13047
13135
  "properties": {
13136
+ "doc": {
13137
+ "type": "string"
13138
+ },
13139
+ "sessionId": {
13140
+ "type": "string"
13141
+ },
13142
+ "force": {
13143
+ "type": "boolean"
13144
+ },
13048
13145
  "target": {
13049
- "additionalProperties": false,
13146
+ "type": "object",
13050
13147
  "properties": {
13051
13148
  "kind": {
13052
13149
  "const": "block"
13053
13150
  },
13054
- "nodeId": {
13055
- "type": "string"
13056
- },
13057
13151
  "nodeType": {
13058
13152
  "const": "listItem"
13153
+ },
13154
+ "nodeId": {
13155
+ "type": "string"
13059
13156
  }
13060
13157
  },
13061
13158
  "required": [
13062
13159
  "kind",
13063
13160
  "nodeType",
13064
13161
  "nodeId"
13065
- ],
13066
- "type": "object"
13067
- }
13162
+ ]
13163
+ },
13164
+ "nodeId": {
13165
+ "type": "string"
13166
+ },
13167
+ "input": {}
13068
13168
  },
13069
- "required": [
13070
- "target"
13071
- ],
13072
- "type": "object"
13169
+ "additionalProperties": false
13073
13170
  },
13074
13171
  "outputSchema": {
13075
13172
  "additionalProperties": false,
@@ -13139,33 +13236,42 @@
13139
13236
  "source": "operation",
13140
13237
  "description": "Exit a list context, converting the target item to a paragraph.",
13141
13238
  "inputSchema": {
13142
- "additionalProperties": false,
13239
+ "type": "object",
13143
13240
  "properties": {
13241
+ "doc": {
13242
+ "type": "string"
13243
+ },
13244
+ "sessionId": {
13245
+ "type": "string"
13246
+ },
13247
+ "force": {
13248
+ "type": "boolean"
13249
+ },
13144
13250
  "target": {
13145
- "additionalProperties": false,
13251
+ "type": "object",
13146
13252
  "properties": {
13147
13253
  "kind": {
13148
13254
  "const": "block"
13149
13255
  },
13150
- "nodeId": {
13151
- "type": "string"
13152
- },
13153
13256
  "nodeType": {
13154
13257
  "const": "listItem"
13258
+ },
13259
+ "nodeId": {
13260
+ "type": "string"
13155
13261
  }
13156
13262
  },
13157
13263
  "required": [
13158
13264
  "kind",
13159
13265
  "nodeType",
13160
13266
  "nodeId"
13161
- ],
13162
- "type": "object"
13163
- }
13267
+ ]
13268
+ },
13269
+ "nodeId": {
13270
+ "type": "string"
13271
+ },
13272
+ "input": {}
13164
13273
  },
13165
- "required": [
13166
- "target"
13167
- ],
13168
- "type": "object"
13274
+ "additionalProperties": false
13169
13275
  },
13170
13276
  "outputSchema": {
13171
13277
  "additionalProperties": false,
@@ -13234,50 +13340,65 @@
13234
13340
  "source": "operation",
13235
13341
  "description": "Add a new comment thread anchored to a target range.",
13236
13342
  "inputSchema": {
13237
- "additionalProperties": false,
13343
+ "type": "object",
13238
13344
  "properties": {
13345
+ "doc": {
13346
+ "type": "string"
13347
+ },
13348
+ "sessionId": {
13349
+ "type": "string"
13350
+ },
13351
+ "force": {
13352
+ "type": "boolean"
13353
+ },
13239
13354
  "target": {
13240
- "additionalProperties": false,
13355
+ "type": "object",
13241
13356
  "properties": {
13242
- "blockId": {
13243
- "type": "string"
13244
- },
13245
13357
  "kind": {
13246
13358
  "const": "text"
13247
13359
  },
13360
+ "blockId": {
13361
+ "type": "string"
13362
+ },
13248
13363
  "range": {
13249
- "additionalProperties": false,
13364
+ "type": "object",
13250
13365
  "properties": {
13251
- "end": {
13252
- "type": "integer"
13253
- },
13254
13366
  "start": {
13255
- "type": "integer"
13367
+ "type": "number"
13368
+ },
13369
+ "end": {
13370
+ "type": "number"
13256
13371
  }
13257
13372
  },
13258
13373
  "required": [
13259
13374
  "start",
13260
13375
  "end"
13261
- ],
13262
- "type": "object"
13376
+ ]
13263
13377
  }
13264
13378
  },
13265
13379
  "required": [
13266
13380
  "kind",
13267
13381
  "blockId",
13268
13382
  "range"
13269
- ],
13270
- "type": "object"
13383
+ ]
13271
13384
  },
13272
13385
  "text": {
13273
13386
  "type": "string"
13387
+ },
13388
+ "blockId": {
13389
+ "type": "string"
13390
+ },
13391
+ "start": {
13392
+ "type": "number"
13393
+ },
13394
+ "end": {
13395
+ "type": "number"
13274
13396
  }
13275
13397
  },
13276
13398
  "required": [
13277
- "target",
13278
13399
  "text"
13279
13400
  ],
13280
- "type": "object"
13401
+ "additionalProperties": false
13281
13402
  },
13282
13403
  "outputSchema": {
13283
13404
  "additionalProperties": false,
@@ -13467,9 +13588,18 @@
13467
13588
  "source": "operation",
13468
13589
  "description": "Edit the content of an existing comment.",
13469
13590
  "inputSchema": {
13470
- "additionalProperties": false,
13591
+ "type": "object",
13471
13592
  "properties": {
13472
- "commentId": {
13593
+ "doc": {
13594
+ "type": "string"
13595
+ },
13596
+ "sessionId": {
13597
+ "type": "string"
13598
+ },
13599
+ "force": {
13600
+ "type": "boolean"
13601
+ },
13602
+ "id": {
13473
13603
  "type": "string"
13474
13604
  },
13475
13605
  "text": {
@@ -13477,10 +13607,10 @@
13477
13607
  }
13478
13608
  },
13479
13609
  "required": [
13480
- "commentId",
13610
+ "id",
13481
13611
  "text"
13482
13612
  ],
13483
- "type": "object"
13613
+ "additionalProperties": false
13484
13614
  },
13485
13615
  "outputSchema": {
13486
13616
  "additionalProperties": false,
@@ -13669,9 +13799,18 @@
13669
13799
  "source": "operation",
13670
13800
  "description": "Add a reply to an existing comment thread.",
13671
13801
  "inputSchema": {
13672
- "additionalProperties": false,
13802
+ "type": "object",
13673
13803
  "properties": {
13674
- "parentCommentId": {
13804
+ "doc": {
13805
+ "type": "string"
13806
+ },
13807
+ "sessionId": {
13808
+ "type": "string"
13809
+ },
13810
+ "force": {
13811
+ "type": "boolean"
13812
+ },
13813
+ "parentId": {
13675
13814
  "type": "string"
13676
13815
  },
13677
13816
  "text": {
@@ -13679,10 +13818,10 @@
13679
13818
  }
13680
13819
  },
13681
13820
  "required": [
13682
- "parentCommentId",
13821
+ "parentId",
13683
13822
  "text"
13684
13823
  ],
13685
- "type": "object"
13824
+ "additionalProperties": false
13686
13825
  },
13687
13826
  "outputSchema": {
13688
13827
  "additionalProperties": false,
@@ -13871,50 +14010,65 @@
13871
14010
  "source": "operation",
13872
14011
  "description": "Move a comment thread to a new anchor range.",
13873
14012
  "inputSchema": {
13874
- "additionalProperties": false,
14013
+ "type": "object",
13875
14014
  "properties": {
13876
- "commentId": {
14015
+ "doc": {
14016
+ "type": "string"
14017
+ },
14018
+ "sessionId": {
14019
+ "type": "string"
14020
+ },
14021
+ "force": {
14022
+ "type": "boolean"
14023
+ },
14024
+ "id": {
13877
14025
  "type": "string"
13878
14026
  },
13879
14027
  "target": {
13880
- "additionalProperties": false,
14028
+ "type": "object",
13881
14029
  "properties": {
13882
- "blockId": {
13883
- "type": "string"
13884
- },
13885
14030
  "kind": {
13886
14031
  "const": "text"
13887
14032
  },
14033
+ "blockId": {
14034
+ "type": "string"
14035
+ },
13888
14036
  "range": {
13889
- "additionalProperties": false,
14037
+ "type": "object",
13890
14038
  "properties": {
13891
- "end": {
13892
- "type": "integer"
13893
- },
13894
14039
  "start": {
13895
- "type": "integer"
14040
+ "type": "number"
14041
+ },
14042
+ "end": {
14043
+ "type": "number"
13896
14044
  }
13897
14045
  },
13898
14046
  "required": [
13899
14047
  "start",
13900
14048
  "end"
13901
- ],
13902
- "type": "object"
14049
+ ]
13903
14050
  }
13904
14051
  },
13905
14052
  "required": [
13906
14053
  "kind",
13907
14054
  "blockId",
13908
14055
  "range"
13909
- ],
13910
- "type": "object"
14056
+ ]
14057
+ },
14058
+ "blockId": {
14059
+ "type": "string"
14060
+ },
14061
+ "start": {
14062
+ "type": "number"
14063
+ },
14064
+ "end": {
14065
+ "type": "number"
13911
14066
  }
13912
14067
  },
13913
14068
  "required": [
13914
- "commentId",
13915
- "target"
14069
+ "id"
13916
14070
  ],
13917
- "type": "object"
14071
+ "additionalProperties": false
13918
14072
  },
13919
14073
  "outputSchema": {
13920
14074
  "additionalProperties": false,
@@ -14104,16 +14258,25 @@
14104
14258
  "source": "operation",
14105
14259
  "description": "Resolve or unresolve a comment thread.",
14106
14260
  "inputSchema": {
14107
- "additionalProperties": false,
14261
+ "type": "object",
14108
14262
  "properties": {
14109
- "commentId": {
14263
+ "doc": {
14264
+ "type": "string"
14265
+ },
14266
+ "sessionId": {
14267
+ "type": "string"
14268
+ },
14269
+ "force": {
14270
+ "type": "boolean"
14271
+ },
14272
+ "id": {
14110
14273
  "type": "string"
14111
14274
  }
14112
14275
  },
14113
14276
  "required": [
14114
- "commentId"
14277
+ "id"
14115
14278
  ],
14116
- "type": "object"
14279
+ "additionalProperties": false
14117
14280
  },
14118
14281
  "outputSchema": {
14119
14282
  "additionalProperties": false,
@@ -14302,16 +14465,25 @@
14302
14465
  "source": "operation",
14303
14466
  "description": "Remove a comment or reply by ID.",
14304
14467
  "inputSchema": {
14305
- "additionalProperties": false,
14468
+ "type": "object",
14306
14469
  "properties": {
14307
- "commentId": {
14470
+ "doc": {
14471
+ "type": "string"
14472
+ },
14473
+ "sessionId": {
14474
+ "type": "string"
14475
+ },
14476
+ "force": {
14477
+ "type": "boolean"
14478
+ },
14479
+ "id": {
14308
14480
  "type": "string"
14309
14481
  }
14310
14482
  },
14311
14483
  "required": [
14312
- "commentId"
14484
+ "id"
14313
14485
  ],
14314
- "type": "object"
14486
+ "additionalProperties": false
14315
14487
  },
14316
14488
  "outputSchema": {
14317
14489
  "additionalProperties": false,
@@ -14500,9 +14672,18 @@
14500
14672
  "source": "operation",
14501
14673
  "description": "Toggle the internal (private) flag on a comment thread.",
14502
14674
  "inputSchema": {
14503
- "additionalProperties": false,
14675
+ "type": "object",
14504
14676
  "properties": {
14505
- "commentId": {
14677
+ "doc": {
14678
+ "type": "string"
14679
+ },
14680
+ "sessionId": {
14681
+ "type": "string"
14682
+ },
14683
+ "force": {
14684
+ "type": "boolean"
14685
+ },
14686
+ "id": {
14506
14687
  "type": "string"
14507
14688
  },
14508
14689
  "isInternal": {
@@ -14510,10 +14691,10 @@
14510
14691
  }
14511
14692
  },
14512
14693
  "required": [
14513
- "commentId",
14694
+ "id",
14514
14695
  "isInternal"
14515
14696
  ],
14516
- "type": "object"
14697
+ "additionalProperties": false
14517
14698
  },
14518
14699
  "outputSchema": {
14519
14700
  "additionalProperties": false,
@@ -14703,19 +14884,28 @@
14703
14884
  "source": "operation",
14704
14885
  "description": "Set the active (focused) comment thread for UI highlighting.",
14705
14886
  "inputSchema": {
14706
- "additionalProperties": false,
14887
+ "type": "object",
14707
14888
  "properties": {
14889
+ "doc": {
14890
+ "type": "string"
14891
+ },
14892
+ "sessionId": {
14893
+ "type": "string"
14894
+ },
14895
+ "force": {
14896
+ "type": "boolean"
14897
+ },
14708
14898
  "commentId": {
14709
- "type": [
14710
- "string",
14711
- "null"
14712
- ]
14899
+ "type": "json"
14900
+ },
14901
+ "id": {
14902
+ "type": "string"
14903
+ },
14904
+ "clear": {
14905
+ "type": "boolean"
14713
14906
  }
14714
14907
  },
14715
- "required": [
14716
- "commentId"
14717
- ],
14718
- "type": "object"
14908
+ "additionalProperties": false
14719
14909
  },
14720
14910
  "outputSchema": {
14721
14911
  "additionalProperties": false,
@@ -14918,16 +15108,22 @@
14918
15108
  "source": "operation",
14919
15109
  "description": "Scroll the viewport to a comment thread by ID.",
14920
15110
  "inputSchema": {
14921
- "additionalProperties": false,
15111
+ "type": "object",
14922
15112
  "properties": {
14923
- "commentId": {
15113
+ "doc": {
15114
+ "type": "string"
15115
+ },
15116
+ "sessionId": {
15117
+ "type": "string"
15118
+ },
15119
+ "id": {
14924
15120
  "type": "string"
14925
15121
  }
14926
15122
  },
14927
15123
  "required": [
14928
- "commentId"
15124
+ "id"
14929
15125
  ],
14930
- "type": "object"
15126
+ "additionalProperties": false
14931
15127
  },
14932
15128
  "outputSchema": {
14933
15129
  "additionalProperties": false,
@@ -15111,16 +15307,22 @@
15111
15307
  "source": "operation",
15112
15308
  "description": "Retrieve a single comment thread by ID.",
15113
15309
  "inputSchema": {
15114
- "additionalProperties": false,
15310
+ "type": "object",
15115
15311
  "properties": {
15116
- "commentId": {
15312
+ "doc": {
15313
+ "type": "string"
15314
+ },
15315
+ "sessionId": {
15316
+ "type": "string"
15317
+ },
15318
+ "id": {
15117
15319
  "type": "string"
15118
15320
  }
15119
15321
  },
15120
15322
  "required": [
15121
- "commentId"
15323
+ "id"
15122
15324
  ],
15123
- "type": "object"
15325
+ "additionalProperties": false
15124
15326
  },
15125
15327
  "outputSchema": {
15126
15328
  "additionalProperties": false,
@@ -15245,13 +15447,19 @@
15245
15447
  "source": "operation",
15246
15448
  "description": "List all comment threads in the document.",
15247
15449
  "inputSchema": {
15248
- "additionalProperties": false,
15450
+ "type": "object",
15249
15451
  "properties": {
15452
+ "doc": {
15453
+ "type": "string"
15454
+ },
15455
+ "sessionId": {
15456
+ "type": "string"
15457
+ },
15250
15458
  "includeResolved": {
15251
15459
  "type": "boolean"
15252
15460
  }
15253
15461
  },
15254
- "type": "object"
15462
+ "additionalProperties": false
15255
15463
  },
15256
15464
  "outputSchema": {
15257
15465
  "additionalProperties": false,
@@ -15392,23 +15600,25 @@
15392
15600
  "source": "operation",
15393
15601
  "description": "List all tracked changes in the document.",
15394
15602
  "inputSchema": {
15395
- "additionalProperties": false,
15603
+ "type": "object",
15396
15604
  "properties": {
15605
+ "doc": {
15606
+ "type": "string"
15607
+ },
15608
+ "sessionId": {
15609
+ "type": "string"
15610
+ },
15397
15611
  "limit": {
15398
- "type": "integer"
15612
+ "type": "number"
15399
15613
  },
15400
15614
  "offset": {
15401
- "type": "integer"
15615
+ "type": "number"
15402
15616
  },
15403
15617
  "type": {
15404
- "enum": [
15405
- "insert",
15406
- "delete",
15407
- "format"
15408
- ]
15618
+ "type": "string"
15409
15619
  }
15410
15620
  },
15411
- "type": "object"
15621
+ "additionalProperties": false
15412
15622
  },
15413
15623
  "outputSchema": {
15414
15624
  "additionalProperties": false,
@@ -15534,8 +15744,14 @@
15534
15744
  "source": "operation",
15535
15745
  "description": "Retrieve a single tracked change by ID.",
15536
15746
  "inputSchema": {
15537
- "additionalProperties": false,
15747
+ "type": "object",
15538
15748
  "properties": {
15749
+ "doc": {
15750
+ "type": "string"
15751
+ },
15752
+ "sessionId": {
15753
+ "type": "string"
15754
+ },
15539
15755
  "id": {
15540
15756
  "type": "string"
15541
15757
  }
@@ -15543,7 +15759,7 @@
15543
15759
  "required": [
15544
15760
  "id"
15545
15761
  ],
15546
- "type": "object"
15762
+ "additionalProperties": false
15547
15763
  },
15548
15764
  "outputSchema": {
15549
15765
  "additionalProperties": false,
@@ -15630,8 +15846,17 @@
15630
15846
  "source": "operation",
15631
15847
  "description": "Accept a tracked change, applying it permanently.",
15632
15848
  "inputSchema": {
15633
- "additionalProperties": false,
15849
+ "type": "object",
15634
15850
  "properties": {
15851
+ "doc": {
15852
+ "type": "string"
15853
+ },
15854
+ "sessionId": {
15855
+ "type": "string"
15856
+ },
15857
+ "force": {
15858
+ "type": "boolean"
15859
+ },
15635
15860
  "id": {
15636
15861
  "type": "string"
15637
15862
  }
@@ -15639,7 +15864,7 @@
15639
15864
  "required": [
15640
15865
  "id"
15641
15866
  ],
15642
- "type": "object"
15867
+ "additionalProperties": false
15643
15868
  },
15644
15869
  "outputSchema": {
15645
15870
  "additionalProperties": false,
@@ -15828,8 +16053,17 @@
15828
16053
  "source": "operation",
15829
16054
  "description": "Reject a tracked change, reverting it.",
15830
16055
  "inputSchema": {
15831
- "additionalProperties": false,
16056
+ "type": "object",
15832
16057
  "properties": {
16058
+ "doc": {
16059
+ "type": "string"
16060
+ },
16061
+ "sessionId": {
16062
+ "type": "string"
16063
+ },
16064
+ "force": {
16065
+ "type": "boolean"
16066
+ },
15833
16067
  "id": {
15834
16068
  "type": "string"
15835
16069
  }
@@ -15837,7 +16071,7 @@
15837
16071
  "required": [
15838
16072
  "id"
15839
16073
  ],
15840
- "type": "object"
16074
+ "additionalProperties": false
15841
16075
  },
15842
16076
  "outputSchema": {
15843
16077
  "additionalProperties": false,
@@ -16026,9 +16260,19 @@
16026
16260
  "source": "operation",
16027
16261
  "description": "Accept all tracked changes in the document.",
16028
16262
  "inputSchema": {
16029
- "additionalProperties": false,
16030
- "properties": {},
16031
- "type": "object"
16263
+ "type": "object",
16264
+ "properties": {
16265
+ "doc": {
16266
+ "type": "string"
16267
+ },
16268
+ "sessionId": {
16269
+ "type": "string"
16270
+ },
16271
+ "force": {
16272
+ "type": "boolean"
16273
+ }
16274
+ },
16275
+ "additionalProperties": false
16032
16276
  },
16033
16277
  "outputSchema": {
16034
16278
  "additionalProperties": false,
@@ -16217,9 +16461,19 @@
16217
16461
  "source": "operation",
16218
16462
  "description": "Reject all tracked changes in the document.",
16219
16463
  "inputSchema": {
16220
- "additionalProperties": false,
16221
- "properties": {},
16222
- "type": "object"
16464
+ "type": "object",
16465
+ "properties": {
16466
+ "doc": {
16467
+ "type": "string"
16468
+ },
16469
+ "sessionId": {
16470
+ "type": "string"
16471
+ },
16472
+ "force": {
16473
+ "type": "boolean"
16474
+ }
16475
+ },
16476
+ "additionalProperties": false
16223
16477
  },
16224
16478
  "outputSchema": {
16225
16479
  "additionalProperties": false,