@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.
- package/dist/generated/client.d.ts +46 -28
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +5 -5
- package/dist/generated/contract.d.ts +681 -100
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +1110 -158
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/runtime/process.d.ts.map +1 -1
- package/dist/runtime/transport-common.d.ts.map +1 -1
- package/dist/runtime/transport-common.js +1 -3
- package/package.json +10 -15
- package/tools/catalog.json +1683 -1429
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +1659 -1405
- package/tools/tools.generic.json +1683 -1429
- package/tools/tools.openai.json +1661 -1407
- package/tools/tools.vercel.json +1661 -1407
- package/LICENSE +0 -661
package/tools/tools.openai.json
CHANGED
|
@@ -8,204 +8,134 @@
|
|
|
8
8
|
"name": "find_content",
|
|
9
9
|
"description": "Search the document for nodes matching type, text, or attribute criteria.",
|
|
10
10
|
"parameters": {
|
|
11
|
-
"
|
|
11
|
+
"type": "object",
|
|
12
12
|
"properties": {
|
|
13
|
-
"
|
|
14
|
-
"type": "
|
|
15
|
-
},
|
|
16
|
-
"includeUnknown": {
|
|
17
|
-
"type": "boolean"
|
|
18
|
-
},
|
|
19
|
-
"limit": {
|
|
20
|
-
"type": "integer"
|
|
21
|
-
},
|
|
22
|
-
"offset": {
|
|
23
|
-
"type": "integer"
|
|
13
|
+
"doc": {
|
|
14
|
+
"type": "string"
|
|
24
15
|
},
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
{
|
|
28
|
-
"additionalProperties": false,
|
|
29
|
-
"properties": {
|
|
30
|
-
"caseSensitive": {
|
|
31
|
-
"type": "boolean"
|
|
32
|
-
},
|
|
33
|
-
"mode": {
|
|
34
|
-
"enum": [
|
|
35
|
-
"contains",
|
|
36
|
-
"regex"
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
"pattern": {
|
|
40
|
-
"type": "string"
|
|
41
|
-
},
|
|
42
|
-
"type": {
|
|
43
|
-
"const": "text"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"required": [
|
|
47
|
-
"type",
|
|
48
|
-
"pattern"
|
|
49
|
-
],
|
|
50
|
-
"type": "object"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"additionalProperties": false,
|
|
54
|
-
"properties": {
|
|
55
|
-
"kind": {
|
|
56
|
-
"enum": [
|
|
57
|
-
"block",
|
|
58
|
-
"inline"
|
|
59
|
-
]
|
|
60
|
-
},
|
|
61
|
-
"nodeType": {
|
|
62
|
-
"enum": [
|
|
63
|
-
"paragraph",
|
|
64
|
-
"heading",
|
|
65
|
-
"listItem",
|
|
66
|
-
"table",
|
|
67
|
-
"tableRow",
|
|
68
|
-
"tableCell",
|
|
69
|
-
"image",
|
|
70
|
-
"sdt",
|
|
71
|
-
"run",
|
|
72
|
-
"bookmark",
|
|
73
|
-
"comment",
|
|
74
|
-
"hyperlink",
|
|
75
|
-
"footnoteRef",
|
|
76
|
-
"tab",
|
|
77
|
-
"lineBreak"
|
|
78
|
-
]
|
|
79
|
-
},
|
|
80
|
-
"type": {
|
|
81
|
-
"const": "node"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"required": [
|
|
85
|
-
"type"
|
|
86
|
-
],
|
|
87
|
-
"type": "object"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"additionalProperties": false,
|
|
91
|
-
"properties": {
|
|
92
|
-
"nodeType": {
|
|
93
|
-
"enum": [
|
|
94
|
-
"paragraph",
|
|
95
|
-
"heading",
|
|
96
|
-
"listItem",
|
|
97
|
-
"table",
|
|
98
|
-
"tableRow",
|
|
99
|
-
"tableCell",
|
|
100
|
-
"image",
|
|
101
|
-
"sdt",
|
|
102
|
-
"run",
|
|
103
|
-
"bookmark",
|
|
104
|
-
"comment",
|
|
105
|
-
"hyperlink",
|
|
106
|
-
"footnoteRef",
|
|
107
|
-
"tab",
|
|
108
|
-
"lineBreak"
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"required": [
|
|
113
|
-
"nodeType"
|
|
114
|
-
],
|
|
115
|
-
"type": "object"
|
|
116
|
-
}
|
|
117
|
-
]
|
|
16
|
+
"sessionId": {
|
|
17
|
+
"type": "string"
|
|
118
18
|
},
|
|
119
19
|
"within": {
|
|
120
20
|
"oneOf": [
|
|
121
21
|
{
|
|
122
|
-
"
|
|
22
|
+
"type": "object",
|
|
123
23
|
"properties": {
|
|
124
24
|
"kind": {
|
|
125
25
|
"const": "block"
|
|
126
26
|
},
|
|
127
|
-
"nodeId": {
|
|
128
|
-
"type": "string"
|
|
129
|
-
},
|
|
130
27
|
"nodeType": {
|
|
131
|
-
"
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
28
|
+
"oneOf": [
|
|
29
|
+
{
|
|
30
|
+
"const": "paragraph"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"const": "heading"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"const": "listItem"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"const": "table"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"const": "tableRow"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"const": "tableCell"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"const": "image"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"const": "sdt"
|
|
52
|
+
}
|
|
140
53
|
]
|
|
54
|
+
},
|
|
55
|
+
"nodeId": {
|
|
56
|
+
"type": "string"
|
|
141
57
|
}
|
|
142
58
|
},
|
|
143
59
|
"required": [
|
|
144
60
|
"kind",
|
|
145
61
|
"nodeType",
|
|
146
62
|
"nodeId"
|
|
147
|
-
]
|
|
148
|
-
"type": "object"
|
|
63
|
+
]
|
|
149
64
|
},
|
|
150
65
|
{
|
|
151
|
-
"
|
|
66
|
+
"type": "object",
|
|
152
67
|
"properties": {
|
|
68
|
+
"kind": {
|
|
69
|
+
"const": "inline"
|
|
70
|
+
},
|
|
71
|
+
"nodeType": {
|
|
72
|
+
"oneOf": [
|
|
73
|
+
{
|
|
74
|
+
"const": "run"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"const": "bookmark"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"const": "comment"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"const": "hyperlink"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"const": "sdt"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"const": "image"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"const": "footnoteRef"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"const": "tab"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"const": "lineBreak"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
153
102
|
"anchor": {
|
|
154
|
-
"
|
|
103
|
+
"type": "object",
|
|
155
104
|
"properties": {
|
|
156
|
-
"
|
|
157
|
-
"
|
|
105
|
+
"start": {
|
|
106
|
+
"type": "object",
|
|
158
107
|
"properties": {
|
|
159
108
|
"blockId": {
|
|
160
109
|
"type": "string"
|
|
161
110
|
},
|
|
162
111
|
"offset": {
|
|
163
|
-
"type": "
|
|
112
|
+
"type": "number"
|
|
164
113
|
}
|
|
165
114
|
},
|
|
166
115
|
"required": [
|
|
167
116
|
"blockId",
|
|
168
117
|
"offset"
|
|
169
|
-
]
|
|
170
|
-
"type": "object"
|
|
118
|
+
]
|
|
171
119
|
},
|
|
172
|
-
"
|
|
173
|
-
"
|
|
120
|
+
"end": {
|
|
121
|
+
"type": "object",
|
|
174
122
|
"properties": {
|
|
175
123
|
"blockId": {
|
|
176
124
|
"type": "string"
|
|
177
125
|
},
|
|
178
126
|
"offset": {
|
|
179
|
-
"type": "
|
|
127
|
+
"type": "number"
|
|
180
128
|
}
|
|
181
129
|
},
|
|
182
130
|
"required": [
|
|
183
131
|
"blockId",
|
|
184
132
|
"offset"
|
|
185
|
-
]
|
|
186
|
-
"type": "object"
|
|
133
|
+
]
|
|
187
134
|
}
|
|
188
135
|
},
|
|
189
136
|
"required": [
|
|
190
137
|
"start",
|
|
191
138
|
"end"
|
|
192
|
-
],
|
|
193
|
-
"type": "object"
|
|
194
|
-
},
|
|
195
|
-
"kind": {
|
|
196
|
-
"const": "inline"
|
|
197
|
-
},
|
|
198
|
-
"nodeType": {
|
|
199
|
-
"enum": [
|
|
200
|
-
"run",
|
|
201
|
-
"bookmark",
|
|
202
|
-
"comment",
|
|
203
|
-
"hyperlink",
|
|
204
|
-
"sdt",
|
|
205
|
-
"image",
|
|
206
|
-
"footnoteRef",
|
|
207
|
-
"tab",
|
|
208
|
-
"lineBreak"
|
|
209
139
|
]
|
|
210
140
|
}
|
|
211
141
|
},
|
|
@@ -213,16 +143,43 @@
|
|
|
213
143
|
"kind",
|
|
214
144
|
"nodeType",
|
|
215
145
|
"anchor"
|
|
216
|
-
]
|
|
217
|
-
"type": "object"
|
|
146
|
+
]
|
|
218
147
|
}
|
|
219
148
|
]
|
|
220
|
-
}
|
|
149
|
+
},
|
|
150
|
+
"limit": {
|
|
151
|
+
"type": "number"
|
|
152
|
+
},
|
|
153
|
+
"offset": {
|
|
154
|
+
"type": "number"
|
|
155
|
+
},
|
|
156
|
+
"includeNodes": {
|
|
157
|
+
"type": "boolean"
|
|
158
|
+
},
|
|
159
|
+
"includeUnknown": {
|
|
160
|
+
"type": "boolean"
|
|
161
|
+
},
|
|
162
|
+
"type": {
|
|
163
|
+
"type": "string"
|
|
164
|
+
},
|
|
165
|
+
"nodeType": {
|
|
166
|
+
"type": "string"
|
|
167
|
+
},
|
|
168
|
+
"kind": {
|
|
169
|
+
"type": "string"
|
|
170
|
+
},
|
|
171
|
+
"pattern": {
|
|
172
|
+
"type": "string"
|
|
173
|
+
},
|
|
174
|
+
"mode": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
},
|
|
177
|
+
"caseSensitive": {
|
|
178
|
+
"type": "boolean"
|
|
179
|
+
},
|
|
180
|
+
"query": {}
|
|
221
181
|
},
|
|
222
|
-
"
|
|
223
|
-
"select"
|
|
224
|
-
],
|
|
225
|
-
"type": "object"
|
|
182
|
+
"additionalProperties": false
|
|
226
183
|
}
|
|
227
184
|
}
|
|
228
185
|
},
|
|
@@ -232,106 +189,17 @@
|
|
|
232
189
|
"name": "get_node",
|
|
233
190
|
"description": "Retrieve a single node by target position.",
|
|
234
191
|
"parameters": {
|
|
235
|
-
"
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
"
|
|
239
|
-
"kind": {
|
|
240
|
-
"const": "block"
|
|
241
|
-
},
|
|
242
|
-
"nodeId": {
|
|
243
|
-
"type": "string"
|
|
244
|
-
},
|
|
245
|
-
"nodeType": {
|
|
246
|
-
"enum": [
|
|
247
|
-
"paragraph",
|
|
248
|
-
"heading",
|
|
249
|
-
"listItem",
|
|
250
|
-
"table",
|
|
251
|
-
"tableRow",
|
|
252
|
-
"tableCell",
|
|
253
|
-
"image",
|
|
254
|
-
"sdt"
|
|
255
|
-
]
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
"required": [
|
|
259
|
-
"kind",
|
|
260
|
-
"nodeType",
|
|
261
|
-
"nodeId"
|
|
262
|
-
],
|
|
263
|
-
"type": "object"
|
|
192
|
+
"type": "object",
|
|
193
|
+
"properties": {
|
|
194
|
+
"doc": {
|
|
195
|
+
"type": "string"
|
|
264
196
|
},
|
|
265
|
-
{
|
|
266
|
-
"
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
"end": {
|
|
272
|
-
"additionalProperties": false,
|
|
273
|
-
"properties": {
|
|
274
|
-
"blockId": {
|
|
275
|
-
"type": "string"
|
|
276
|
-
},
|
|
277
|
-
"offset": {
|
|
278
|
-
"type": "integer"
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
"required": [
|
|
282
|
-
"blockId",
|
|
283
|
-
"offset"
|
|
284
|
-
],
|
|
285
|
-
"type": "object"
|
|
286
|
-
},
|
|
287
|
-
"start": {
|
|
288
|
-
"additionalProperties": false,
|
|
289
|
-
"properties": {
|
|
290
|
-
"blockId": {
|
|
291
|
-
"type": "string"
|
|
292
|
-
},
|
|
293
|
-
"offset": {
|
|
294
|
-
"type": "integer"
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
"required": [
|
|
298
|
-
"blockId",
|
|
299
|
-
"offset"
|
|
300
|
-
],
|
|
301
|
-
"type": "object"
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
"required": [
|
|
305
|
-
"start",
|
|
306
|
-
"end"
|
|
307
|
-
],
|
|
308
|
-
"type": "object"
|
|
309
|
-
},
|
|
310
|
-
"kind": {
|
|
311
|
-
"const": "inline"
|
|
312
|
-
},
|
|
313
|
-
"nodeType": {
|
|
314
|
-
"enum": [
|
|
315
|
-
"run",
|
|
316
|
-
"bookmark",
|
|
317
|
-
"comment",
|
|
318
|
-
"hyperlink",
|
|
319
|
-
"sdt",
|
|
320
|
-
"image",
|
|
321
|
-
"footnoteRef",
|
|
322
|
-
"tab",
|
|
323
|
-
"lineBreak"
|
|
324
|
-
]
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
"required": [
|
|
328
|
-
"kind",
|
|
329
|
-
"nodeType",
|
|
330
|
-
"anchor"
|
|
331
|
-
],
|
|
332
|
-
"type": "object"
|
|
333
|
-
}
|
|
334
|
-
]
|
|
197
|
+
"sessionId": {
|
|
198
|
+
"type": "string"
|
|
199
|
+
},
|
|
200
|
+
"address": {}
|
|
201
|
+
},
|
|
202
|
+
"additionalProperties": false
|
|
335
203
|
}
|
|
336
204
|
}
|
|
337
205
|
},
|
|
@@ -341,28 +209,25 @@
|
|
|
341
209
|
"name": "get_node_by_id",
|
|
342
210
|
"description": "Retrieve a single node by its unique ID.",
|
|
343
211
|
"parameters": {
|
|
344
|
-
"
|
|
212
|
+
"type": "object",
|
|
345
213
|
"properties": {
|
|
346
|
-
"
|
|
214
|
+
"doc": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
"sessionId": {
|
|
218
|
+
"type": "string"
|
|
219
|
+
},
|
|
220
|
+
"id": {
|
|
347
221
|
"type": "string"
|
|
348
222
|
},
|
|
349
223
|
"nodeType": {
|
|
350
|
-
"
|
|
351
|
-
"paragraph",
|
|
352
|
-
"heading",
|
|
353
|
-
"listItem",
|
|
354
|
-
"table",
|
|
355
|
-
"tableRow",
|
|
356
|
-
"tableCell",
|
|
357
|
-
"image",
|
|
358
|
-
"sdt"
|
|
359
|
-
]
|
|
224
|
+
"type": "string"
|
|
360
225
|
}
|
|
361
226
|
},
|
|
362
227
|
"required": [
|
|
363
|
-
"
|
|
228
|
+
"id"
|
|
364
229
|
],
|
|
365
|
-
"
|
|
230
|
+
"additionalProperties": false
|
|
366
231
|
}
|
|
367
232
|
}
|
|
368
233
|
},
|
|
@@ -372,9 +237,16 @@
|
|
|
372
237
|
"name": "get_document_info",
|
|
373
238
|
"description": "Return document metadata including revision, node count, and capabilities.",
|
|
374
239
|
"parameters": {
|
|
375
|
-
"
|
|
376
|
-
"properties": {
|
|
377
|
-
|
|
240
|
+
"type": "object",
|
|
241
|
+
"properties": {
|
|
242
|
+
"doc": {
|
|
243
|
+
"type": "string"
|
|
244
|
+
},
|
|
245
|
+
"sessionId": {
|
|
246
|
+
"type": "string"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"additionalProperties": false
|
|
378
250
|
}
|
|
379
251
|
}
|
|
380
252
|
},
|
|
@@ -384,49 +256,62 @@
|
|
|
384
256
|
"name": "insert_content",
|
|
385
257
|
"description": "Insert text or inline content at a target position.",
|
|
386
258
|
"parameters": {
|
|
387
|
-
"
|
|
259
|
+
"type": "object",
|
|
388
260
|
"properties": {
|
|
261
|
+
"doc": {
|
|
262
|
+
"type": "string"
|
|
263
|
+
},
|
|
264
|
+
"sessionId": {
|
|
265
|
+
"type": "string"
|
|
266
|
+
},
|
|
267
|
+
"force": {
|
|
268
|
+
"type": "boolean"
|
|
269
|
+
},
|
|
389
270
|
"target": {
|
|
390
|
-
"
|
|
271
|
+
"type": "object",
|
|
391
272
|
"properties": {
|
|
392
|
-
"blockId": {
|
|
393
|
-
"type": "string"
|
|
394
|
-
},
|
|
395
273
|
"kind": {
|
|
396
274
|
"const": "text"
|
|
397
275
|
},
|
|
276
|
+
"blockId": {
|
|
277
|
+
"type": "string"
|
|
278
|
+
},
|
|
398
279
|
"range": {
|
|
399
|
-
"
|
|
280
|
+
"type": "object",
|
|
400
281
|
"properties": {
|
|
401
|
-
"end": {
|
|
402
|
-
"type": "integer"
|
|
403
|
-
},
|
|
404
282
|
"start": {
|
|
405
|
-
"type": "
|
|
283
|
+
"type": "number"
|
|
284
|
+
},
|
|
285
|
+
"end": {
|
|
286
|
+
"type": "number"
|
|
406
287
|
}
|
|
407
288
|
},
|
|
408
289
|
"required": [
|
|
409
290
|
"start",
|
|
410
291
|
"end"
|
|
411
|
-
]
|
|
412
|
-
"type": "object"
|
|
292
|
+
]
|
|
413
293
|
}
|
|
414
294
|
},
|
|
415
295
|
"required": [
|
|
416
296
|
"kind",
|
|
417
297
|
"blockId",
|
|
418
298
|
"range"
|
|
419
|
-
]
|
|
420
|
-
"type": "object"
|
|
299
|
+
]
|
|
421
300
|
},
|
|
422
301
|
"text": {
|
|
423
302
|
"type": "string"
|
|
303
|
+
},
|
|
304
|
+
"blockId": {
|
|
305
|
+
"type": "string"
|
|
306
|
+
},
|
|
307
|
+
"offset": {
|
|
308
|
+
"type": "number"
|
|
424
309
|
}
|
|
425
310
|
},
|
|
426
311
|
"required": [
|
|
427
312
|
"text"
|
|
428
313
|
],
|
|
429
|
-
"
|
|
314
|
+
"additionalProperties": false
|
|
430
315
|
}
|
|
431
316
|
}
|
|
432
317
|
},
|
|
@@ -436,50 +321,65 @@
|
|
|
436
321
|
"name": "replace_content",
|
|
437
322
|
"description": "Replace content at a target position with new text or inline content.",
|
|
438
323
|
"parameters": {
|
|
439
|
-
"
|
|
324
|
+
"type": "object",
|
|
440
325
|
"properties": {
|
|
326
|
+
"doc": {
|
|
327
|
+
"type": "string"
|
|
328
|
+
},
|
|
329
|
+
"sessionId": {
|
|
330
|
+
"type": "string"
|
|
331
|
+
},
|
|
332
|
+
"force": {
|
|
333
|
+
"type": "boolean"
|
|
334
|
+
},
|
|
441
335
|
"target": {
|
|
442
|
-
"
|
|
336
|
+
"type": "object",
|
|
443
337
|
"properties": {
|
|
444
|
-
"blockId": {
|
|
445
|
-
"type": "string"
|
|
446
|
-
},
|
|
447
338
|
"kind": {
|
|
448
339
|
"const": "text"
|
|
449
340
|
},
|
|
341
|
+
"blockId": {
|
|
342
|
+
"type": "string"
|
|
343
|
+
},
|
|
450
344
|
"range": {
|
|
451
|
-
"
|
|
345
|
+
"type": "object",
|
|
452
346
|
"properties": {
|
|
453
|
-
"end": {
|
|
454
|
-
"type": "integer"
|
|
455
|
-
},
|
|
456
347
|
"start": {
|
|
457
|
-
"type": "
|
|
348
|
+
"type": "number"
|
|
349
|
+
},
|
|
350
|
+
"end": {
|
|
351
|
+
"type": "number"
|
|
458
352
|
}
|
|
459
353
|
},
|
|
460
354
|
"required": [
|
|
461
355
|
"start",
|
|
462
356
|
"end"
|
|
463
|
-
]
|
|
464
|
-
"type": "object"
|
|
357
|
+
]
|
|
465
358
|
}
|
|
466
359
|
},
|
|
467
360
|
"required": [
|
|
468
361
|
"kind",
|
|
469
362
|
"blockId",
|
|
470
363
|
"range"
|
|
471
|
-
]
|
|
472
|
-
"type": "object"
|
|
364
|
+
]
|
|
473
365
|
},
|
|
474
366
|
"text": {
|
|
475
367
|
"type": "string"
|
|
368
|
+
},
|
|
369
|
+
"blockId": {
|
|
370
|
+
"type": "string"
|
|
371
|
+
},
|
|
372
|
+
"start": {
|
|
373
|
+
"type": "number"
|
|
374
|
+
},
|
|
375
|
+
"end": {
|
|
376
|
+
"type": "number"
|
|
476
377
|
}
|
|
477
378
|
},
|
|
478
379
|
"required": [
|
|
479
|
-
"target",
|
|
480
380
|
"text"
|
|
481
381
|
],
|
|
482
|
-
"
|
|
382
|
+
"additionalProperties": false
|
|
483
383
|
}
|
|
484
384
|
}
|
|
485
385
|
},
|
|
@@ -489,46 +389,59 @@
|
|
|
489
389
|
"name": "delete_content",
|
|
490
390
|
"description": "Delete content at a target position.",
|
|
491
391
|
"parameters": {
|
|
492
|
-
"
|
|
392
|
+
"type": "object",
|
|
493
393
|
"properties": {
|
|
394
|
+
"doc": {
|
|
395
|
+
"type": "string"
|
|
396
|
+
},
|
|
397
|
+
"sessionId": {
|
|
398
|
+
"type": "string"
|
|
399
|
+
},
|
|
400
|
+
"force": {
|
|
401
|
+
"type": "boolean"
|
|
402
|
+
},
|
|
494
403
|
"target": {
|
|
495
|
-
"
|
|
404
|
+
"type": "object",
|
|
496
405
|
"properties": {
|
|
497
|
-
"blockId": {
|
|
498
|
-
"type": "string"
|
|
499
|
-
},
|
|
500
406
|
"kind": {
|
|
501
407
|
"const": "text"
|
|
502
408
|
},
|
|
409
|
+
"blockId": {
|
|
410
|
+
"type": "string"
|
|
411
|
+
},
|
|
503
412
|
"range": {
|
|
504
|
-
"
|
|
505
|
-
"properties": {
|
|
506
|
-
"end": {
|
|
507
|
-
"type": "integer"
|
|
508
|
-
},
|
|
413
|
+
"type": "object",
|
|
414
|
+
"properties": {
|
|
509
415
|
"start": {
|
|
510
|
-
"type": "
|
|
416
|
+
"type": "number"
|
|
417
|
+
},
|
|
418
|
+
"end": {
|
|
419
|
+
"type": "number"
|
|
511
420
|
}
|
|
512
421
|
},
|
|
513
422
|
"required": [
|
|
514
423
|
"start",
|
|
515
424
|
"end"
|
|
516
|
-
]
|
|
517
|
-
"type": "object"
|
|
425
|
+
]
|
|
518
426
|
}
|
|
519
427
|
},
|
|
520
428
|
"required": [
|
|
521
429
|
"kind",
|
|
522
430
|
"blockId",
|
|
523
431
|
"range"
|
|
524
|
-
]
|
|
525
|
-
|
|
432
|
+
]
|
|
433
|
+
},
|
|
434
|
+
"blockId": {
|
|
435
|
+
"type": "string"
|
|
436
|
+
},
|
|
437
|
+
"start": {
|
|
438
|
+
"type": "number"
|
|
439
|
+
},
|
|
440
|
+
"end": {
|
|
441
|
+
"type": "number"
|
|
526
442
|
}
|
|
527
443
|
},
|
|
528
|
-
"
|
|
529
|
-
"target"
|
|
530
|
-
],
|
|
531
|
-
"type": "object"
|
|
444
|
+
"additionalProperties": false
|
|
532
445
|
}
|
|
533
446
|
}
|
|
534
447
|
},
|
|
@@ -538,46 +451,59 @@
|
|
|
538
451
|
"name": "format_bold",
|
|
539
452
|
"description": "Toggle bold formatting on the target range.",
|
|
540
453
|
"parameters": {
|
|
541
|
-
"
|
|
454
|
+
"type": "object",
|
|
542
455
|
"properties": {
|
|
456
|
+
"doc": {
|
|
457
|
+
"type": "string"
|
|
458
|
+
},
|
|
459
|
+
"sessionId": {
|
|
460
|
+
"type": "string"
|
|
461
|
+
},
|
|
462
|
+
"force": {
|
|
463
|
+
"type": "boolean"
|
|
464
|
+
},
|
|
543
465
|
"target": {
|
|
544
|
-
"
|
|
466
|
+
"type": "object",
|
|
545
467
|
"properties": {
|
|
546
|
-
"blockId": {
|
|
547
|
-
"type": "string"
|
|
548
|
-
},
|
|
549
468
|
"kind": {
|
|
550
469
|
"const": "text"
|
|
551
470
|
},
|
|
471
|
+
"blockId": {
|
|
472
|
+
"type": "string"
|
|
473
|
+
},
|
|
552
474
|
"range": {
|
|
553
|
-
"
|
|
475
|
+
"type": "object",
|
|
554
476
|
"properties": {
|
|
555
|
-
"end": {
|
|
556
|
-
"type": "integer"
|
|
557
|
-
},
|
|
558
477
|
"start": {
|
|
559
|
-
"type": "
|
|
478
|
+
"type": "number"
|
|
479
|
+
},
|
|
480
|
+
"end": {
|
|
481
|
+
"type": "number"
|
|
560
482
|
}
|
|
561
483
|
},
|
|
562
484
|
"required": [
|
|
563
485
|
"start",
|
|
564
486
|
"end"
|
|
565
|
-
]
|
|
566
|
-
"type": "object"
|
|
487
|
+
]
|
|
567
488
|
}
|
|
568
489
|
},
|
|
569
490
|
"required": [
|
|
570
491
|
"kind",
|
|
571
492
|
"blockId",
|
|
572
493
|
"range"
|
|
573
|
-
]
|
|
574
|
-
|
|
494
|
+
]
|
|
495
|
+
},
|
|
496
|
+
"blockId": {
|
|
497
|
+
"type": "string"
|
|
498
|
+
},
|
|
499
|
+
"start": {
|
|
500
|
+
"type": "number"
|
|
501
|
+
},
|
|
502
|
+
"end": {
|
|
503
|
+
"type": "number"
|
|
575
504
|
}
|
|
576
505
|
},
|
|
577
|
-
"
|
|
578
|
-
"target"
|
|
579
|
-
],
|
|
580
|
-
"type": "object"
|
|
506
|
+
"additionalProperties": false
|
|
581
507
|
}
|
|
582
508
|
}
|
|
583
509
|
},
|
|
@@ -587,46 +513,59 @@
|
|
|
587
513
|
"name": "format_italic",
|
|
588
514
|
"description": "Toggle italic formatting on the target range.",
|
|
589
515
|
"parameters": {
|
|
590
|
-
"
|
|
516
|
+
"type": "object",
|
|
591
517
|
"properties": {
|
|
518
|
+
"doc": {
|
|
519
|
+
"type": "string"
|
|
520
|
+
},
|
|
521
|
+
"sessionId": {
|
|
522
|
+
"type": "string"
|
|
523
|
+
},
|
|
524
|
+
"force": {
|
|
525
|
+
"type": "boolean"
|
|
526
|
+
},
|
|
592
527
|
"target": {
|
|
593
|
-
"
|
|
528
|
+
"type": "object",
|
|
594
529
|
"properties": {
|
|
595
|
-
"blockId": {
|
|
596
|
-
"type": "string"
|
|
597
|
-
},
|
|
598
530
|
"kind": {
|
|
599
531
|
"const": "text"
|
|
600
532
|
},
|
|
533
|
+
"blockId": {
|
|
534
|
+
"type": "string"
|
|
535
|
+
},
|
|
601
536
|
"range": {
|
|
602
|
-
"
|
|
537
|
+
"type": "object",
|
|
603
538
|
"properties": {
|
|
604
|
-
"end": {
|
|
605
|
-
"type": "integer"
|
|
606
|
-
},
|
|
607
539
|
"start": {
|
|
608
|
-
"type": "
|
|
540
|
+
"type": "number"
|
|
541
|
+
},
|
|
542
|
+
"end": {
|
|
543
|
+
"type": "number"
|
|
609
544
|
}
|
|
610
545
|
},
|
|
611
546
|
"required": [
|
|
612
547
|
"start",
|
|
613
548
|
"end"
|
|
614
|
-
]
|
|
615
|
-
"type": "object"
|
|
549
|
+
]
|
|
616
550
|
}
|
|
617
551
|
},
|
|
618
552
|
"required": [
|
|
619
553
|
"kind",
|
|
620
554
|
"blockId",
|
|
621
555
|
"range"
|
|
622
|
-
]
|
|
623
|
-
|
|
556
|
+
]
|
|
557
|
+
},
|
|
558
|
+
"blockId": {
|
|
559
|
+
"type": "string"
|
|
560
|
+
},
|
|
561
|
+
"start": {
|
|
562
|
+
"type": "number"
|
|
563
|
+
},
|
|
564
|
+
"end": {
|
|
565
|
+
"type": "number"
|
|
624
566
|
}
|
|
625
567
|
},
|
|
626
|
-
"
|
|
627
|
-
"target"
|
|
628
|
-
],
|
|
629
|
-
"type": "object"
|
|
568
|
+
"additionalProperties": false
|
|
630
569
|
}
|
|
631
570
|
}
|
|
632
571
|
},
|
|
@@ -636,46 +575,59 @@
|
|
|
636
575
|
"name": "format_underline",
|
|
637
576
|
"description": "Toggle underline formatting on the target range.",
|
|
638
577
|
"parameters": {
|
|
639
|
-
"
|
|
578
|
+
"type": "object",
|
|
640
579
|
"properties": {
|
|
580
|
+
"doc": {
|
|
581
|
+
"type": "string"
|
|
582
|
+
},
|
|
583
|
+
"sessionId": {
|
|
584
|
+
"type": "string"
|
|
585
|
+
},
|
|
586
|
+
"force": {
|
|
587
|
+
"type": "boolean"
|
|
588
|
+
},
|
|
641
589
|
"target": {
|
|
642
|
-
"
|
|
590
|
+
"type": "object",
|
|
643
591
|
"properties": {
|
|
644
|
-
"blockId": {
|
|
645
|
-
"type": "string"
|
|
646
|
-
},
|
|
647
592
|
"kind": {
|
|
648
593
|
"const": "text"
|
|
649
594
|
},
|
|
595
|
+
"blockId": {
|
|
596
|
+
"type": "string"
|
|
597
|
+
},
|
|
650
598
|
"range": {
|
|
651
|
-
"
|
|
599
|
+
"type": "object",
|
|
652
600
|
"properties": {
|
|
653
|
-
"end": {
|
|
654
|
-
"type": "integer"
|
|
655
|
-
},
|
|
656
601
|
"start": {
|
|
657
|
-
"type": "
|
|
602
|
+
"type": "number"
|
|
603
|
+
},
|
|
604
|
+
"end": {
|
|
605
|
+
"type": "number"
|
|
658
606
|
}
|
|
659
607
|
},
|
|
660
608
|
"required": [
|
|
661
609
|
"start",
|
|
662
610
|
"end"
|
|
663
|
-
]
|
|
664
|
-
"type": "object"
|
|
611
|
+
]
|
|
665
612
|
}
|
|
666
613
|
},
|
|
667
614
|
"required": [
|
|
668
615
|
"kind",
|
|
669
616
|
"blockId",
|
|
670
617
|
"range"
|
|
671
|
-
]
|
|
672
|
-
|
|
618
|
+
]
|
|
619
|
+
},
|
|
620
|
+
"blockId": {
|
|
621
|
+
"type": "string"
|
|
622
|
+
},
|
|
623
|
+
"start": {
|
|
624
|
+
"type": "number"
|
|
625
|
+
},
|
|
626
|
+
"end": {
|
|
627
|
+
"type": "number"
|
|
673
628
|
}
|
|
674
629
|
},
|
|
675
|
-
"
|
|
676
|
-
"target"
|
|
677
|
-
],
|
|
678
|
-
"type": "object"
|
|
630
|
+
"additionalProperties": false
|
|
679
631
|
}
|
|
680
632
|
}
|
|
681
633
|
},
|
|
@@ -685,46 +637,59 @@
|
|
|
685
637
|
"name": "format_strikethrough",
|
|
686
638
|
"description": "Toggle strikethrough formatting on the target range.",
|
|
687
639
|
"parameters": {
|
|
688
|
-
"
|
|
640
|
+
"type": "object",
|
|
689
641
|
"properties": {
|
|
642
|
+
"doc": {
|
|
643
|
+
"type": "string"
|
|
644
|
+
},
|
|
645
|
+
"sessionId": {
|
|
646
|
+
"type": "string"
|
|
647
|
+
},
|
|
648
|
+
"force": {
|
|
649
|
+
"type": "boolean"
|
|
650
|
+
},
|
|
690
651
|
"target": {
|
|
691
|
-
"
|
|
652
|
+
"type": "object",
|
|
692
653
|
"properties": {
|
|
693
|
-
"blockId": {
|
|
694
|
-
"type": "string"
|
|
695
|
-
},
|
|
696
654
|
"kind": {
|
|
697
655
|
"const": "text"
|
|
698
656
|
},
|
|
657
|
+
"blockId": {
|
|
658
|
+
"type": "string"
|
|
659
|
+
},
|
|
699
660
|
"range": {
|
|
700
|
-
"
|
|
661
|
+
"type": "object",
|
|
701
662
|
"properties": {
|
|
702
|
-
"end": {
|
|
703
|
-
"type": "integer"
|
|
704
|
-
},
|
|
705
663
|
"start": {
|
|
706
|
-
"type": "
|
|
664
|
+
"type": "number"
|
|
665
|
+
},
|
|
666
|
+
"end": {
|
|
667
|
+
"type": "number"
|
|
707
668
|
}
|
|
708
669
|
},
|
|
709
670
|
"required": [
|
|
710
671
|
"start",
|
|
711
672
|
"end"
|
|
712
|
-
]
|
|
713
|
-
"type": "object"
|
|
673
|
+
]
|
|
714
674
|
}
|
|
715
675
|
},
|
|
716
676
|
"required": [
|
|
717
677
|
"kind",
|
|
718
678
|
"blockId",
|
|
719
679
|
"range"
|
|
720
|
-
]
|
|
721
|
-
|
|
680
|
+
]
|
|
681
|
+
},
|
|
682
|
+
"blockId": {
|
|
683
|
+
"type": "string"
|
|
684
|
+
},
|
|
685
|
+
"start": {
|
|
686
|
+
"type": "number"
|
|
687
|
+
},
|
|
688
|
+
"end": {
|
|
689
|
+
"type": "number"
|
|
722
690
|
}
|
|
723
691
|
},
|
|
724
|
-
"
|
|
725
|
-
"target"
|
|
726
|
-
],
|
|
727
|
-
"type": "object"
|
|
692
|
+
"additionalProperties": false
|
|
728
693
|
}
|
|
729
694
|
}
|
|
730
695
|
},
|
|
@@ -734,12 +699,21 @@
|
|
|
734
699
|
"name": "create_paragraph",
|
|
735
700
|
"description": "Create a new paragraph at the target position.",
|
|
736
701
|
"parameters": {
|
|
737
|
-
"
|
|
702
|
+
"type": "object",
|
|
738
703
|
"properties": {
|
|
704
|
+
"doc": {
|
|
705
|
+
"type": "string"
|
|
706
|
+
},
|
|
707
|
+
"sessionId": {
|
|
708
|
+
"type": "string"
|
|
709
|
+
},
|
|
710
|
+
"force": {
|
|
711
|
+
"type": "boolean"
|
|
712
|
+
},
|
|
739
713
|
"at": {
|
|
740
714
|
"oneOf": [
|
|
741
715
|
{
|
|
742
|
-
"
|
|
716
|
+
"type": "object",
|
|
743
717
|
"properties": {
|
|
744
718
|
"kind": {
|
|
745
719
|
"const": "documentStart"
|
|
@@ -747,11 +721,10 @@
|
|
|
747
721
|
},
|
|
748
722
|
"required": [
|
|
749
723
|
"kind"
|
|
750
|
-
]
|
|
751
|
-
"type": "object"
|
|
724
|
+
]
|
|
752
725
|
},
|
|
753
726
|
{
|
|
754
|
-
"
|
|
727
|
+
"type": "object",
|
|
755
728
|
"properties": {
|
|
756
729
|
"kind": {
|
|
757
730
|
"const": "documentEnd"
|
|
@@ -759,100 +732,36 @@
|
|
|
759
732
|
},
|
|
760
733
|
"required": [
|
|
761
734
|
"kind"
|
|
762
|
-
]
|
|
763
|
-
"type": "object"
|
|
735
|
+
]
|
|
764
736
|
},
|
|
765
737
|
{
|
|
766
|
-
"
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
"const": "before"
|
|
738
|
+
"oneOf": [
|
|
739
|
+
{
|
|
740
|
+
"type": "json"
|
|
770
741
|
},
|
|
771
|
-
|
|
772
|
-
"
|
|
773
|
-
"properties": {
|
|
774
|
-
"kind": {
|
|
775
|
-
"const": "block"
|
|
776
|
-
},
|
|
777
|
-
"nodeId": {
|
|
778
|
-
"type": "string"
|
|
779
|
-
},
|
|
780
|
-
"nodeType": {
|
|
781
|
-
"enum": [
|
|
782
|
-
"paragraph",
|
|
783
|
-
"heading",
|
|
784
|
-
"listItem",
|
|
785
|
-
"table",
|
|
786
|
-
"tableRow",
|
|
787
|
-
"tableCell",
|
|
788
|
-
"image",
|
|
789
|
-
"sdt"
|
|
790
|
-
]
|
|
791
|
-
}
|
|
792
|
-
},
|
|
793
|
-
"required": [
|
|
794
|
-
"kind",
|
|
795
|
-
"nodeType",
|
|
796
|
-
"nodeId"
|
|
797
|
-
],
|
|
798
|
-
"type": "object"
|
|
742
|
+
{
|
|
743
|
+
"type": "json"
|
|
799
744
|
}
|
|
800
|
-
|
|
801
|
-
"required": [
|
|
802
|
-
"kind",
|
|
803
|
-
"target"
|
|
804
|
-
],
|
|
805
|
-
"type": "object"
|
|
745
|
+
]
|
|
806
746
|
},
|
|
807
747
|
{
|
|
808
|
-
"
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
"const": "after"
|
|
748
|
+
"oneOf": [
|
|
749
|
+
{
|
|
750
|
+
"type": "json"
|
|
812
751
|
},
|
|
813
|
-
|
|
814
|
-
"
|
|
815
|
-
"properties": {
|
|
816
|
-
"kind": {
|
|
817
|
-
"const": "block"
|
|
818
|
-
},
|
|
819
|
-
"nodeId": {
|
|
820
|
-
"type": "string"
|
|
821
|
-
},
|
|
822
|
-
"nodeType": {
|
|
823
|
-
"enum": [
|
|
824
|
-
"paragraph",
|
|
825
|
-
"heading",
|
|
826
|
-
"listItem",
|
|
827
|
-
"table",
|
|
828
|
-
"tableRow",
|
|
829
|
-
"tableCell",
|
|
830
|
-
"image",
|
|
831
|
-
"sdt"
|
|
832
|
-
]
|
|
833
|
-
}
|
|
834
|
-
},
|
|
835
|
-
"required": [
|
|
836
|
-
"kind",
|
|
837
|
-
"nodeType",
|
|
838
|
-
"nodeId"
|
|
839
|
-
],
|
|
840
|
-
"type": "object"
|
|
752
|
+
{
|
|
753
|
+
"type": "json"
|
|
841
754
|
}
|
|
842
|
-
|
|
843
|
-
"required": [
|
|
844
|
-
"kind",
|
|
845
|
-
"target"
|
|
846
|
-
],
|
|
847
|
-
"type": "object"
|
|
755
|
+
]
|
|
848
756
|
}
|
|
849
757
|
]
|
|
850
758
|
},
|
|
851
759
|
"text": {
|
|
852
760
|
"type": "string"
|
|
853
|
-
}
|
|
761
|
+
},
|
|
762
|
+
"input": {}
|
|
854
763
|
},
|
|
855
|
-
"
|
|
764
|
+
"additionalProperties": false
|
|
856
765
|
}
|
|
857
766
|
}
|
|
858
767
|
},
|
|
@@ -862,57 +771,76 @@
|
|
|
862
771
|
"name": "list_lists",
|
|
863
772
|
"description": "List all list nodes in the document, optionally filtered by scope.",
|
|
864
773
|
"parameters": {
|
|
865
|
-
"
|
|
774
|
+
"type": "object",
|
|
866
775
|
"properties": {
|
|
867
|
-
"
|
|
868
|
-
"
|
|
869
|
-
"ordered",
|
|
870
|
-
"bullet"
|
|
871
|
-
]
|
|
872
|
-
},
|
|
873
|
-
"level": {
|
|
874
|
-
"type": "integer"
|
|
875
|
-
},
|
|
876
|
-
"limit": {
|
|
877
|
-
"type": "integer"
|
|
878
|
-
},
|
|
879
|
-
"offset": {
|
|
880
|
-
"type": "integer"
|
|
776
|
+
"doc": {
|
|
777
|
+
"type": "string"
|
|
881
778
|
},
|
|
882
|
-
"
|
|
883
|
-
"type": "
|
|
779
|
+
"sessionId": {
|
|
780
|
+
"type": "string"
|
|
884
781
|
},
|
|
885
782
|
"within": {
|
|
886
|
-
"
|
|
783
|
+
"type": "object",
|
|
887
784
|
"properties": {
|
|
888
785
|
"kind": {
|
|
889
786
|
"const": "block"
|
|
890
787
|
},
|
|
891
|
-
"nodeId": {
|
|
892
|
-
"type": "string"
|
|
893
|
-
},
|
|
894
788
|
"nodeType": {
|
|
895
|
-
"
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
789
|
+
"oneOf": [
|
|
790
|
+
{
|
|
791
|
+
"const": "paragraph"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"const": "heading"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"const": "listItem"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"const": "table"
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"const": "tableRow"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"const": "tableCell"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"const": "image"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"const": "sdt"
|
|
813
|
+
}
|
|
904
814
|
]
|
|
815
|
+
},
|
|
816
|
+
"nodeId": {
|
|
817
|
+
"type": "string"
|
|
905
818
|
}
|
|
906
819
|
},
|
|
907
820
|
"required": [
|
|
908
821
|
"kind",
|
|
909
822
|
"nodeType",
|
|
910
823
|
"nodeId"
|
|
911
|
-
]
|
|
912
|
-
|
|
913
|
-
|
|
824
|
+
]
|
|
825
|
+
},
|
|
826
|
+
"limit": {
|
|
827
|
+
"type": "number"
|
|
828
|
+
},
|
|
829
|
+
"offset": {
|
|
830
|
+
"type": "number"
|
|
831
|
+
},
|
|
832
|
+
"kind": {
|
|
833
|
+
"type": "string"
|
|
834
|
+
},
|
|
835
|
+
"level": {
|
|
836
|
+
"type": "number"
|
|
837
|
+
},
|
|
838
|
+
"ordinal": {
|
|
839
|
+
"type": "number"
|
|
840
|
+
},
|
|
841
|
+
"query": {}
|
|
914
842
|
},
|
|
915
|
-
"
|
|
843
|
+
"additionalProperties": false
|
|
916
844
|
}
|
|
917
845
|
}
|
|
918
846
|
},
|
|
@@ -922,33 +850,38 @@
|
|
|
922
850
|
"name": "get_list",
|
|
923
851
|
"description": "Retrieve a specific list node by target.",
|
|
924
852
|
"parameters": {
|
|
925
|
-
"
|
|
853
|
+
"type": "object",
|
|
926
854
|
"properties": {
|
|
855
|
+
"doc": {
|
|
856
|
+
"type": "string"
|
|
857
|
+
},
|
|
858
|
+
"sessionId": {
|
|
859
|
+
"type": "string"
|
|
860
|
+
},
|
|
927
861
|
"address": {
|
|
928
|
-
"
|
|
862
|
+
"type": "object",
|
|
929
863
|
"properties": {
|
|
930
864
|
"kind": {
|
|
931
865
|
"const": "block"
|
|
932
866
|
},
|
|
933
|
-
"nodeId": {
|
|
934
|
-
"type": "string"
|
|
935
|
-
},
|
|
936
867
|
"nodeType": {
|
|
937
868
|
"const": "listItem"
|
|
869
|
+
},
|
|
870
|
+
"nodeId": {
|
|
871
|
+
"type": "string"
|
|
938
872
|
}
|
|
939
873
|
},
|
|
940
874
|
"required": [
|
|
941
875
|
"kind",
|
|
942
876
|
"nodeType",
|
|
943
877
|
"nodeId"
|
|
944
|
-
]
|
|
945
|
-
"type": "object"
|
|
878
|
+
]
|
|
946
879
|
}
|
|
947
880
|
},
|
|
948
881
|
"required": [
|
|
949
882
|
"address"
|
|
950
883
|
],
|
|
951
|
-
"
|
|
884
|
+
"additionalProperties": false
|
|
952
885
|
}
|
|
953
886
|
}
|
|
954
887
|
},
|
|
@@ -958,43 +891,48 @@
|
|
|
958
891
|
"name": "insert_list",
|
|
959
892
|
"description": "Insert a new list at the target position.",
|
|
960
893
|
"parameters": {
|
|
961
|
-
"
|
|
894
|
+
"type": "object",
|
|
962
895
|
"properties": {
|
|
963
|
-
"
|
|
964
|
-
"
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
896
|
+
"doc": {
|
|
897
|
+
"type": "string"
|
|
898
|
+
},
|
|
899
|
+
"sessionId": {
|
|
900
|
+
"type": "string"
|
|
901
|
+
},
|
|
902
|
+
"force": {
|
|
903
|
+
"type": "boolean"
|
|
968
904
|
},
|
|
969
905
|
"target": {
|
|
970
|
-
"
|
|
906
|
+
"type": "object",
|
|
971
907
|
"properties": {
|
|
972
908
|
"kind": {
|
|
973
909
|
"const": "block"
|
|
974
910
|
},
|
|
975
|
-
"nodeId": {
|
|
976
|
-
"type": "string"
|
|
977
|
-
},
|
|
978
911
|
"nodeType": {
|
|
979
912
|
"const": "listItem"
|
|
913
|
+
},
|
|
914
|
+
"nodeId": {
|
|
915
|
+
"type": "string"
|
|
980
916
|
}
|
|
981
917
|
},
|
|
982
918
|
"required": [
|
|
983
919
|
"kind",
|
|
984
920
|
"nodeType",
|
|
985
921
|
"nodeId"
|
|
986
|
-
]
|
|
987
|
-
|
|
922
|
+
]
|
|
923
|
+
},
|
|
924
|
+
"nodeId": {
|
|
925
|
+
"type": "string"
|
|
926
|
+
},
|
|
927
|
+
"position": {
|
|
928
|
+
"type": "string"
|
|
988
929
|
},
|
|
989
930
|
"text": {
|
|
990
931
|
"type": "string"
|
|
991
|
-
}
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
"position"
|
|
996
|
-
],
|
|
997
|
-
"type": "object"
|
|
932
|
+
},
|
|
933
|
+
"input": {}
|
|
934
|
+
},
|
|
935
|
+
"additionalProperties": false
|
|
998
936
|
}
|
|
999
937
|
}
|
|
1000
938
|
},
|
|
@@ -1004,40 +942,45 @@
|
|
|
1004
942
|
"name": "set_list_type",
|
|
1005
943
|
"description": "Change the list type (ordered, unordered) of a target list.",
|
|
1006
944
|
"parameters": {
|
|
1007
|
-
"
|
|
945
|
+
"type": "object",
|
|
1008
946
|
"properties": {
|
|
1009
|
-
"
|
|
1010
|
-
"
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
947
|
+
"doc": {
|
|
948
|
+
"type": "string"
|
|
949
|
+
},
|
|
950
|
+
"sessionId": {
|
|
951
|
+
"type": "string"
|
|
952
|
+
},
|
|
953
|
+
"force": {
|
|
954
|
+
"type": "boolean"
|
|
1014
955
|
},
|
|
1015
956
|
"target": {
|
|
1016
|
-
"
|
|
957
|
+
"type": "object",
|
|
1017
958
|
"properties": {
|
|
1018
959
|
"kind": {
|
|
1019
960
|
"const": "block"
|
|
1020
961
|
},
|
|
1021
|
-
"nodeId": {
|
|
1022
|
-
"type": "string"
|
|
1023
|
-
},
|
|
1024
962
|
"nodeType": {
|
|
1025
963
|
"const": "listItem"
|
|
964
|
+
},
|
|
965
|
+
"nodeId": {
|
|
966
|
+
"type": "string"
|
|
1026
967
|
}
|
|
1027
968
|
},
|
|
1028
969
|
"required": [
|
|
1029
970
|
"kind",
|
|
1030
971
|
"nodeType",
|
|
1031
972
|
"nodeId"
|
|
1032
|
-
]
|
|
1033
|
-
|
|
1034
|
-
|
|
973
|
+
]
|
|
974
|
+
},
|
|
975
|
+
"nodeId": {
|
|
976
|
+
"type": "string"
|
|
977
|
+
},
|
|
978
|
+
"kind": {
|
|
979
|
+
"type": "string"
|
|
980
|
+
},
|
|
981
|
+
"input": {}
|
|
1035
982
|
},
|
|
1036
|
-
"
|
|
1037
|
-
"target",
|
|
1038
|
-
"kind"
|
|
1039
|
-
],
|
|
1040
|
-
"type": "object"
|
|
983
|
+
"additionalProperties": false
|
|
1041
984
|
}
|
|
1042
985
|
}
|
|
1043
986
|
},
|
|
@@ -1047,33 +990,42 @@
|
|
|
1047
990
|
"name": "indent_list",
|
|
1048
991
|
"description": "Increase the indentation level of a list item.",
|
|
1049
992
|
"parameters": {
|
|
1050
|
-
"
|
|
993
|
+
"type": "object",
|
|
1051
994
|
"properties": {
|
|
995
|
+
"doc": {
|
|
996
|
+
"type": "string"
|
|
997
|
+
},
|
|
998
|
+
"sessionId": {
|
|
999
|
+
"type": "string"
|
|
1000
|
+
},
|
|
1001
|
+
"force": {
|
|
1002
|
+
"type": "boolean"
|
|
1003
|
+
},
|
|
1052
1004
|
"target": {
|
|
1053
|
-
"
|
|
1005
|
+
"type": "object",
|
|
1054
1006
|
"properties": {
|
|
1055
1007
|
"kind": {
|
|
1056
1008
|
"const": "block"
|
|
1057
1009
|
},
|
|
1058
|
-
"nodeId": {
|
|
1059
|
-
"type": "string"
|
|
1060
|
-
},
|
|
1061
1010
|
"nodeType": {
|
|
1062
1011
|
"const": "listItem"
|
|
1012
|
+
},
|
|
1013
|
+
"nodeId": {
|
|
1014
|
+
"type": "string"
|
|
1063
1015
|
}
|
|
1064
1016
|
},
|
|
1065
1017
|
"required": [
|
|
1066
1018
|
"kind",
|
|
1067
1019
|
"nodeType",
|
|
1068
1020
|
"nodeId"
|
|
1069
|
-
]
|
|
1070
|
-
|
|
1071
|
-
|
|
1021
|
+
]
|
|
1022
|
+
},
|
|
1023
|
+
"nodeId": {
|
|
1024
|
+
"type": "string"
|
|
1025
|
+
},
|
|
1026
|
+
"input": {}
|
|
1072
1027
|
},
|
|
1073
|
-
"
|
|
1074
|
-
"target"
|
|
1075
|
-
],
|
|
1076
|
-
"type": "object"
|
|
1028
|
+
"additionalProperties": false
|
|
1077
1029
|
}
|
|
1078
1030
|
}
|
|
1079
1031
|
},
|
|
@@ -1083,33 +1035,42 @@
|
|
|
1083
1035
|
"name": "outdent_list",
|
|
1084
1036
|
"description": "Decrease the indentation level of a list item.",
|
|
1085
1037
|
"parameters": {
|
|
1086
|
-
"
|
|
1038
|
+
"type": "object",
|
|
1087
1039
|
"properties": {
|
|
1040
|
+
"doc": {
|
|
1041
|
+
"type": "string"
|
|
1042
|
+
},
|
|
1043
|
+
"sessionId": {
|
|
1044
|
+
"type": "string"
|
|
1045
|
+
},
|
|
1046
|
+
"force": {
|
|
1047
|
+
"type": "boolean"
|
|
1048
|
+
},
|
|
1088
1049
|
"target": {
|
|
1089
|
-
"
|
|
1050
|
+
"type": "object",
|
|
1090
1051
|
"properties": {
|
|
1091
1052
|
"kind": {
|
|
1092
1053
|
"const": "block"
|
|
1093
1054
|
},
|
|
1094
|
-
"nodeId": {
|
|
1095
|
-
"type": "string"
|
|
1096
|
-
},
|
|
1097
1055
|
"nodeType": {
|
|
1098
1056
|
"const": "listItem"
|
|
1057
|
+
},
|
|
1058
|
+
"nodeId": {
|
|
1059
|
+
"type": "string"
|
|
1099
1060
|
}
|
|
1100
1061
|
},
|
|
1101
1062
|
"required": [
|
|
1102
1063
|
"kind",
|
|
1103
1064
|
"nodeType",
|
|
1104
1065
|
"nodeId"
|
|
1105
|
-
]
|
|
1106
|
-
|
|
1107
|
-
|
|
1066
|
+
]
|
|
1067
|
+
},
|
|
1068
|
+
"nodeId": {
|
|
1069
|
+
"type": "string"
|
|
1070
|
+
},
|
|
1071
|
+
"input": {}
|
|
1108
1072
|
},
|
|
1109
|
-
"
|
|
1110
|
-
"target"
|
|
1111
|
-
],
|
|
1112
|
-
"type": "object"
|
|
1073
|
+
"additionalProperties": false
|
|
1113
1074
|
}
|
|
1114
1075
|
}
|
|
1115
1076
|
},
|
|
@@ -1119,33 +1080,42 @@
|
|
|
1119
1080
|
"name": "restart_list_numbering",
|
|
1120
1081
|
"description": "Restart numbering of an ordered list at the target item.",
|
|
1121
1082
|
"parameters": {
|
|
1122
|
-
"
|
|
1083
|
+
"type": "object",
|
|
1123
1084
|
"properties": {
|
|
1085
|
+
"doc": {
|
|
1086
|
+
"type": "string"
|
|
1087
|
+
},
|
|
1088
|
+
"sessionId": {
|
|
1089
|
+
"type": "string"
|
|
1090
|
+
},
|
|
1091
|
+
"force": {
|
|
1092
|
+
"type": "boolean"
|
|
1093
|
+
},
|
|
1124
1094
|
"target": {
|
|
1125
|
-
"
|
|
1095
|
+
"type": "object",
|
|
1126
1096
|
"properties": {
|
|
1127
1097
|
"kind": {
|
|
1128
1098
|
"const": "block"
|
|
1129
1099
|
},
|
|
1130
|
-
"nodeId": {
|
|
1131
|
-
"type": "string"
|
|
1132
|
-
},
|
|
1133
1100
|
"nodeType": {
|
|
1134
1101
|
"const": "listItem"
|
|
1102
|
+
},
|
|
1103
|
+
"nodeId": {
|
|
1104
|
+
"type": "string"
|
|
1135
1105
|
}
|
|
1136
1106
|
},
|
|
1137
1107
|
"required": [
|
|
1138
1108
|
"kind",
|
|
1139
1109
|
"nodeType",
|
|
1140
1110
|
"nodeId"
|
|
1141
|
-
]
|
|
1142
|
-
|
|
1143
|
-
|
|
1111
|
+
]
|
|
1112
|
+
},
|
|
1113
|
+
"nodeId": {
|
|
1114
|
+
"type": "string"
|
|
1115
|
+
},
|
|
1116
|
+
"input": {}
|
|
1144
1117
|
},
|
|
1145
|
-
"
|
|
1146
|
-
"target"
|
|
1147
|
-
],
|
|
1148
|
-
"type": "object"
|
|
1118
|
+
"additionalProperties": false
|
|
1149
1119
|
}
|
|
1150
1120
|
}
|
|
1151
1121
|
},
|
|
@@ -1155,33 +1125,42 @@
|
|
|
1155
1125
|
"name": "exit_list",
|
|
1156
1126
|
"description": "Exit a list context, converting the target item to a paragraph.",
|
|
1157
1127
|
"parameters": {
|
|
1158
|
-
"
|
|
1128
|
+
"type": "object",
|
|
1159
1129
|
"properties": {
|
|
1130
|
+
"doc": {
|
|
1131
|
+
"type": "string"
|
|
1132
|
+
},
|
|
1133
|
+
"sessionId": {
|
|
1134
|
+
"type": "string"
|
|
1135
|
+
},
|
|
1136
|
+
"force": {
|
|
1137
|
+
"type": "boolean"
|
|
1138
|
+
},
|
|
1160
1139
|
"target": {
|
|
1161
|
-
"
|
|
1140
|
+
"type": "object",
|
|
1162
1141
|
"properties": {
|
|
1163
1142
|
"kind": {
|
|
1164
1143
|
"const": "block"
|
|
1165
1144
|
},
|
|
1166
|
-
"nodeId": {
|
|
1167
|
-
"type": "string"
|
|
1168
|
-
},
|
|
1169
1145
|
"nodeType": {
|
|
1170
1146
|
"const": "listItem"
|
|
1147
|
+
},
|
|
1148
|
+
"nodeId": {
|
|
1149
|
+
"type": "string"
|
|
1171
1150
|
}
|
|
1172
1151
|
},
|
|
1173
1152
|
"required": [
|
|
1174
1153
|
"kind",
|
|
1175
1154
|
"nodeType",
|
|
1176
1155
|
"nodeId"
|
|
1177
|
-
]
|
|
1178
|
-
|
|
1179
|
-
|
|
1156
|
+
]
|
|
1157
|
+
},
|
|
1158
|
+
"nodeId": {
|
|
1159
|
+
"type": "string"
|
|
1160
|
+
},
|
|
1161
|
+
"input": {}
|
|
1180
1162
|
},
|
|
1181
|
-
"
|
|
1182
|
-
"target"
|
|
1183
|
-
],
|
|
1184
|
-
"type": "object"
|
|
1163
|
+
"additionalProperties": false
|
|
1185
1164
|
}
|
|
1186
1165
|
}
|
|
1187
1166
|
},
|
|
@@ -1191,50 +1170,65 @@
|
|
|
1191
1170
|
"name": "add_comment",
|
|
1192
1171
|
"description": "Add a new comment thread anchored to a target range.",
|
|
1193
1172
|
"parameters": {
|
|
1194
|
-
"
|
|
1173
|
+
"type": "object",
|
|
1195
1174
|
"properties": {
|
|
1175
|
+
"doc": {
|
|
1176
|
+
"type": "string"
|
|
1177
|
+
},
|
|
1178
|
+
"sessionId": {
|
|
1179
|
+
"type": "string"
|
|
1180
|
+
},
|
|
1181
|
+
"force": {
|
|
1182
|
+
"type": "boolean"
|
|
1183
|
+
},
|
|
1196
1184
|
"target": {
|
|
1197
|
-
"
|
|
1185
|
+
"type": "object",
|
|
1198
1186
|
"properties": {
|
|
1199
|
-
"blockId": {
|
|
1200
|
-
"type": "string"
|
|
1201
|
-
},
|
|
1202
1187
|
"kind": {
|
|
1203
1188
|
"const": "text"
|
|
1204
1189
|
},
|
|
1190
|
+
"blockId": {
|
|
1191
|
+
"type": "string"
|
|
1192
|
+
},
|
|
1205
1193
|
"range": {
|
|
1206
|
-
"
|
|
1194
|
+
"type": "object",
|
|
1207
1195
|
"properties": {
|
|
1208
|
-
"end": {
|
|
1209
|
-
"type": "integer"
|
|
1210
|
-
},
|
|
1211
1196
|
"start": {
|
|
1212
|
-
"type": "
|
|
1197
|
+
"type": "number"
|
|
1198
|
+
},
|
|
1199
|
+
"end": {
|
|
1200
|
+
"type": "number"
|
|
1213
1201
|
}
|
|
1214
1202
|
},
|
|
1215
1203
|
"required": [
|
|
1216
1204
|
"start",
|
|
1217
1205
|
"end"
|
|
1218
|
-
]
|
|
1219
|
-
"type": "object"
|
|
1206
|
+
]
|
|
1220
1207
|
}
|
|
1221
1208
|
},
|
|
1222
1209
|
"required": [
|
|
1223
1210
|
"kind",
|
|
1224
1211
|
"blockId",
|
|
1225
1212
|
"range"
|
|
1226
|
-
]
|
|
1227
|
-
"type": "object"
|
|
1213
|
+
]
|
|
1228
1214
|
},
|
|
1229
1215
|
"text": {
|
|
1230
1216
|
"type": "string"
|
|
1217
|
+
},
|
|
1218
|
+
"blockId": {
|
|
1219
|
+
"type": "string"
|
|
1220
|
+
},
|
|
1221
|
+
"start": {
|
|
1222
|
+
"type": "number"
|
|
1223
|
+
},
|
|
1224
|
+
"end": {
|
|
1225
|
+
"type": "number"
|
|
1231
1226
|
}
|
|
1232
1227
|
},
|
|
1233
1228
|
"required": [
|
|
1234
|
-
"target",
|
|
1235
1229
|
"text"
|
|
1236
1230
|
],
|
|
1237
|
-
"
|
|
1231
|
+
"additionalProperties": false
|
|
1238
1232
|
}
|
|
1239
1233
|
}
|
|
1240
1234
|
},
|
|
@@ -1244,9 +1238,18 @@
|
|
|
1244
1238
|
"name": "edit_comment",
|
|
1245
1239
|
"description": "Edit the content of an existing comment.",
|
|
1246
1240
|
"parameters": {
|
|
1247
|
-
"
|
|
1241
|
+
"type": "object",
|
|
1248
1242
|
"properties": {
|
|
1249
|
-
"
|
|
1243
|
+
"doc": {
|
|
1244
|
+
"type": "string"
|
|
1245
|
+
},
|
|
1246
|
+
"sessionId": {
|
|
1247
|
+
"type": "string"
|
|
1248
|
+
},
|
|
1249
|
+
"force": {
|
|
1250
|
+
"type": "boolean"
|
|
1251
|
+
},
|
|
1252
|
+
"id": {
|
|
1250
1253
|
"type": "string"
|
|
1251
1254
|
},
|
|
1252
1255
|
"text": {
|
|
@@ -1254,10 +1257,10 @@
|
|
|
1254
1257
|
}
|
|
1255
1258
|
},
|
|
1256
1259
|
"required": [
|
|
1257
|
-
"
|
|
1260
|
+
"id",
|
|
1258
1261
|
"text"
|
|
1259
1262
|
],
|
|
1260
|
-
"
|
|
1263
|
+
"additionalProperties": false
|
|
1261
1264
|
}
|
|
1262
1265
|
}
|
|
1263
1266
|
},
|
|
@@ -1267,9 +1270,18 @@
|
|
|
1267
1270
|
"name": "reply_to_comment",
|
|
1268
1271
|
"description": "Add a reply to an existing comment thread.",
|
|
1269
1272
|
"parameters": {
|
|
1270
|
-
"
|
|
1273
|
+
"type": "object",
|
|
1271
1274
|
"properties": {
|
|
1272
|
-
"
|
|
1275
|
+
"doc": {
|
|
1276
|
+
"type": "string"
|
|
1277
|
+
},
|
|
1278
|
+
"sessionId": {
|
|
1279
|
+
"type": "string"
|
|
1280
|
+
},
|
|
1281
|
+
"force": {
|
|
1282
|
+
"type": "boolean"
|
|
1283
|
+
},
|
|
1284
|
+
"parentId": {
|
|
1273
1285
|
"type": "string"
|
|
1274
1286
|
},
|
|
1275
1287
|
"text": {
|
|
@@ -1277,10 +1289,10 @@
|
|
|
1277
1289
|
}
|
|
1278
1290
|
},
|
|
1279
1291
|
"required": [
|
|
1280
|
-
"
|
|
1292
|
+
"parentId",
|
|
1281
1293
|
"text"
|
|
1282
1294
|
],
|
|
1283
|
-
"
|
|
1295
|
+
"additionalProperties": false
|
|
1284
1296
|
}
|
|
1285
1297
|
}
|
|
1286
1298
|
},
|
|
@@ -1290,50 +1302,65 @@
|
|
|
1290
1302
|
"name": "move_comment",
|
|
1291
1303
|
"description": "Move a comment thread to a new anchor range.",
|
|
1292
1304
|
"parameters": {
|
|
1293
|
-
"
|
|
1305
|
+
"type": "object",
|
|
1294
1306
|
"properties": {
|
|
1295
|
-
"
|
|
1307
|
+
"doc": {
|
|
1308
|
+
"type": "string"
|
|
1309
|
+
},
|
|
1310
|
+
"sessionId": {
|
|
1311
|
+
"type": "string"
|
|
1312
|
+
},
|
|
1313
|
+
"force": {
|
|
1314
|
+
"type": "boolean"
|
|
1315
|
+
},
|
|
1316
|
+
"id": {
|
|
1296
1317
|
"type": "string"
|
|
1297
1318
|
},
|
|
1298
1319
|
"target": {
|
|
1299
|
-
"
|
|
1320
|
+
"type": "object",
|
|
1300
1321
|
"properties": {
|
|
1301
|
-
"blockId": {
|
|
1302
|
-
"type": "string"
|
|
1303
|
-
},
|
|
1304
1322
|
"kind": {
|
|
1305
1323
|
"const": "text"
|
|
1306
1324
|
},
|
|
1325
|
+
"blockId": {
|
|
1326
|
+
"type": "string"
|
|
1327
|
+
},
|
|
1307
1328
|
"range": {
|
|
1308
|
-
"
|
|
1329
|
+
"type": "object",
|
|
1309
1330
|
"properties": {
|
|
1310
|
-
"end": {
|
|
1311
|
-
"type": "integer"
|
|
1312
|
-
},
|
|
1313
1331
|
"start": {
|
|
1314
|
-
"type": "
|
|
1332
|
+
"type": "number"
|
|
1333
|
+
},
|
|
1334
|
+
"end": {
|
|
1335
|
+
"type": "number"
|
|
1315
1336
|
}
|
|
1316
1337
|
},
|
|
1317
1338
|
"required": [
|
|
1318
1339
|
"start",
|
|
1319
1340
|
"end"
|
|
1320
|
-
]
|
|
1321
|
-
"type": "object"
|
|
1341
|
+
]
|
|
1322
1342
|
}
|
|
1323
1343
|
},
|
|
1324
1344
|
"required": [
|
|
1325
1345
|
"kind",
|
|
1326
1346
|
"blockId",
|
|
1327
1347
|
"range"
|
|
1328
|
-
]
|
|
1329
|
-
|
|
1348
|
+
]
|
|
1349
|
+
},
|
|
1350
|
+
"blockId": {
|
|
1351
|
+
"type": "string"
|
|
1352
|
+
},
|
|
1353
|
+
"start": {
|
|
1354
|
+
"type": "number"
|
|
1355
|
+
},
|
|
1356
|
+
"end": {
|
|
1357
|
+
"type": "number"
|
|
1330
1358
|
}
|
|
1331
1359
|
},
|
|
1332
1360
|
"required": [
|
|
1333
|
-
"
|
|
1334
|
-
"target"
|
|
1361
|
+
"id"
|
|
1335
1362
|
],
|
|
1336
|
-
"
|
|
1363
|
+
"additionalProperties": false
|
|
1337
1364
|
}
|
|
1338
1365
|
}
|
|
1339
1366
|
},
|
|
@@ -1343,16 +1370,25 @@
|
|
|
1343
1370
|
"name": "resolve_comment",
|
|
1344
1371
|
"description": "Resolve or unresolve a comment thread.",
|
|
1345
1372
|
"parameters": {
|
|
1346
|
-
"
|
|
1373
|
+
"type": "object",
|
|
1347
1374
|
"properties": {
|
|
1348
|
-
"
|
|
1375
|
+
"doc": {
|
|
1376
|
+
"type": "string"
|
|
1377
|
+
},
|
|
1378
|
+
"sessionId": {
|
|
1379
|
+
"type": "string"
|
|
1380
|
+
},
|
|
1381
|
+
"force": {
|
|
1382
|
+
"type": "boolean"
|
|
1383
|
+
},
|
|
1384
|
+
"id": {
|
|
1349
1385
|
"type": "string"
|
|
1350
1386
|
}
|
|
1351
1387
|
},
|
|
1352
1388
|
"required": [
|
|
1353
|
-
"
|
|
1389
|
+
"id"
|
|
1354
1390
|
],
|
|
1355
|
-
"
|
|
1391
|
+
"additionalProperties": false
|
|
1356
1392
|
}
|
|
1357
1393
|
}
|
|
1358
1394
|
},
|
|
@@ -1362,16 +1398,25 @@
|
|
|
1362
1398
|
"name": "remove_comment",
|
|
1363
1399
|
"description": "Remove a comment or reply by ID.",
|
|
1364
1400
|
"parameters": {
|
|
1365
|
-
"
|
|
1401
|
+
"type": "object",
|
|
1366
1402
|
"properties": {
|
|
1367
|
-
"
|
|
1403
|
+
"doc": {
|
|
1404
|
+
"type": "string"
|
|
1405
|
+
},
|
|
1406
|
+
"sessionId": {
|
|
1407
|
+
"type": "string"
|
|
1408
|
+
},
|
|
1409
|
+
"force": {
|
|
1410
|
+
"type": "boolean"
|
|
1411
|
+
},
|
|
1412
|
+
"id": {
|
|
1368
1413
|
"type": "string"
|
|
1369
1414
|
}
|
|
1370
1415
|
},
|
|
1371
1416
|
"required": [
|
|
1372
|
-
"
|
|
1417
|
+
"id"
|
|
1373
1418
|
],
|
|
1374
|
-
"
|
|
1419
|
+
"additionalProperties": false
|
|
1375
1420
|
}
|
|
1376
1421
|
}
|
|
1377
1422
|
},
|
|
@@ -1381,9 +1426,18 @@
|
|
|
1381
1426
|
"name": "set_comment_internal",
|
|
1382
1427
|
"description": "Toggle the internal (private) flag on a comment thread.",
|
|
1383
1428
|
"parameters": {
|
|
1384
|
-
"
|
|
1429
|
+
"type": "object",
|
|
1385
1430
|
"properties": {
|
|
1386
|
-
"
|
|
1431
|
+
"doc": {
|
|
1432
|
+
"type": "string"
|
|
1433
|
+
},
|
|
1434
|
+
"sessionId": {
|
|
1435
|
+
"type": "string"
|
|
1436
|
+
},
|
|
1437
|
+
"force": {
|
|
1438
|
+
"type": "boolean"
|
|
1439
|
+
},
|
|
1440
|
+
"id": {
|
|
1387
1441
|
"type": "string"
|
|
1388
1442
|
},
|
|
1389
1443
|
"isInternal": {
|
|
@@ -1391,10 +1445,10 @@
|
|
|
1391
1445
|
}
|
|
1392
1446
|
},
|
|
1393
1447
|
"required": [
|
|
1394
|
-
"
|
|
1448
|
+
"id",
|
|
1395
1449
|
"isInternal"
|
|
1396
1450
|
],
|
|
1397
|
-
"
|
|
1451
|
+
"additionalProperties": false
|
|
1398
1452
|
}
|
|
1399
1453
|
}
|
|
1400
1454
|
},
|
|
@@ -1404,19 +1458,28 @@
|
|
|
1404
1458
|
"name": "set_comment_active",
|
|
1405
1459
|
"description": "Set the active (focused) comment thread for UI highlighting.",
|
|
1406
1460
|
"parameters": {
|
|
1407
|
-
"
|
|
1461
|
+
"type": "object",
|
|
1408
1462
|
"properties": {
|
|
1463
|
+
"doc": {
|
|
1464
|
+
"type": "string"
|
|
1465
|
+
},
|
|
1466
|
+
"sessionId": {
|
|
1467
|
+
"type": "string"
|
|
1468
|
+
},
|
|
1469
|
+
"force": {
|
|
1470
|
+
"type": "boolean"
|
|
1471
|
+
},
|
|
1409
1472
|
"commentId": {
|
|
1410
|
-
"type":
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1473
|
+
"type": "json"
|
|
1474
|
+
},
|
|
1475
|
+
"id": {
|
|
1476
|
+
"type": "string"
|
|
1477
|
+
},
|
|
1478
|
+
"clear": {
|
|
1479
|
+
"type": "boolean"
|
|
1414
1480
|
}
|
|
1415
1481
|
},
|
|
1416
|
-
"
|
|
1417
|
-
"commentId"
|
|
1418
|
-
],
|
|
1419
|
-
"type": "object"
|
|
1482
|
+
"additionalProperties": false
|
|
1420
1483
|
}
|
|
1421
1484
|
}
|
|
1422
1485
|
},
|
|
@@ -1426,16 +1489,22 @@
|
|
|
1426
1489
|
"name": "go_to_comment",
|
|
1427
1490
|
"description": "Scroll the viewport to a comment thread by ID.",
|
|
1428
1491
|
"parameters": {
|
|
1429
|
-
"
|
|
1492
|
+
"type": "object",
|
|
1430
1493
|
"properties": {
|
|
1431
|
-
"
|
|
1494
|
+
"doc": {
|
|
1495
|
+
"type": "string"
|
|
1496
|
+
},
|
|
1497
|
+
"sessionId": {
|
|
1498
|
+
"type": "string"
|
|
1499
|
+
},
|
|
1500
|
+
"id": {
|
|
1432
1501
|
"type": "string"
|
|
1433
1502
|
}
|
|
1434
1503
|
},
|
|
1435
1504
|
"required": [
|
|
1436
|
-
"
|
|
1505
|
+
"id"
|
|
1437
1506
|
],
|
|
1438
|
-
"
|
|
1507
|
+
"additionalProperties": false
|
|
1439
1508
|
}
|
|
1440
1509
|
}
|
|
1441
1510
|
},
|
|
@@ -1445,16 +1514,22 @@
|
|
|
1445
1514
|
"name": "get_comment",
|
|
1446
1515
|
"description": "Retrieve a single comment thread by ID.",
|
|
1447
1516
|
"parameters": {
|
|
1448
|
-
"
|
|
1517
|
+
"type": "object",
|
|
1449
1518
|
"properties": {
|
|
1450
|
-
"
|
|
1519
|
+
"doc": {
|
|
1520
|
+
"type": "string"
|
|
1521
|
+
},
|
|
1522
|
+
"sessionId": {
|
|
1523
|
+
"type": "string"
|
|
1524
|
+
},
|
|
1525
|
+
"id": {
|
|
1451
1526
|
"type": "string"
|
|
1452
1527
|
}
|
|
1453
1528
|
},
|
|
1454
1529
|
"required": [
|
|
1455
|
-
"
|
|
1530
|
+
"id"
|
|
1456
1531
|
],
|
|
1457
|
-
"
|
|
1532
|
+
"additionalProperties": false
|
|
1458
1533
|
}
|
|
1459
1534
|
}
|
|
1460
1535
|
},
|
|
@@ -1464,13 +1539,19 @@
|
|
|
1464
1539
|
"name": "list_comments",
|
|
1465
1540
|
"description": "List all comment threads in the document.",
|
|
1466
1541
|
"parameters": {
|
|
1467
|
-
"
|
|
1542
|
+
"type": "object",
|
|
1468
1543
|
"properties": {
|
|
1544
|
+
"doc": {
|
|
1545
|
+
"type": "string"
|
|
1546
|
+
},
|
|
1547
|
+
"sessionId": {
|
|
1548
|
+
"type": "string"
|
|
1549
|
+
},
|
|
1469
1550
|
"includeResolved": {
|
|
1470
1551
|
"type": "boolean"
|
|
1471
1552
|
}
|
|
1472
1553
|
},
|
|
1473
|
-
"
|
|
1554
|
+
"additionalProperties": false
|
|
1474
1555
|
}
|
|
1475
1556
|
}
|
|
1476
1557
|
},
|
|
@@ -1480,23 +1561,25 @@
|
|
|
1480
1561
|
"name": "list_tracked_changes",
|
|
1481
1562
|
"description": "List all tracked changes in the document.",
|
|
1482
1563
|
"parameters": {
|
|
1483
|
-
"
|
|
1564
|
+
"type": "object",
|
|
1484
1565
|
"properties": {
|
|
1566
|
+
"doc": {
|
|
1567
|
+
"type": "string"
|
|
1568
|
+
},
|
|
1569
|
+
"sessionId": {
|
|
1570
|
+
"type": "string"
|
|
1571
|
+
},
|
|
1485
1572
|
"limit": {
|
|
1486
|
-
"type": "
|
|
1573
|
+
"type": "number"
|
|
1487
1574
|
},
|
|
1488
1575
|
"offset": {
|
|
1489
|
-
"type": "
|
|
1576
|
+
"type": "number"
|
|
1490
1577
|
},
|
|
1491
1578
|
"type": {
|
|
1492
|
-
"
|
|
1493
|
-
"insert",
|
|
1494
|
-
"delete",
|
|
1495
|
-
"format"
|
|
1496
|
-
]
|
|
1579
|
+
"type": "string"
|
|
1497
1580
|
}
|
|
1498
1581
|
},
|
|
1499
|
-
"
|
|
1582
|
+
"additionalProperties": false
|
|
1500
1583
|
}
|
|
1501
1584
|
}
|
|
1502
1585
|
},
|
|
@@ -1506,8 +1589,14 @@
|
|
|
1506
1589
|
"name": "get_tracked_change",
|
|
1507
1590
|
"description": "Retrieve a single tracked change by ID.",
|
|
1508
1591
|
"parameters": {
|
|
1509
|
-
"
|
|
1592
|
+
"type": "object",
|
|
1510
1593
|
"properties": {
|
|
1594
|
+
"doc": {
|
|
1595
|
+
"type": "string"
|
|
1596
|
+
},
|
|
1597
|
+
"sessionId": {
|
|
1598
|
+
"type": "string"
|
|
1599
|
+
},
|
|
1511
1600
|
"id": {
|
|
1512
1601
|
"type": "string"
|
|
1513
1602
|
}
|
|
@@ -1515,7 +1604,7 @@
|
|
|
1515
1604
|
"required": [
|
|
1516
1605
|
"id"
|
|
1517
1606
|
],
|
|
1518
|
-
"
|
|
1607
|
+
"additionalProperties": false
|
|
1519
1608
|
}
|
|
1520
1609
|
}
|
|
1521
1610
|
},
|
|
@@ -1525,8 +1614,17 @@
|
|
|
1525
1614
|
"name": "accept_tracked_change",
|
|
1526
1615
|
"description": "Accept a tracked change, applying it permanently.",
|
|
1527
1616
|
"parameters": {
|
|
1528
|
-
"
|
|
1617
|
+
"type": "object",
|
|
1529
1618
|
"properties": {
|
|
1619
|
+
"doc": {
|
|
1620
|
+
"type": "string"
|
|
1621
|
+
},
|
|
1622
|
+
"sessionId": {
|
|
1623
|
+
"type": "string"
|
|
1624
|
+
},
|
|
1625
|
+
"force": {
|
|
1626
|
+
"type": "boolean"
|
|
1627
|
+
},
|
|
1530
1628
|
"id": {
|
|
1531
1629
|
"type": "string"
|
|
1532
1630
|
}
|
|
@@ -1534,7 +1632,7 @@
|
|
|
1534
1632
|
"required": [
|
|
1535
1633
|
"id"
|
|
1536
1634
|
],
|
|
1537
|
-
"
|
|
1635
|
+
"additionalProperties": false
|
|
1538
1636
|
}
|
|
1539
1637
|
}
|
|
1540
1638
|
},
|
|
@@ -1544,8 +1642,17 @@
|
|
|
1544
1642
|
"name": "reject_tracked_change",
|
|
1545
1643
|
"description": "Reject a tracked change, reverting it.",
|
|
1546
1644
|
"parameters": {
|
|
1547
|
-
"
|
|
1645
|
+
"type": "object",
|
|
1548
1646
|
"properties": {
|
|
1647
|
+
"doc": {
|
|
1648
|
+
"type": "string"
|
|
1649
|
+
},
|
|
1650
|
+
"sessionId": {
|
|
1651
|
+
"type": "string"
|
|
1652
|
+
},
|
|
1653
|
+
"force": {
|
|
1654
|
+
"type": "boolean"
|
|
1655
|
+
},
|
|
1549
1656
|
"id": {
|
|
1550
1657
|
"type": "string"
|
|
1551
1658
|
}
|
|
@@ -1553,7 +1660,7 @@
|
|
|
1553
1660
|
"required": [
|
|
1554
1661
|
"id"
|
|
1555
1662
|
],
|
|
1556
|
-
"
|
|
1663
|
+
"additionalProperties": false
|
|
1557
1664
|
}
|
|
1558
1665
|
}
|
|
1559
1666
|
},
|
|
@@ -1563,9 +1670,19 @@
|
|
|
1563
1670
|
"name": "accept_all_tracked_changes",
|
|
1564
1671
|
"description": "Accept all tracked changes in the document.",
|
|
1565
1672
|
"parameters": {
|
|
1566
|
-
"
|
|
1567
|
-
"properties": {
|
|
1568
|
-
|
|
1673
|
+
"type": "object",
|
|
1674
|
+
"properties": {
|
|
1675
|
+
"doc": {
|
|
1676
|
+
"type": "string"
|
|
1677
|
+
},
|
|
1678
|
+
"sessionId": {
|
|
1679
|
+
"type": "string"
|
|
1680
|
+
},
|
|
1681
|
+
"force": {
|
|
1682
|
+
"type": "boolean"
|
|
1683
|
+
}
|
|
1684
|
+
},
|
|
1685
|
+
"additionalProperties": false
|
|
1569
1686
|
}
|
|
1570
1687
|
}
|
|
1571
1688
|
},
|
|
@@ -1575,9 +1692,19 @@
|
|
|
1575
1692
|
"name": "reject_all_tracked_changes",
|
|
1576
1693
|
"description": "Reject all tracked changes in the document.",
|
|
1577
1694
|
"parameters": {
|
|
1578
|
-
"
|
|
1579
|
-
"properties": {
|
|
1580
|
-
|
|
1695
|
+
"type": "object",
|
|
1696
|
+
"properties": {
|
|
1697
|
+
"doc": {
|
|
1698
|
+
"type": "string"
|
|
1699
|
+
},
|
|
1700
|
+
"sessionId": {
|
|
1701
|
+
"type": "string"
|
|
1702
|
+
},
|
|
1703
|
+
"force": {
|
|
1704
|
+
"type": "boolean"
|
|
1705
|
+
}
|
|
1706
|
+
},
|
|
1707
|
+
"additionalProperties": false
|
|
1581
1708
|
}
|
|
1582
1709
|
}
|
|
1583
1710
|
},
|
|
@@ -1784,204 +1911,134 @@
|
|
|
1784
1911
|
"name": "doc_find",
|
|
1785
1912
|
"description": "Search the document for nodes matching type, text, or attribute criteria.",
|
|
1786
1913
|
"parameters": {
|
|
1787
|
-
"
|
|
1914
|
+
"type": "object",
|
|
1788
1915
|
"properties": {
|
|
1789
|
-
"
|
|
1790
|
-
"type": "
|
|
1791
|
-
},
|
|
1792
|
-
"includeUnknown": {
|
|
1793
|
-
"type": "boolean"
|
|
1794
|
-
},
|
|
1795
|
-
"limit": {
|
|
1796
|
-
"type": "integer"
|
|
1797
|
-
},
|
|
1798
|
-
"offset": {
|
|
1799
|
-
"type": "integer"
|
|
1916
|
+
"doc": {
|
|
1917
|
+
"type": "string"
|
|
1800
1918
|
},
|
|
1801
|
-
"
|
|
1802
|
-
"
|
|
1803
|
-
{
|
|
1804
|
-
"additionalProperties": false,
|
|
1805
|
-
"properties": {
|
|
1806
|
-
"caseSensitive": {
|
|
1807
|
-
"type": "boolean"
|
|
1808
|
-
},
|
|
1809
|
-
"mode": {
|
|
1810
|
-
"enum": [
|
|
1811
|
-
"contains",
|
|
1812
|
-
"regex"
|
|
1813
|
-
]
|
|
1814
|
-
},
|
|
1815
|
-
"pattern": {
|
|
1816
|
-
"type": "string"
|
|
1817
|
-
},
|
|
1818
|
-
"type": {
|
|
1819
|
-
"const": "text"
|
|
1820
|
-
}
|
|
1821
|
-
},
|
|
1822
|
-
"required": [
|
|
1823
|
-
"type",
|
|
1824
|
-
"pattern"
|
|
1825
|
-
],
|
|
1826
|
-
"type": "object"
|
|
1827
|
-
},
|
|
1828
|
-
{
|
|
1829
|
-
"additionalProperties": false,
|
|
1830
|
-
"properties": {
|
|
1831
|
-
"kind": {
|
|
1832
|
-
"enum": [
|
|
1833
|
-
"block",
|
|
1834
|
-
"inline"
|
|
1835
|
-
]
|
|
1836
|
-
},
|
|
1837
|
-
"nodeType": {
|
|
1838
|
-
"enum": [
|
|
1839
|
-
"paragraph",
|
|
1840
|
-
"heading",
|
|
1841
|
-
"listItem",
|
|
1842
|
-
"table",
|
|
1843
|
-
"tableRow",
|
|
1844
|
-
"tableCell",
|
|
1845
|
-
"image",
|
|
1846
|
-
"sdt",
|
|
1847
|
-
"run",
|
|
1848
|
-
"bookmark",
|
|
1849
|
-
"comment",
|
|
1850
|
-
"hyperlink",
|
|
1851
|
-
"footnoteRef",
|
|
1852
|
-
"tab",
|
|
1853
|
-
"lineBreak"
|
|
1854
|
-
]
|
|
1855
|
-
},
|
|
1856
|
-
"type": {
|
|
1857
|
-
"const": "node"
|
|
1858
|
-
}
|
|
1859
|
-
},
|
|
1860
|
-
"required": [
|
|
1861
|
-
"type"
|
|
1862
|
-
],
|
|
1863
|
-
"type": "object"
|
|
1864
|
-
},
|
|
1865
|
-
{
|
|
1866
|
-
"additionalProperties": false,
|
|
1867
|
-
"properties": {
|
|
1868
|
-
"nodeType": {
|
|
1869
|
-
"enum": [
|
|
1870
|
-
"paragraph",
|
|
1871
|
-
"heading",
|
|
1872
|
-
"listItem",
|
|
1873
|
-
"table",
|
|
1874
|
-
"tableRow",
|
|
1875
|
-
"tableCell",
|
|
1876
|
-
"image",
|
|
1877
|
-
"sdt",
|
|
1878
|
-
"run",
|
|
1879
|
-
"bookmark",
|
|
1880
|
-
"comment",
|
|
1881
|
-
"hyperlink",
|
|
1882
|
-
"footnoteRef",
|
|
1883
|
-
"tab",
|
|
1884
|
-
"lineBreak"
|
|
1885
|
-
]
|
|
1886
|
-
}
|
|
1887
|
-
},
|
|
1888
|
-
"required": [
|
|
1889
|
-
"nodeType"
|
|
1890
|
-
],
|
|
1891
|
-
"type": "object"
|
|
1892
|
-
}
|
|
1893
|
-
]
|
|
1919
|
+
"sessionId": {
|
|
1920
|
+
"type": "string"
|
|
1894
1921
|
},
|
|
1895
1922
|
"within": {
|
|
1896
1923
|
"oneOf": [
|
|
1897
1924
|
{
|
|
1898
|
-
"
|
|
1925
|
+
"type": "object",
|
|
1899
1926
|
"properties": {
|
|
1900
1927
|
"kind": {
|
|
1901
1928
|
"const": "block"
|
|
1902
1929
|
},
|
|
1903
|
-
"nodeId": {
|
|
1904
|
-
"type": "string"
|
|
1905
|
-
},
|
|
1906
1930
|
"nodeType": {
|
|
1907
|
-
"
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1931
|
+
"oneOf": [
|
|
1932
|
+
{
|
|
1933
|
+
"const": "paragraph"
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
"const": "heading"
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
"const": "listItem"
|
|
1940
|
+
},
|
|
1941
|
+
{
|
|
1942
|
+
"const": "table"
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
"const": "tableRow"
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
"const": "tableCell"
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"const": "image"
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"const": "sdt"
|
|
1955
|
+
}
|
|
1916
1956
|
]
|
|
1957
|
+
},
|
|
1958
|
+
"nodeId": {
|
|
1959
|
+
"type": "string"
|
|
1917
1960
|
}
|
|
1918
1961
|
},
|
|
1919
1962
|
"required": [
|
|
1920
1963
|
"kind",
|
|
1921
1964
|
"nodeType",
|
|
1922
1965
|
"nodeId"
|
|
1923
|
-
]
|
|
1924
|
-
"type": "object"
|
|
1966
|
+
]
|
|
1925
1967
|
},
|
|
1926
1968
|
{
|
|
1927
|
-
"
|
|
1969
|
+
"type": "object",
|
|
1928
1970
|
"properties": {
|
|
1971
|
+
"kind": {
|
|
1972
|
+
"const": "inline"
|
|
1973
|
+
},
|
|
1974
|
+
"nodeType": {
|
|
1975
|
+
"oneOf": [
|
|
1976
|
+
{
|
|
1977
|
+
"const": "run"
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
"const": "bookmark"
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
"const": "comment"
|
|
1984
|
+
},
|
|
1985
|
+
{
|
|
1986
|
+
"const": "hyperlink"
|
|
1987
|
+
},
|
|
1988
|
+
{
|
|
1989
|
+
"const": "sdt"
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"const": "image"
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"const": "footnoteRef"
|
|
1996
|
+
},
|
|
1997
|
+
{
|
|
1998
|
+
"const": "tab"
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"const": "lineBreak"
|
|
2002
|
+
}
|
|
2003
|
+
]
|
|
2004
|
+
},
|
|
1929
2005
|
"anchor": {
|
|
1930
|
-
"
|
|
2006
|
+
"type": "object",
|
|
1931
2007
|
"properties": {
|
|
1932
|
-
"
|
|
1933
|
-
"
|
|
2008
|
+
"start": {
|
|
2009
|
+
"type": "object",
|
|
1934
2010
|
"properties": {
|
|
1935
2011
|
"blockId": {
|
|
1936
2012
|
"type": "string"
|
|
1937
2013
|
},
|
|
1938
2014
|
"offset": {
|
|
1939
|
-
"type": "
|
|
2015
|
+
"type": "number"
|
|
1940
2016
|
}
|
|
1941
2017
|
},
|
|
1942
2018
|
"required": [
|
|
1943
2019
|
"blockId",
|
|
1944
2020
|
"offset"
|
|
1945
|
-
]
|
|
1946
|
-
"type": "object"
|
|
2021
|
+
]
|
|
1947
2022
|
},
|
|
1948
|
-
"
|
|
1949
|
-
"
|
|
2023
|
+
"end": {
|
|
2024
|
+
"type": "object",
|
|
1950
2025
|
"properties": {
|
|
1951
2026
|
"blockId": {
|
|
1952
2027
|
"type": "string"
|
|
1953
2028
|
},
|
|
1954
2029
|
"offset": {
|
|
1955
|
-
"type": "
|
|
2030
|
+
"type": "number"
|
|
1956
2031
|
}
|
|
1957
2032
|
},
|
|
1958
2033
|
"required": [
|
|
1959
2034
|
"blockId",
|
|
1960
2035
|
"offset"
|
|
1961
|
-
]
|
|
1962
|
-
"type": "object"
|
|
2036
|
+
]
|
|
1963
2037
|
}
|
|
1964
2038
|
},
|
|
1965
2039
|
"required": [
|
|
1966
2040
|
"start",
|
|
1967
2041
|
"end"
|
|
1968
|
-
],
|
|
1969
|
-
"type": "object"
|
|
1970
|
-
},
|
|
1971
|
-
"kind": {
|
|
1972
|
-
"const": "inline"
|
|
1973
|
-
},
|
|
1974
|
-
"nodeType": {
|
|
1975
|
-
"enum": [
|
|
1976
|
-
"run",
|
|
1977
|
-
"bookmark",
|
|
1978
|
-
"comment",
|
|
1979
|
-
"hyperlink",
|
|
1980
|
-
"sdt",
|
|
1981
|
-
"image",
|
|
1982
|
-
"footnoteRef",
|
|
1983
|
-
"tab",
|
|
1984
|
-
"lineBreak"
|
|
1985
2042
|
]
|
|
1986
2043
|
}
|
|
1987
2044
|
},
|
|
@@ -1989,125 +2046,63 @@
|
|
|
1989
2046
|
"kind",
|
|
1990
2047
|
"nodeType",
|
|
1991
2048
|
"anchor"
|
|
1992
|
-
]
|
|
1993
|
-
"type": "object"
|
|
2049
|
+
]
|
|
1994
2050
|
}
|
|
1995
2051
|
]
|
|
1996
|
-
}
|
|
2052
|
+
},
|
|
2053
|
+
"limit": {
|
|
2054
|
+
"type": "number"
|
|
2055
|
+
},
|
|
2056
|
+
"offset": {
|
|
2057
|
+
"type": "number"
|
|
2058
|
+
},
|
|
2059
|
+
"includeNodes": {
|
|
2060
|
+
"type": "boolean"
|
|
2061
|
+
},
|
|
2062
|
+
"includeUnknown": {
|
|
2063
|
+
"type": "boolean"
|
|
2064
|
+
},
|
|
2065
|
+
"type": {
|
|
2066
|
+
"type": "string"
|
|
2067
|
+
},
|
|
2068
|
+
"nodeType": {
|
|
2069
|
+
"type": "string"
|
|
2070
|
+
},
|
|
2071
|
+
"kind": {
|
|
2072
|
+
"type": "string"
|
|
2073
|
+
},
|
|
2074
|
+
"pattern": {
|
|
2075
|
+
"type": "string"
|
|
2076
|
+
},
|
|
2077
|
+
"mode": {
|
|
2078
|
+
"type": "string"
|
|
2079
|
+
},
|
|
2080
|
+
"caseSensitive": {
|
|
2081
|
+
"type": "boolean"
|
|
2082
|
+
},
|
|
2083
|
+
"query": {}
|
|
1997
2084
|
},
|
|
1998
|
-
"
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
{
|
|
2013
|
-
"additionalProperties": false,
|
|
2014
|
-
"properties": {
|
|
2015
|
-
"kind": {
|
|
2016
|
-
"const": "block"
|
|
2017
|
-
},
|
|
2018
|
-
"nodeId": {
|
|
2019
|
-
"type": "string"
|
|
2020
|
-
},
|
|
2021
|
-
"nodeType": {
|
|
2022
|
-
"enum": [
|
|
2023
|
-
"paragraph",
|
|
2024
|
-
"heading",
|
|
2025
|
-
"listItem",
|
|
2026
|
-
"table",
|
|
2027
|
-
"tableRow",
|
|
2028
|
-
"tableCell",
|
|
2029
|
-
"image",
|
|
2030
|
-
"sdt"
|
|
2031
|
-
]
|
|
2032
|
-
}
|
|
2033
|
-
},
|
|
2034
|
-
"required": [
|
|
2035
|
-
"kind",
|
|
2036
|
-
"nodeType",
|
|
2037
|
-
"nodeId"
|
|
2038
|
-
],
|
|
2039
|
-
"type": "object"
|
|
2085
|
+
"additionalProperties": false
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
"type": "function",
|
|
2091
|
+
"function": {
|
|
2092
|
+
"name": "doc_getNode",
|
|
2093
|
+
"description": "Retrieve a single node by target position.",
|
|
2094
|
+
"parameters": {
|
|
2095
|
+
"type": "object",
|
|
2096
|
+
"properties": {
|
|
2097
|
+
"doc": {
|
|
2098
|
+
"type": "string"
|
|
2040
2099
|
},
|
|
2041
|
-
{
|
|
2042
|
-
"
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
"end": {
|
|
2048
|
-
"additionalProperties": false,
|
|
2049
|
-
"properties": {
|
|
2050
|
-
"blockId": {
|
|
2051
|
-
"type": "string"
|
|
2052
|
-
},
|
|
2053
|
-
"offset": {
|
|
2054
|
-
"type": "integer"
|
|
2055
|
-
}
|
|
2056
|
-
},
|
|
2057
|
-
"required": [
|
|
2058
|
-
"blockId",
|
|
2059
|
-
"offset"
|
|
2060
|
-
],
|
|
2061
|
-
"type": "object"
|
|
2062
|
-
},
|
|
2063
|
-
"start": {
|
|
2064
|
-
"additionalProperties": false,
|
|
2065
|
-
"properties": {
|
|
2066
|
-
"blockId": {
|
|
2067
|
-
"type": "string"
|
|
2068
|
-
},
|
|
2069
|
-
"offset": {
|
|
2070
|
-
"type": "integer"
|
|
2071
|
-
}
|
|
2072
|
-
},
|
|
2073
|
-
"required": [
|
|
2074
|
-
"blockId",
|
|
2075
|
-
"offset"
|
|
2076
|
-
],
|
|
2077
|
-
"type": "object"
|
|
2078
|
-
}
|
|
2079
|
-
},
|
|
2080
|
-
"required": [
|
|
2081
|
-
"start",
|
|
2082
|
-
"end"
|
|
2083
|
-
],
|
|
2084
|
-
"type": "object"
|
|
2085
|
-
},
|
|
2086
|
-
"kind": {
|
|
2087
|
-
"const": "inline"
|
|
2088
|
-
},
|
|
2089
|
-
"nodeType": {
|
|
2090
|
-
"enum": [
|
|
2091
|
-
"run",
|
|
2092
|
-
"bookmark",
|
|
2093
|
-
"comment",
|
|
2094
|
-
"hyperlink",
|
|
2095
|
-
"sdt",
|
|
2096
|
-
"image",
|
|
2097
|
-
"footnoteRef",
|
|
2098
|
-
"tab",
|
|
2099
|
-
"lineBreak"
|
|
2100
|
-
]
|
|
2101
|
-
}
|
|
2102
|
-
},
|
|
2103
|
-
"required": [
|
|
2104
|
-
"kind",
|
|
2105
|
-
"nodeType",
|
|
2106
|
-
"anchor"
|
|
2107
|
-
],
|
|
2108
|
-
"type": "object"
|
|
2109
|
-
}
|
|
2110
|
-
]
|
|
2100
|
+
"sessionId": {
|
|
2101
|
+
"type": "string"
|
|
2102
|
+
},
|
|
2103
|
+
"address": {}
|
|
2104
|
+
},
|
|
2105
|
+
"additionalProperties": false
|
|
2111
2106
|
}
|
|
2112
2107
|
}
|
|
2113
2108
|
},
|
|
@@ -2117,28 +2112,25 @@
|
|
|
2117
2112
|
"name": "doc_getNodeById",
|
|
2118
2113
|
"description": "Retrieve a single node by its unique ID.",
|
|
2119
2114
|
"parameters": {
|
|
2120
|
-
"
|
|
2115
|
+
"type": "object",
|
|
2121
2116
|
"properties": {
|
|
2122
|
-
"
|
|
2117
|
+
"doc": {
|
|
2118
|
+
"type": "string"
|
|
2119
|
+
},
|
|
2120
|
+
"sessionId": {
|
|
2121
|
+
"type": "string"
|
|
2122
|
+
},
|
|
2123
|
+
"id": {
|
|
2123
2124
|
"type": "string"
|
|
2124
2125
|
},
|
|
2125
2126
|
"nodeType": {
|
|
2126
|
-
"
|
|
2127
|
-
"paragraph",
|
|
2128
|
-
"heading",
|
|
2129
|
-
"listItem",
|
|
2130
|
-
"table",
|
|
2131
|
-
"tableRow",
|
|
2132
|
-
"tableCell",
|
|
2133
|
-
"image",
|
|
2134
|
-
"sdt"
|
|
2135
|
-
]
|
|
2127
|
+
"type": "string"
|
|
2136
2128
|
}
|
|
2137
2129
|
},
|
|
2138
2130
|
"required": [
|
|
2139
|
-
"
|
|
2131
|
+
"id"
|
|
2140
2132
|
],
|
|
2141
|
-
"
|
|
2133
|
+
"additionalProperties": false
|
|
2142
2134
|
}
|
|
2143
2135
|
}
|
|
2144
2136
|
},
|
|
@@ -2148,9 +2140,16 @@
|
|
|
2148
2140
|
"name": "doc_info",
|
|
2149
2141
|
"description": "Return document metadata including revision, node count, and capabilities.",
|
|
2150
2142
|
"parameters": {
|
|
2151
|
-
"
|
|
2152
|
-
"properties": {
|
|
2153
|
-
|
|
2143
|
+
"type": "object",
|
|
2144
|
+
"properties": {
|
|
2145
|
+
"doc": {
|
|
2146
|
+
"type": "string"
|
|
2147
|
+
},
|
|
2148
|
+
"sessionId": {
|
|
2149
|
+
"type": "string"
|
|
2150
|
+
}
|
|
2151
|
+
},
|
|
2152
|
+
"additionalProperties": false
|
|
2154
2153
|
}
|
|
2155
2154
|
}
|
|
2156
2155
|
},
|
|
@@ -2160,49 +2159,62 @@
|
|
|
2160
2159
|
"name": "doc_insert",
|
|
2161
2160
|
"description": "Insert text or inline content at a target position.",
|
|
2162
2161
|
"parameters": {
|
|
2163
|
-
"
|
|
2162
|
+
"type": "object",
|
|
2164
2163
|
"properties": {
|
|
2164
|
+
"doc": {
|
|
2165
|
+
"type": "string"
|
|
2166
|
+
},
|
|
2167
|
+
"sessionId": {
|
|
2168
|
+
"type": "string"
|
|
2169
|
+
},
|
|
2170
|
+
"force": {
|
|
2171
|
+
"type": "boolean"
|
|
2172
|
+
},
|
|
2165
2173
|
"target": {
|
|
2166
|
-
"
|
|
2174
|
+
"type": "object",
|
|
2167
2175
|
"properties": {
|
|
2168
|
-
"blockId": {
|
|
2169
|
-
"type": "string"
|
|
2170
|
-
},
|
|
2171
2176
|
"kind": {
|
|
2172
2177
|
"const": "text"
|
|
2173
2178
|
},
|
|
2179
|
+
"blockId": {
|
|
2180
|
+
"type": "string"
|
|
2181
|
+
},
|
|
2174
2182
|
"range": {
|
|
2175
|
-
"
|
|
2183
|
+
"type": "object",
|
|
2176
2184
|
"properties": {
|
|
2177
|
-
"end": {
|
|
2178
|
-
"type": "integer"
|
|
2179
|
-
},
|
|
2180
2185
|
"start": {
|
|
2181
|
-
"type": "
|
|
2186
|
+
"type": "number"
|
|
2187
|
+
},
|
|
2188
|
+
"end": {
|
|
2189
|
+
"type": "number"
|
|
2182
2190
|
}
|
|
2183
2191
|
},
|
|
2184
2192
|
"required": [
|
|
2185
2193
|
"start",
|
|
2186
2194
|
"end"
|
|
2187
|
-
]
|
|
2188
|
-
"type": "object"
|
|
2195
|
+
]
|
|
2189
2196
|
}
|
|
2190
2197
|
},
|
|
2191
2198
|
"required": [
|
|
2192
2199
|
"kind",
|
|
2193
2200
|
"blockId",
|
|
2194
2201
|
"range"
|
|
2195
|
-
]
|
|
2196
|
-
"type": "object"
|
|
2202
|
+
]
|
|
2197
2203
|
},
|
|
2198
2204
|
"text": {
|
|
2199
2205
|
"type": "string"
|
|
2206
|
+
},
|
|
2207
|
+
"blockId": {
|
|
2208
|
+
"type": "string"
|
|
2209
|
+
},
|
|
2210
|
+
"offset": {
|
|
2211
|
+
"type": "number"
|
|
2200
2212
|
}
|
|
2201
2213
|
},
|
|
2202
2214
|
"required": [
|
|
2203
2215
|
"text"
|
|
2204
2216
|
],
|
|
2205
|
-
"
|
|
2217
|
+
"additionalProperties": false
|
|
2206
2218
|
}
|
|
2207
2219
|
}
|
|
2208
2220
|
},
|
|
@@ -2212,50 +2224,65 @@
|
|
|
2212
2224
|
"name": "doc_replace",
|
|
2213
2225
|
"description": "Replace content at a target position with new text or inline content.",
|
|
2214
2226
|
"parameters": {
|
|
2215
|
-
"
|
|
2227
|
+
"type": "object",
|
|
2216
2228
|
"properties": {
|
|
2229
|
+
"doc": {
|
|
2230
|
+
"type": "string"
|
|
2231
|
+
},
|
|
2232
|
+
"sessionId": {
|
|
2233
|
+
"type": "string"
|
|
2234
|
+
},
|
|
2235
|
+
"force": {
|
|
2236
|
+
"type": "boolean"
|
|
2237
|
+
},
|
|
2217
2238
|
"target": {
|
|
2218
|
-
"
|
|
2239
|
+
"type": "object",
|
|
2219
2240
|
"properties": {
|
|
2220
|
-
"blockId": {
|
|
2221
|
-
"type": "string"
|
|
2222
|
-
},
|
|
2223
2241
|
"kind": {
|
|
2224
2242
|
"const": "text"
|
|
2225
2243
|
},
|
|
2244
|
+
"blockId": {
|
|
2245
|
+
"type": "string"
|
|
2246
|
+
},
|
|
2226
2247
|
"range": {
|
|
2227
|
-
"
|
|
2248
|
+
"type": "object",
|
|
2228
2249
|
"properties": {
|
|
2229
|
-
"end": {
|
|
2230
|
-
"type": "integer"
|
|
2231
|
-
},
|
|
2232
2250
|
"start": {
|
|
2233
|
-
"type": "
|
|
2251
|
+
"type": "number"
|
|
2252
|
+
},
|
|
2253
|
+
"end": {
|
|
2254
|
+
"type": "number"
|
|
2234
2255
|
}
|
|
2235
2256
|
},
|
|
2236
2257
|
"required": [
|
|
2237
2258
|
"start",
|
|
2238
2259
|
"end"
|
|
2239
|
-
]
|
|
2240
|
-
"type": "object"
|
|
2260
|
+
]
|
|
2241
2261
|
}
|
|
2242
2262
|
},
|
|
2243
2263
|
"required": [
|
|
2244
2264
|
"kind",
|
|
2245
2265
|
"blockId",
|
|
2246
2266
|
"range"
|
|
2247
|
-
]
|
|
2248
|
-
"type": "object"
|
|
2267
|
+
]
|
|
2249
2268
|
},
|
|
2250
2269
|
"text": {
|
|
2251
2270
|
"type": "string"
|
|
2271
|
+
},
|
|
2272
|
+
"blockId": {
|
|
2273
|
+
"type": "string"
|
|
2274
|
+
},
|
|
2275
|
+
"start": {
|
|
2276
|
+
"type": "number"
|
|
2277
|
+
},
|
|
2278
|
+
"end": {
|
|
2279
|
+
"type": "number"
|
|
2252
2280
|
}
|
|
2253
2281
|
},
|
|
2254
2282
|
"required": [
|
|
2255
|
-
"target",
|
|
2256
2283
|
"text"
|
|
2257
2284
|
],
|
|
2258
|
-
"
|
|
2285
|
+
"additionalProperties": false
|
|
2259
2286
|
}
|
|
2260
2287
|
}
|
|
2261
2288
|
},
|
|
@@ -2265,46 +2292,59 @@
|
|
|
2265
2292
|
"name": "doc_delete",
|
|
2266
2293
|
"description": "Delete content at a target position.",
|
|
2267
2294
|
"parameters": {
|
|
2268
|
-
"
|
|
2295
|
+
"type": "object",
|
|
2269
2296
|
"properties": {
|
|
2297
|
+
"doc": {
|
|
2298
|
+
"type": "string"
|
|
2299
|
+
},
|
|
2300
|
+
"sessionId": {
|
|
2301
|
+
"type": "string"
|
|
2302
|
+
},
|
|
2303
|
+
"force": {
|
|
2304
|
+
"type": "boolean"
|
|
2305
|
+
},
|
|
2270
2306
|
"target": {
|
|
2271
|
-
"
|
|
2307
|
+
"type": "object",
|
|
2272
2308
|
"properties": {
|
|
2273
|
-
"blockId": {
|
|
2274
|
-
"type": "string"
|
|
2275
|
-
},
|
|
2276
2309
|
"kind": {
|
|
2277
2310
|
"const": "text"
|
|
2278
2311
|
},
|
|
2312
|
+
"blockId": {
|
|
2313
|
+
"type": "string"
|
|
2314
|
+
},
|
|
2279
2315
|
"range": {
|
|
2280
|
-
"
|
|
2316
|
+
"type": "object",
|
|
2281
2317
|
"properties": {
|
|
2282
|
-
"end": {
|
|
2283
|
-
"type": "integer"
|
|
2284
|
-
},
|
|
2285
2318
|
"start": {
|
|
2286
|
-
"type": "
|
|
2319
|
+
"type": "number"
|
|
2320
|
+
},
|
|
2321
|
+
"end": {
|
|
2322
|
+
"type": "number"
|
|
2287
2323
|
}
|
|
2288
2324
|
},
|
|
2289
2325
|
"required": [
|
|
2290
2326
|
"start",
|
|
2291
2327
|
"end"
|
|
2292
|
-
]
|
|
2293
|
-
"type": "object"
|
|
2328
|
+
]
|
|
2294
2329
|
}
|
|
2295
2330
|
},
|
|
2296
2331
|
"required": [
|
|
2297
2332
|
"kind",
|
|
2298
2333
|
"blockId",
|
|
2299
2334
|
"range"
|
|
2300
|
-
]
|
|
2301
|
-
|
|
2335
|
+
]
|
|
2336
|
+
},
|
|
2337
|
+
"blockId": {
|
|
2338
|
+
"type": "string"
|
|
2339
|
+
},
|
|
2340
|
+
"start": {
|
|
2341
|
+
"type": "number"
|
|
2342
|
+
},
|
|
2343
|
+
"end": {
|
|
2344
|
+
"type": "number"
|
|
2302
2345
|
}
|
|
2303
2346
|
},
|
|
2304
|
-
"
|
|
2305
|
-
"target"
|
|
2306
|
-
],
|
|
2307
|
-
"type": "object"
|
|
2347
|
+
"additionalProperties": false
|
|
2308
2348
|
}
|
|
2309
2349
|
}
|
|
2310
2350
|
},
|
|
@@ -2314,46 +2354,59 @@
|
|
|
2314
2354
|
"name": "doc_format_bold",
|
|
2315
2355
|
"description": "Toggle bold formatting on the target range.",
|
|
2316
2356
|
"parameters": {
|
|
2317
|
-
"
|
|
2357
|
+
"type": "object",
|
|
2318
2358
|
"properties": {
|
|
2359
|
+
"doc": {
|
|
2360
|
+
"type": "string"
|
|
2361
|
+
},
|
|
2362
|
+
"sessionId": {
|
|
2363
|
+
"type": "string"
|
|
2364
|
+
},
|
|
2365
|
+
"force": {
|
|
2366
|
+
"type": "boolean"
|
|
2367
|
+
},
|
|
2319
2368
|
"target": {
|
|
2320
|
-
"
|
|
2369
|
+
"type": "object",
|
|
2321
2370
|
"properties": {
|
|
2322
|
-
"blockId": {
|
|
2323
|
-
"type": "string"
|
|
2324
|
-
},
|
|
2325
2371
|
"kind": {
|
|
2326
2372
|
"const": "text"
|
|
2327
2373
|
},
|
|
2374
|
+
"blockId": {
|
|
2375
|
+
"type": "string"
|
|
2376
|
+
},
|
|
2328
2377
|
"range": {
|
|
2329
|
-
"
|
|
2378
|
+
"type": "object",
|
|
2330
2379
|
"properties": {
|
|
2331
|
-
"end": {
|
|
2332
|
-
"type": "integer"
|
|
2333
|
-
},
|
|
2334
2380
|
"start": {
|
|
2335
|
-
"type": "
|
|
2381
|
+
"type": "number"
|
|
2382
|
+
},
|
|
2383
|
+
"end": {
|
|
2384
|
+
"type": "number"
|
|
2336
2385
|
}
|
|
2337
2386
|
},
|
|
2338
2387
|
"required": [
|
|
2339
2388
|
"start",
|
|
2340
2389
|
"end"
|
|
2341
|
-
]
|
|
2342
|
-
"type": "object"
|
|
2390
|
+
]
|
|
2343
2391
|
}
|
|
2344
2392
|
},
|
|
2345
2393
|
"required": [
|
|
2346
2394
|
"kind",
|
|
2347
2395
|
"blockId",
|
|
2348
2396
|
"range"
|
|
2349
|
-
]
|
|
2350
|
-
|
|
2397
|
+
]
|
|
2398
|
+
},
|
|
2399
|
+
"blockId": {
|
|
2400
|
+
"type": "string"
|
|
2401
|
+
},
|
|
2402
|
+
"start": {
|
|
2403
|
+
"type": "number"
|
|
2404
|
+
},
|
|
2405
|
+
"end": {
|
|
2406
|
+
"type": "number"
|
|
2351
2407
|
}
|
|
2352
2408
|
},
|
|
2353
|
-
"
|
|
2354
|
-
"target"
|
|
2355
|
-
],
|
|
2356
|
-
"type": "object"
|
|
2409
|
+
"additionalProperties": false
|
|
2357
2410
|
}
|
|
2358
2411
|
}
|
|
2359
2412
|
},
|
|
@@ -2363,46 +2416,59 @@
|
|
|
2363
2416
|
"name": "doc_format_italic",
|
|
2364
2417
|
"description": "Toggle italic formatting on the target range.",
|
|
2365
2418
|
"parameters": {
|
|
2366
|
-
"
|
|
2419
|
+
"type": "object",
|
|
2367
2420
|
"properties": {
|
|
2421
|
+
"doc": {
|
|
2422
|
+
"type": "string"
|
|
2423
|
+
},
|
|
2424
|
+
"sessionId": {
|
|
2425
|
+
"type": "string"
|
|
2426
|
+
},
|
|
2427
|
+
"force": {
|
|
2428
|
+
"type": "boolean"
|
|
2429
|
+
},
|
|
2368
2430
|
"target": {
|
|
2369
|
-
"
|
|
2431
|
+
"type": "object",
|
|
2370
2432
|
"properties": {
|
|
2371
|
-
"blockId": {
|
|
2372
|
-
"type": "string"
|
|
2373
|
-
},
|
|
2374
2433
|
"kind": {
|
|
2375
2434
|
"const": "text"
|
|
2376
2435
|
},
|
|
2436
|
+
"blockId": {
|
|
2437
|
+
"type": "string"
|
|
2438
|
+
},
|
|
2377
2439
|
"range": {
|
|
2378
|
-
"
|
|
2440
|
+
"type": "object",
|
|
2379
2441
|
"properties": {
|
|
2380
|
-
"end": {
|
|
2381
|
-
"type": "integer"
|
|
2382
|
-
},
|
|
2383
2442
|
"start": {
|
|
2384
|
-
"type": "
|
|
2443
|
+
"type": "number"
|
|
2444
|
+
},
|
|
2445
|
+
"end": {
|
|
2446
|
+
"type": "number"
|
|
2385
2447
|
}
|
|
2386
2448
|
},
|
|
2387
2449
|
"required": [
|
|
2388
2450
|
"start",
|
|
2389
2451
|
"end"
|
|
2390
|
-
]
|
|
2391
|
-
"type": "object"
|
|
2452
|
+
]
|
|
2392
2453
|
}
|
|
2393
2454
|
},
|
|
2394
2455
|
"required": [
|
|
2395
2456
|
"kind",
|
|
2396
2457
|
"blockId",
|
|
2397
2458
|
"range"
|
|
2398
|
-
]
|
|
2399
|
-
|
|
2459
|
+
]
|
|
2460
|
+
},
|
|
2461
|
+
"blockId": {
|
|
2462
|
+
"type": "string"
|
|
2463
|
+
},
|
|
2464
|
+
"start": {
|
|
2465
|
+
"type": "number"
|
|
2466
|
+
},
|
|
2467
|
+
"end": {
|
|
2468
|
+
"type": "number"
|
|
2400
2469
|
}
|
|
2401
2470
|
},
|
|
2402
|
-
"
|
|
2403
|
-
"target"
|
|
2404
|
-
],
|
|
2405
|
-
"type": "object"
|
|
2471
|
+
"additionalProperties": false
|
|
2406
2472
|
}
|
|
2407
2473
|
}
|
|
2408
2474
|
},
|
|
@@ -2412,46 +2478,59 @@
|
|
|
2412
2478
|
"name": "doc_format_underline",
|
|
2413
2479
|
"description": "Toggle underline formatting on the target range.",
|
|
2414
2480
|
"parameters": {
|
|
2415
|
-
"
|
|
2481
|
+
"type": "object",
|
|
2416
2482
|
"properties": {
|
|
2483
|
+
"doc": {
|
|
2484
|
+
"type": "string"
|
|
2485
|
+
},
|
|
2486
|
+
"sessionId": {
|
|
2487
|
+
"type": "string"
|
|
2488
|
+
},
|
|
2489
|
+
"force": {
|
|
2490
|
+
"type": "boolean"
|
|
2491
|
+
},
|
|
2417
2492
|
"target": {
|
|
2418
|
-
"
|
|
2493
|
+
"type": "object",
|
|
2419
2494
|
"properties": {
|
|
2420
|
-
"blockId": {
|
|
2421
|
-
"type": "string"
|
|
2422
|
-
},
|
|
2423
2495
|
"kind": {
|
|
2424
2496
|
"const": "text"
|
|
2425
2497
|
},
|
|
2498
|
+
"blockId": {
|
|
2499
|
+
"type": "string"
|
|
2500
|
+
},
|
|
2426
2501
|
"range": {
|
|
2427
|
-
"
|
|
2502
|
+
"type": "object",
|
|
2428
2503
|
"properties": {
|
|
2429
|
-
"end": {
|
|
2430
|
-
"type": "integer"
|
|
2431
|
-
},
|
|
2432
2504
|
"start": {
|
|
2433
|
-
"type": "
|
|
2505
|
+
"type": "number"
|
|
2506
|
+
},
|
|
2507
|
+
"end": {
|
|
2508
|
+
"type": "number"
|
|
2434
2509
|
}
|
|
2435
2510
|
},
|
|
2436
2511
|
"required": [
|
|
2437
2512
|
"start",
|
|
2438
2513
|
"end"
|
|
2439
|
-
]
|
|
2440
|
-
"type": "object"
|
|
2514
|
+
]
|
|
2441
2515
|
}
|
|
2442
2516
|
},
|
|
2443
2517
|
"required": [
|
|
2444
2518
|
"kind",
|
|
2445
2519
|
"blockId",
|
|
2446
2520
|
"range"
|
|
2447
|
-
]
|
|
2448
|
-
|
|
2521
|
+
]
|
|
2522
|
+
},
|
|
2523
|
+
"blockId": {
|
|
2524
|
+
"type": "string"
|
|
2525
|
+
},
|
|
2526
|
+
"start": {
|
|
2527
|
+
"type": "number"
|
|
2528
|
+
},
|
|
2529
|
+
"end": {
|
|
2530
|
+
"type": "number"
|
|
2449
2531
|
}
|
|
2450
2532
|
},
|
|
2451
|
-
"
|
|
2452
|
-
"target"
|
|
2453
|
-
],
|
|
2454
|
-
"type": "object"
|
|
2533
|
+
"additionalProperties": false
|
|
2455
2534
|
}
|
|
2456
2535
|
}
|
|
2457
2536
|
},
|
|
@@ -2461,46 +2540,59 @@
|
|
|
2461
2540
|
"name": "doc_format_strikethrough",
|
|
2462
2541
|
"description": "Toggle strikethrough formatting on the target range.",
|
|
2463
2542
|
"parameters": {
|
|
2464
|
-
"
|
|
2543
|
+
"type": "object",
|
|
2465
2544
|
"properties": {
|
|
2545
|
+
"doc": {
|
|
2546
|
+
"type": "string"
|
|
2547
|
+
},
|
|
2548
|
+
"sessionId": {
|
|
2549
|
+
"type": "string"
|
|
2550
|
+
},
|
|
2551
|
+
"force": {
|
|
2552
|
+
"type": "boolean"
|
|
2553
|
+
},
|
|
2466
2554
|
"target": {
|
|
2467
|
-
"
|
|
2555
|
+
"type": "object",
|
|
2468
2556
|
"properties": {
|
|
2469
|
-
"blockId": {
|
|
2470
|
-
"type": "string"
|
|
2471
|
-
},
|
|
2472
2557
|
"kind": {
|
|
2473
2558
|
"const": "text"
|
|
2474
2559
|
},
|
|
2560
|
+
"blockId": {
|
|
2561
|
+
"type": "string"
|
|
2562
|
+
},
|
|
2475
2563
|
"range": {
|
|
2476
|
-
"
|
|
2564
|
+
"type": "object",
|
|
2477
2565
|
"properties": {
|
|
2478
|
-
"end": {
|
|
2479
|
-
"type": "integer"
|
|
2480
|
-
},
|
|
2481
2566
|
"start": {
|
|
2482
|
-
"type": "
|
|
2567
|
+
"type": "number"
|
|
2568
|
+
},
|
|
2569
|
+
"end": {
|
|
2570
|
+
"type": "number"
|
|
2483
2571
|
}
|
|
2484
2572
|
},
|
|
2485
2573
|
"required": [
|
|
2486
2574
|
"start",
|
|
2487
2575
|
"end"
|
|
2488
|
-
]
|
|
2489
|
-
"type": "object"
|
|
2576
|
+
]
|
|
2490
2577
|
}
|
|
2491
2578
|
},
|
|
2492
2579
|
"required": [
|
|
2493
2580
|
"kind",
|
|
2494
2581
|
"blockId",
|
|
2495
2582
|
"range"
|
|
2496
|
-
]
|
|
2497
|
-
|
|
2583
|
+
]
|
|
2584
|
+
},
|
|
2585
|
+
"blockId": {
|
|
2586
|
+
"type": "string"
|
|
2587
|
+
},
|
|
2588
|
+
"start": {
|
|
2589
|
+
"type": "number"
|
|
2590
|
+
},
|
|
2591
|
+
"end": {
|
|
2592
|
+
"type": "number"
|
|
2498
2593
|
}
|
|
2499
2594
|
},
|
|
2500
|
-
"
|
|
2501
|
-
"target"
|
|
2502
|
-
],
|
|
2503
|
-
"type": "object"
|
|
2595
|
+
"additionalProperties": false
|
|
2504
2596
|
}
|
|
2505
2597
|
}
|
|
2506
2598
|
},
|
|
@@ -2510,12 +2602,21 @@
|
|
|
2510
2602
|
"name": "doc_create_paragraph",
|
|
2511
2603
|
"description": "Create a new paragraph at the target position.",
|
|
2512
2604
|
"parameters": {
|
|
2513
|
-
"
|
|
2605
|
+
"type": "object",
|
|
2514
2606
|
"properties": {
|
|
2607
|
+
"doc": {
|
|
2608
|
+
"type": "string"
|
|
2609
|
+
},
|
|
2610
|
+
"sessionId": {
|
|
2611
|
+
"type": "string"
|
|
2612
|
+
},
|
|
2613
|
+
"force": {
|
|
2614
|
+
"type": "boolean"
|
|
2615
|
+
},
|
|
2515
2616
|
"at": {
|
|
2516
2617
|
"oneOf": [
|
|
2517
2618
|
{
|
|
2518
|
-
"
|
|
2619
|
+
"type": "object",
|
|
2519
2620
|
"properties": {
|
|
2520
2621
|
"kind": {
|
|
2521
2622
|
"const": "documentStart"
|
|
@@ -2523,11 +2624,10 @@
|
|
|
2523
2624
|
},
|
|
2524
2625
|
"required": [
|
|
2525
2626
|
"kind"
|
|
2526
|
-
]
|
|
2527
|
-
"type": "object"
|
|
2627
|
+
]
|
|
2528
2628
|
},
|
|
2529
2629
|
{
|
|
2530
|
-
"
|
|
2630
|
+
"type": "object",
|
|
2531
2631
|
"properties": {
|
|
2532
2632
|
"kind": {
|
|
2533
2633
|
"const": "documentEnd"
|
|
@@ -2535,100 +2635,36 @@
|
|
|
2535
2635
|
},
|
|
2536
2636
|
"required": [
|
|
2537
2637
|
"kind"
|
|
2538
|
-
]
|
|
2539
|
-
"type": "object"
|
|
2638
|
+
]
|
|
2540
2639
|
},
|
|
2541
2640
|
{
|
|
2542
|
-
"
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
"const": "before"
|
|
2641
|
+
"oneOf": [
|
|
2642
|
+
{
|
|
2643
|
+
"type": "json"
|
|
2546
2644
|
},
|
|
2547
|
-
|
|
2548
|
-
"
|
|
2549
|
-
"properties": {
|
|
2550
|
-
"kind": {
|
|
2551
|
-
"const": "block"
|
|
2552
|
-
},
|
|
2553
|
-
"nodeId": {
|
|
2554
|
-
"type": "string"
|
|
2555
|
-
},
|
|
2556
|
-
"nodeType": {
|
|
2557
|
-
"enum": [
|
|
2558
|
-
"paragraph",
|
|
2559
|
-
"heading",
|
|
2560
|
-
"listItem",
|
|
2561
|
-
"table",
|
|
2562
|
-
"tableRow",
|
|
2563
|
-
"tableCell",
|
|
2564
|
-
"image",
|
|
2565
|
-
"sdt"
|
|
2566
|
-
]
|
|
2567
|
-
}
|
|
2568
|
-
},
|
|
2569
|
-
"required": [
|
|
2570
|
-
"kind",
|
|
2571
|
-
"nodeType",
|
|
2572
|
-
"nodeId"
|
|
2573
|
-
],
|
|
2574
|
-
"type": "object"
|
|
2645
|
+
{
|
|
2646
|
+
"type": "json"
|
|
2575
2647
|
}
|
|
2576
|
-
|
|
2577
|
-
"required": [
|
|
2578
|
-
"kind",
|
|
2579
|
-
"target"
|
|
2580
|
-
],
|
|
2581
|
-
"type": "object"
|
|
2648
|
+
]
|
|
2582
2649
|
},
|
|
2583
2650
|
{
|
|
2584
|
-
"
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
"const": "after"
|
|
2651
|
+
"oneOf": [
|
|
2652
|
+
{
|
|
2653
|
+
"type": "json"
|
|
2588
2654
|
},
|
|
2589
|
-
|
|
2590
|
-
"
|
|
2591
|
-
"properties": {
|
|
2592
|
-
"kind": {
|
|
2593
|
-
"const": "block"
|
|
2594
|
-
},
|
|
2595
|
-
"nodeId": {
|
|
2596
|
-
"type": "string"
|
|
2597
|
-
},
|
|
2598
|
-
"nodeType": {
|
|
2599
|
-
"enum": [
|
|
2600
|
-
"paragraph",
|
|
2601
|
-
"heading",
|
|
2602
|
-
"listItem",
|
|
2603
|
-
"table",
|
|
2604
|
-
"tableRow",
|
|
2605
|
-
"tableCell",
|
|
2606
|
-
"image",
|
|
2607
|
-
"sdt"
|
|
2608
|
-
]
|
|
2609
|
-
}
|
|
2610
|
-
},
|
|
2611
|
-
"required": [
|
|
2612
|
-
"kind",
|
|
2613
|
-
"nodeType",
|
|
2614
|
-
"nodeId"
|
|
2615
|
-
],
|
|
2616
|
-
"type": "object"
|
|
2655
|
+
{
|
|
2656
|
+
"type": "json"
|
|
2617
2657
|
}
|
|
2618
|
-
|
|
2619
|
-
"required": [
|
|
2620
|
-
"kind",
|
|
2621
|
-
"target"
|
|
2622
|
-
],
|
|
2623
|
-
"type": "object"
|
|
2658
|
+
]
|
|
2624
2659
|
}
|
|
2625
2660
|
]
|
|
2626
2661
|
},
|
|
2627
2662
|
"text": {
|
|
2628
2663
|
"type": "string"
|
|
2629
|
-
}
|
|
2664
|
+
},
|
|
2665
|
+
"input": {}
|
|
2630
2666
|
},
|
|
2631
|
-
"
|
|
2667
|
+
"additionalProperties": false
|
|
2632
2668
|
}
|
|
2633
2669
|
}
|
|
2634
2670
|
},
|
|
@@ -2638,57 +2674,76 @@
|
|
|
2638
2674
|
"name": "doc_lists_list",
|
|
2639
2675
|
"description": "List all list nodes in the document, optionally filtered by scope.",
|
|
2640
2676
|
"parameters": {
|
|
2641
|
-
"
|
|
2677
|
+
"type": "object",
|
|
2642
2678
|
"properties": {
|
|
2643
|
-
"
|
|
2644
|
-
"
|
|
2645
|
-
"ordered",
|
|
2646
|
-
"bullet"
|
|
2647
|
-
]
|
|
2648
|
-
},
|
|
2649
|
-
"level": {
|
|
2650
|
-
"type": "integer"
|
|
2651
|
-
},
|
|
2652
|
-
"limit": {
|
|
2653
|
-
"type": "integer"
|
|
2654
|
-
},
|
|
2655
|
-
"offset": {
|
|
2656
|
-
"type": "integer"
|
|
2679
|
+
"doc": {
|
|
2680
|
+
"type": "string"
|
|
2657
2681
|
},
|
|
2658
|
-
"
|
|
2659
|
-
"type": "
|
|
2682
|
+
"sessionId": {
|
|
2683
|
+
"type": "string"
|
|
2660
2684
|
},
|
|
2661
2685
|
"within": {
|
|
2662
|
-
"
|
|
2686
|
+
"type": "object",
|
|
2663
2687
|
"properties": {
|
|
2664
2688
|
"kind": {
|
|
2665
2689
|
"const": "block"
|
|
2666
2690
|
},
|
|
2667
|
-
"nodeId": {
|
|
2668
|
-
"type": "string"
|
|
2669
|
-
},
|
|
2670
2691
|
"nodeType": {
|
|
2671
|
-
"
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2692
|
+
"oneOf": [
|
|
2693
|
+
{
|
|
2694
|
+
"const": "paragraph"
|
|
2695
|
+
},
|
|
2696
|
+
{
|
|
2697
|
+
"const": "heading"
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"const": "listItem"
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
"const": "table"
|
|
2704
|
+
},
|
|
2705
|
+
{
|
|
2706
|
+
"const": "tableRow"
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
"const": "tableCell"
|
|
2710
|
+
},
|
|
2711
|
+
{
|
|
2712
|
+
"const": "image"
|
|
2713
|
+
},
|
|
2714
|
+
{
|
|
2715
|
+
"const": "sdt"
|
|
2716
|
+
}
|
|
2680
2717
|
]
|
|
2718
|
+
},
|
|
2719
|
+
"nodeId": {
|
|
2720
|
+
"type": "string"
|
|
2681
2721
|
}
|
|
2682
2722
|
},
|
|
2683
2723
|
"required": [
|
|
2684
2724
|
"kind",
|
|
2685
2725
|
"nodeType",
|
|
2686
2726
|
"nodeId"
|
|
2687
|
-
]
|
|
2688
|
-
|
|
2689
|
-
|
|
2727
|
+
]
|
|
2728
|
+
},
|
|
2729
|
+
"limit": {
|
|
2730
|
+
"type": "number"
|
|
2731
|
+
},
|
|
2732
|
+
"offset": {
|
|
2733
|
+
"type": "number"
|
|
2734
|
+
},
|
|
2735
|
+
"kind": {
|
|
2736
|
+
"type": "string"
|
|
2737
|
+
},
|
|
2738
|
+
"level": {
|
|
2739
|
+
"type": "number"
|
|
2740
|
+
},
|
|
2741
|
+
"ordinal": {
|
|
2742
|
+
"type": "number"
|
|
2743
|
+
},
|
|
2744
|
+
"query": {}
|
|
2690
2745
|
},
|
|
2691
|
-
"
|
|
2746
|
+
"additionalProperties": false
|
|
2692
2747
|
}
|
|
2693
2748
|
}
|
|
2694
2749
|
},
|
|
@@ -2698,33 +2753,38 @@
|
|
|
2698
2753
|
"name": "doc_lists_get",
|
|
2699
2754
|
"description": "Retrieve a specific list node by target.",
|
|
2700
2755
|
"parameters": {
|
|
2701
|
-
"
|
|
2756
|
+
"type": "object",
|
|
2702
2757
|
"properties": {
|
|
2758
|
+
"doc": {
|
|
2759
|
+
"type": "string"
|
|
2760
|
+
},
|
|
2761
|
+
"sessionId": {
|
|
2762
|
+
"type": "string"
|
|
2763
|
+
},
|
|
2703
2764
|
"address": {
|
|
2704
|
-
"
|
|
2765
|
+
"type": "object",
|
|
2705
2766
|
"properties": {
|
|
2706
2767
|
"kind": {
|
|
2707
2768
|
"const": "block"
|
|
2708
2769
|
},
|
|
2709
|
-
"nodeId": {
|
|
2710
|
-
"type": "string"
|
|
2711
|
-
},
|
|
2712
2770
|
"nodeType": {
|
|
2713
2771
|
"const": "listItem"
|
|
2772
|
+
},
|
|
2773
|
+
"nodeId": {
|
|
2774
|
+
"type": "string"
|
|
2714
2775
|
}
|
|
2715
2776
|
},
|
|
2716
2777
|
"required": [
|
|
2717
2778
|
"kind",
|
|
2718
2779
|
"nodeType",
|
|
2719
2780
|
"nodeId"
|
|
2720
|
-
]
|
|
2721
|
-
"type": "object"
|
|
2781
|
+
]
|
|
2722
2782
|
}
|
|
2723
2783
|
},
|
|
2724
2784
|
"required": [
|
|
2725
2785
|
"address"
|
|
2726
2786
|
],
|
|
2727
|
-
"
|
|
2787
|
+
"additionalProperties": false
|
|
2728
2788
|
}
|
|
2729
2789
|
}
|
|
2730
2790
|
},
|
|
@@ -2734,43 +2794,48 @@
|
|
|
2734
2794
|
"name": "doc_lists_insert",
|
|
2735
2795
|
"description": "Insert a new list at the target position.",
|
|
2736
2796
|
"parameters": {
|
|
2737
|
-
"
|
|
2797
|
+
"type": "object",
|
|
2738
2798
|
"properties": {
|
|
2739
|
-
"
|
|
2740
|
-
"
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2799
|
+
"doc": {
|
|
2800
|
+
"type": "string"
|
|
2801
|
+
},
|
|
2802
|
+
"sessionId": {
|
|
2803
|
+
"type": "string"
|
|
2804
|
+
},
|
|
2805
|
+
"force": {
|
|
2806
|
+
"type": "boolean"
|
|
2744
2807
|
},
|
|
2745
2808
|
"target": {
|
|
2746
|
-
"
|
|
2809
|
+
"type": "object",
|
|
2747
2810
|
"properties": {
|
|
2748
2811
|
"kind": {
|
|
2749
2812
|
"const": "block"
|
|
2750
2813
|
},
|
|
2751
|
-
"nodeId": {
|
|
2752
|
-
"type": "string"
|
|
2753
|
-
},
|
|
2754
2814
|
"nodeType": {
|
|
2755
2815
|
"const": "listItem"
|
|
2816
|
+
},
|
|
2817
|
+
"nodeId": {
|
|
2818
|
+
"type": "string"
|
|
2756
2819
|
}
|
|
2757
2820
|
},
|
|
2758
2821
|
"required": [
|
|
2759
2822
|
"kind",
|
|
2760
2823
|
"nodeType",
|
|
2761
2824
|
"nodeId"
|
|
2762
|
-
]
|
|
2763
|
-
|
|
2825
|
+
]
|
|
2826
|
+
},
|
|
2827
|
+
"nodeId": {
|
|
2828
|
+
"type": "string"
|
|
2829
|
+
},
|
|
2830
|
+
"position": {
|
|
2831
|
+
"type": "string"
|
|
2764
2832
|
},
|
|
2765
2833
|
"text": {
|
|
2766
2834
|
"type": "string"
|
|
2767
|
-
}
|
|
2835
|
+
},
|
|
2836
|
+
"input": {}
|
|
2768
2837
|
},
|
|
2769
|
-
"
|
|
2770
|
-
"target",
|
|
2771
|
-
"position"
|
|
2772
|
-
],
|
|
2773
|
-
"type": "object"
|
|
2838
|
+
"additionalProperties": false
|
|
2774
2839
|
}
|
|
2775
2840
|
}
|
|
2776
2841
|
},
|
|
@@ -2780,40 +2845,45 @@
|
|
|
2780
2845
|
"name": "doc_lists_setType",
|
|
2781
2846
|
"description": "Change the list type (ordered, unordered) of a target list.",
|
|
2782
2847
|
"parameters": {
|
|
2783
|
-
"
|
|
2848
|
+
"type": "object",
|
|
2784
2849
|
"properties": {
|
|
2785
|
-
"
|
|
2786
|
-
"
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2850
|
+
"doc": {
|
|
2851
|
+
"type": "string"
|
|
2852
|
+
},
|
|
2853
|
+
"sessionId": {
|
|
2854
|
+
"type": "string"
|
|
2855
|
+
},
|
|
2856
|
+
"force": {
|
|
2857
|
+
"type": "boolean"
|
|
2790
2858
|
},
|
|
2791
2859
|
"target": {
|
|
2792
|
-
"
|
|
2860
|
+
"type": "object",
|
|
2793
2861
|
"properties": {
|
|
2794
2862
|
"kind": {
|
|
2795
2863
|
"const": "block"
|
|
2796
2864
|
},
|
|
2797
|
-
"nodeId": {
|
|
2798
|
-
"type": "string"
|
|
2799
|
-
},
|
|
2800
2865
|
"nodeType": {
|
|
2801
2866
|
"const": "listItem"
|
|
2867
|
+
},
|
|
2868
|
+
"nodeId": {
|
|
2869
|
+
"type": "string"
|
|
2802
2870
|
}
|
|
2803
2871
|
},
|
|
2804
2872
|
"required": [
|
|
2805
2873
|
"kind",
|
|
2806
2874
|
"nodeType",
|
|
2807
2875
|
"nodeId"
|
|
2808
|
-
]
|
|
2809
|
-
|
|
2810
|
-
|
|
2876
|
+
]
|
|
2877
|
+
},
|
|
2878
|
+
"nodeId": {
|
|
2879
|
+
"type": "string"
|
|
2880
|
+
},
|
|
2881
|
+
"kind": {
|
|
2882
|
+
"type": "string"
|
|
2883
|
+
},
|
|
2884
|
+
"input": {}
|
|
2811
2885
|
},
|
|
2812
|
-
"
|
|
2813
|
-
"target",
|
|
2814
|
-
"kind"
|
|
2815
|
-
],
|
|
2816
|
-
"type": "object"
|
|
2886
|
+
"additionalProperties": false
|
|
2817
2887
|
}
|
|
2818
2888
|
}
|
|
2819
2889
|
},
|
|
@@ -2823,33 +2893,42 @@
|
|
|
2823
2893
|
"name": "doc_lists_indent",
|
|
2824
2894
|
"description": "Increase the indentation level of a list item.",
|
|
2825
2895
|
"parameters": {
|
|
2826
|
-
"
|
|
2896
|
+
"type": "object",
|
|
2827
2897
|
"properties": {
|
|
2898
|
+
"doc": {
|
|
2899
|
+
"type": "string"
|
|
2900
|
+
},
|
|
2901
|
+
"sessionId": {
|
|
2902
|
+
"type": "string"
|
|
2903
|
+
},
|
|
2904
|
+
"force": {
|
|
2905
|
+
"type": "boolean"
|
|
2906
|
+
},
|
|
2828
2907
|
"target": {
|
|
2829
|
-
"
|
|
2908
|
+
"type": "object",
|
|
2830
2909
|
"properties": {
|
|
2831
2910
|
"kind": {
|
|
2832
2911
|
"const": "block"
|
|
2833
2912
|
},
|
|
2834
|
-
"nodeId": {
|
|
2835
|
-
"type": "string"
|
|
2836
|
-
},
|
|
2837
2913
|
"nodeType": {
|
|
2838
2914
|
"const": "listItem"
|
|
2915
|
+
},
|
|
2916
|
+
"nodeId": {
|
|
2917
|
+
"type": "string"
|
|
2839
2918
|
}
|
|
2840
2919
|
},
|
|
2841
2920
|
"required": [
|
|
2842
2921
|
"kind",
|
|
2843
2922
|
"nodeType",
|
|
2844
2923
|
"nodeId"
|
|
2845
|
-
]
|
|
2846
|
-
|
|
2847
|
-
|
|
2924
|
+
]
|
|
2925
|
+
},
|
|
2926
|
+
"nodeId": {
|
|
2927
|
+
"type": "string"
|
|
2928
|
+
},
|
|
2929
|
+
"input": {}
|
|
2848
2930
|
},
|
|
2849
|
-
"
|
|
2850
|
-
"target"
|
|
2851
|
-
],
|
|
2852
|
-
"type": "object"
|
|
2931
|
+
"additionalProperties": false
|
|
2853
2932
|
}
|
|
2854
2933
|
}
|
|
2855
2934
|
},
|
|
@@ -2859,33 +2938,42 @@
|
|
|
2859
2938
|
"name": "doc_lists_outdent",
|
|
2860
2939
|
"description": "Decrease the indentation level of a list item.",
|
|
2861
2940
|
"parameters": {
|
|
2862
|
-
"
|
|
2941
|
+
"type": "object",
|
|
2863
2942
|
"properties": {
|
|
2943
|
+
"doc": {
|
|
2944
|
+
"type": "string"
|
|
2945
|
+
},
|
|
2946
|
+
"sessionId": {
|
|
2947
|
+
"type": "string"
|
|
2948
|
+
},
|
|
2949
|
+
"force": {
|
|
2950
|
+
"type": "boolean"
|
|
2951
|
+
},
|
|
2864
2952
|
"target": {
|
|
2865
|
-
"
|
|
2953
|
+
"type": "object",
|
|
2866
2954
|
"properties": {
|
|
2867
2955
|
"kind": {
|
|
2868
2956
|
"const": "block"
|
|
2869
2957
|
},
|
|
2870
|
-
"nodeId": {
|
|
2871
|
-
"type": "string"
|
|
2872
|
-
},
|
|
2873
2958
|
"nodeType": {
|
|
2874
2959
|
"const": "listItem"
|
|
2960
|
+
},
|
|
2961
|
+
"nodeId": {
|
|
2962
|
+
"type": "string"
|
|
2875
2963
|
}
|
|
2876
2964
|
},
|
|
2877
2965
|
"required": [
|
|
2878
2966
|
"kind",
|
|
2879
2967
|
"nodeType",
|
|
2880
2968
|
"nodeId"
|
|
2881
|
-
]
|
|
2882
|
-
|
|
2883
|
-
|
|
2969
|
+
]
|
|
2970
|
+
},
|
|
2971
|
+
"nodeId": {
|
|
2972
|
+
"type": "string"
|
|
2973
|
+
},
|
|
2974
|
+
"input": {}
|
|
2884
2975
|
},
|
|
2885
|
-
"
|
|
2886
|
-
"target"
|
|
2887
|
-
],
|
|
2888
|
-
"type": "object"
|
|
2976
|
+
"additionalProperties": false
|
|
2889
2977
|
}
|
|
2890
2978
|
}
|
|
2891
2979
|
},
|
|
@@ -2895,33 +2983,42 @@
|
|
|
2895
2983
|
"name": "doc_lists_restart",
|
|
2896
2984
|
"description": "Restart numbering of an ordered list at the target item.",
|
|
2897
2985
|
"parameters": {
|
|
2898
|
-
"
|
|
2986
|
+
"type": "object",
|
|
2899
2987
|
"properties": {
|
|
2988
|
+
"doc": {
|
|
2989
|
+
"type": "string"
|
|
2990
|
+
},
|
|
2991
|
+
"sessionId": {
|
|
2992
|
+
"type": "string"
|
|
2993
|
+
},
|
|
2994
|
+
"force": {
|
|
2995
|
+
"type": "boolean"
|
|
2996
|
+
},
|
|
2900
2997
|
"target": {
|
|
2901
|
-
"
|
|
2998
|
+
"type": "object",
|
|
2902
2999
|
"properties": {
|
|
2903
3000
|
"kind": {
|
|
2904
3001
|
"const": "block"
|
|
2905
3002
|
},
|
|
2906
|
-
"nodeId": {
|
|
2907
|
-
"type": "string"
|
|
2908
|
-
},
|
|
2909
3003
|
"nodeType": {
|
|
2910
3004
|
"const": "listItem"
|
|
3005
|
+
},
|
|
3006
|
+
"nodeId": {
|
|
3007
|
+
"type": "string"
|
|
2911
3008
|
}
|
|
2912
3009
|
},
|
|
2913
3010
|
"required": [
|
|
2914
3011
|
"kind",
|
|
2915
3012
|
"nodeType",
|
|
2916
3013
|
"nodeId"
|
|
2917
|
-
]
|
|
2918
|
-
|
|
2919
|
-
|
|
3014
|
+
]
|
|
3015
|
+
},
|
|
3016
|
+
"nodeId": {
|
|
3017
|
+
"type": "string"
|
|
3018
|
+
},
|
|
3019
|
+
"input": {}
|
|
2920
3020
|
},
|
|
2921
|
-
"
|
|
2922
|
-
"target"
|
|
2923
|
-
],
|
|
2924
|
-
"type": "object"
|
|
3021
|
+
"additionalProperties": false
|
|
2925
3022
|
}
|
|
2926
3023
|
}
|
|
2927
3024
|
},
|
|
@@ -2931,33 +3028,42 @@
|
|
|
2931
3028
|
"name": "doc_lists_exit",
|
|
2932
3029
|
"description": "Exit a list context, converting the target item to a paragraph.",
|
|
2933
3030
|
"parameters": {
|
|
2934
|
-
"
|
|
3031
|
+
"type": "object",
|
|
2935
3032
|
"properties": {
|
|
3033
|
+
"doc": {
|
|
3034
|
+
"type": "string"
|
|
3035
|
+
},
|
|
3036
|
+
"sessionId": {
|
|
3037
|
+
"type": "string"
|
|
3038
|
+
},
|
|
3039
|
+
"force": {
|
|
3040
|
+
"type": "boolean"
|
|
3041
|
+
},
|
|
2936
3042
|
"target": {
|
|
2937
|
-
"
|
|
3043
|
+
"type": "object",
|
|
2938
3044
|
"properties": {
|
|
2939
3045
|
"kind": {
|
|
2940
3046
|
"const": "block"
|
|
2941
3047
|
},
|
|
2942
|
-
"nodeId": {
|
|
2943
|
-
"type": "string"
|
|
2944
|
-
},
|
|
2945
3048
|
"nodeType": {
|
|
2946
3049
|
"const": "listItem"
|
|
3050
|
+
},
|
|
3051
|
+
"nodeId": {
|
|
3052
|
+
"type": "string"
|
|
2947
3053
|
}
|
|
2948
3054
|
},
|
|
2949
3055
|
"required": [
|
|
2950
3056
|
"kind",
|
|
2951
3057
|
"nodeType",
|
|
2952
3058
|
"nodeId"
|
|
2953
|
-
]
|
|
2954
|
-
|
|
2955
|
-
|
|
3059
|
+
]
|
|
3060
|
+
},
|
|
3061
|
+
"nodeId": {
|
|
3062
|
+
"type": "string"
|
|
3063
|
+
},
|
|
3064
|
+
"input": {}
|
|
2956
3065
|
},
|
|
2957
|
-
"
|
|
2958
|
-
"target"
|
|
2959
|
-
],
|
|
2960
|
-
"type": "object"
|
|
3066
|
+
"additionalProperties": false
|
|
2961
3067
|
}
|
|
2962
3068
|
}
|
|
2963
3069
|
},
|
|
@@ -2967,50 +3073,65 @@
|
|
|
2967
3073
|
"name": "doc_comments_add",
|
|
2968
3074
|
"description": "Add a new comment thread anchored to a target range.",
|
|
2969
3075
|
"parameters": {
|
|
2970
|
-
"
|
|
3076
|
+
"type": "object",
|
|
2971
3077
|
"properties": {
|
|
3078
|
+
"doc": {
|
|
3079
|
+
"type": "string"
|
|
3080
|
+
},
|
|
3081
|
+
"sessionId": {
|
|
3082
|
+
"type": "string"
|
|
3083
|
+
},
|
|
3084
|
+
"force": {
|
|
3085
|
+
"type": "boolean"
|
|
3086
|
+
},
|
|
2972
3087
|
"target": {
|
|
2973
|
-
"
|
|
3088
|
+
"type": "object",
|
|
2974
3089
|
"properties": {
|
|
2975
|
-
"blockId": {
|
|
2976
|
-
"type": "string"
|
|
2977
|
-
},
|
|
2978
3090
|
"kind": {
|
|
2979
3091
|
"const": "text"
|
|
2980
3092
|
},
|
|
3093
|
+
"blockId": {
|
|
3094
|
+
"type": "string"
|
|
3095
|
+
},
|
|
2981
3096
|
"range": {
|
|
2982
|
-
"
|
|
3097
|
+
"type": "object",
|
|
2983
3098
|
"properties": {
|
|
2984
|
-
"end": {
|
|
2985
|
-
"type": "integer"
|
|
2986
|
-
},
|
|
2987
3099
|
"start": {
|
|
2988
|
-
"type": "
|
|
3100
|
+
"type": "number"
|
|
3101
|
+
},
|
|
3102
|
+
"end": {
|
|
3103
|
+
"type": "number"
|
|
2989
3104
|
}
|
|
2990
3105
|
},
|
|
2991
3106
|
"required": [
|
|
2992
3107
|
"start",
|
|
2993
3108
|
"end"
|
|
2994
|
-
]
|
|
2995
|
-
"type": "object"
|
|
3109
|
+
]
|
|
2996
3110
|
}
|
|
2997
3111
|
},
|
|
2998
3112
|
"required": [
|
|
2999
3113
|
"kind",
|
|
3000
3114
|
"blockId",
|
|
3001
3115
|
"range"
|
|
3002
|
-
]
|
|
3003
|
-
"type": "object"
|
|
3116
|
+
]
|
|
3004
3117
|
},
|
|
3005
3118
|
"text": {
|
|
3006
3119
|
"type": "string"
|
|
3120
|
+
},
|
|
3121
|
+
"blockId": {
|
|
3122
|
+
"type": "string"
|
|
3123
|
+
},
|
|
3124
|
+
"start": {
|
|
3125
|
+
"type": "number"
|
|
3126
|
+
},
|
|
3127
|
+
"end": {
|
|
3128
|
+
"type": "number"
|
|
3007
3129
|
}
|
|
3008
3130
|
},
|
|
3009
3131
|
"required": [
|
|
3010
|
-
"target",
|
|
3011
3132
|
"text"
|
|
3012
3133
|
],
|
|
3013
|
-
"
|
|
3134
|
+
"additionalProperties": false
|
|
3014
3135
|
}
|
|
3015
3136
|
}
|
|
3016
3137
|
},
|
|
@@ -3020,9 +3141,18 @@
|
|
|
3020
3141
|
"name": "doc_comments_edit",
|
|
3021
3142
|
"description": "Edit the content of an existing comment.",
|
|
3022
3143
|
"parameters": {
|
|
3023
|
-
"
|
|
3144
|
+
"type": "object",
|
|
3024
3145
|
"properties": {
|
|
3025
|
-
"
|
|
3146
|
+
"doc": {
|
|
3147
|
+
"type": "string"
|
|
3148
|
+
},
|
|
3149
|
+
"sessionId": {
|
|
3150
|
+
"type": "string"
|
|
3151
|
+
},
|
|
3152
|
+
"force": {
|
|
3153
|
+
"type": "boolean"
|
|
3154
|
+
},
|
|
3155
|
+
"id": {
|
|
3026
3156
|
"type": "string"
|
|
3027
3157
|
},
|
|
3028
3158
|
"text": {
|
|
@@ -3030,10 +3160,10 @@
|
|
|
3030
3160
|
}
|
|
3031
3161
|
},
|
|
3032
3162
|
"required": [
|
|
3033
|
-
"
|
|
3163
|
+
"id",
|
|
3034
3164
|
"text"
|
|
3035
3165
|
],
|
|
3036
|
-
"
|
|
3166
|
+
"additionalProperties": false
|
|
3037
3167
|
}
|
|
3038
3168
|
}
|
|
3039
3169
|
},
|
|
@@ -3043,9 +3173,18 @@
|
|
|
3043
3173
|
"name": "doc_comments_reply",
|
|
3044
3174
|
"description": "Add a reply to an existing comment thread.",
|
|
3045
3175
|
"parameters": {
|
|
3046
|
-
"
|
|
3176
|
+
"type": "object",
|
|
3047
3177
|
"properties": {
|
|
3048
|
-
"
|
|
3178
|
+
"doc": {
|
|
3179
|
+
"type": "string"
|
|
3180
|
+
},
|
|
3181
|
+
"sessionId": {
|
|
3182
|
+
"type": "string"
|
|
3183
|
+
},
|
|
3184
|
+
"force": {
|
|
3185
|
+
"type": "boolean"
|
|
3186
|
+
},
|
|
3187
|
+
"parentId": {
|
|
3049
3188
|
"type": "string"
|
|
3050
3189
|
},
|
|
3051
3190
|
"text": {
|
|
@@ -3053,10 +3192,10 @@
|
|
|
3053
3192
|
}
|
|
3054
3193
|
},
|
|
3055
3194
|
"required": [
|
|
3056
|
-
"
|
|
3195
|
+
"parentId",
|
|
3057
3196
|
"text"
|
|
3058
3197
|
],
|
|
3059
|
-
"
|
|
3198
|
+
"additionalProperties": false
|
|
3060
3199
|
}
|
|
3061
3200
|
}
|
|
3062
3201
|
},
|
|
@@ -3066,50 +3205,65 @@
|
|
|
3066
3205
|
"name": "doc_comments_move",
|
|
3067
3206
|
"description": "Move a comment thread to a new anchor range.",
|
|
3068
3207
|
"parameters": {
|
|
3069
|
-
"
|
|
3208
|
+
"type": "object",
|
|
3070
3209
|
"properties": {
|
|
3071
|
-
"
|
|
3210
|
+
"doc": {
|
|
3211
|
+
"type": "string"
|
|
3212
|
+
},
|
|
3213
|
+
"sessionId": {
|
|
3214
|
+
"type": "string"
|
|
3215
|
+
},
|
|
3216
|
+
"force": {
|
|
3217
|
+
"type": "boolean"
|
|
3218
|
+
},
|
|
3219
|
+
"id": {
|
|
3072
3220
|
"type": "string"
|
|
3073
3221
|
},
|
|
3074
3222
|
"target": {
|
|
3075
|
-
"
|
|
3223
|
+
"type": "object",
|
|
3076
3224
|
"properties": {
|
|
3077
|
-
"blockId": {
|
|
3078
|
-
"type": "string"
|
|
3079
|
-
},
|
|
3080
3225
|
"kind": {
|
|
3081
3226
|
"const": "text"
|
|
3082
3227
|
},
|
|
3228
|
+
"blockId": {
|
|
3229
|
+
"type": "string"
|
|
3230
|
+
},
|
|
3083
3231
|
"range": {
|
|
3084
|
-
"
|
|
3232
|
+
"type": "object",
|
|
3085
3233
|
"properties": {
|
|
3086
|
-
"end": {
|
|
3087
|
-
"type": "integer"
|
|
3088
|
-
},
|
|
3089
3234
|
"start": {
|
|
3090
|
-
"type": "
|
|
3235
|
+
"type": "number"
|
|
3236
|
+
},
|
|
3237
|
+
"end": {
|
|
3238
|
+
"type": "number"
|
|
3091
3239
|
}
|
|
3092
3240
|
},
|
|
3093
3241
|
"required": [
|
|
3094
3242
|
"start",
|
|
3095
3243
|
"end"
|
|
3096
|
-
]
|
|
3097
|
-
"type": "object"
|
|
3244
|
+
]
|
|
3098
3245
|
}
|
|
3099
3246
|
},
|
|
3100
3247
|
"required": [
|
|
3101
3248
|
"kind",
|
|
3102
3249
|
"blockId",
|
|
3103
3250
|
"range"
|
|
3104
|
-
]
|
|
3105
|
-
|
|
3251
|
+
]
|
|
3252
|
+
},
|
|
3253
|
+
"blockId": {
|
|
3254
|
+
"type": "string"
|
|
3255
|
+
},
|
|
3256
|
+
"start": {
|
|
3257
|
+
"type": "number"
|
|
3258
|
+
},
|
|
3259
|
+
"end": {
|
|
3260
|
+
"type": "number"
|
|
3106
3261
|
}
|
|
3107
3262
|
},
|
|
3108
3263
|
"required": [
|
|
3109
|
-
"
|
|
3110
|
-
"target"
|
|
3264
|
+
"id"
|
|
3111
3265
|
],
|
|
3112
|
-
"
|
|
3266
|
+
"additionalProperties": false
|
|
3113
3267
|
}
|
|
3114
3268
|
}
|
|
3115
3269
|
},
|
|
@@ -3119,16 +3273,25 @@
|
|
|
3119
3273
|
"name": "doc_comments_resolve",
|
|
3120
3274
|
"description": "Resolve or unresolve a comment thread.",
|
|
3121
3275
|
"parameters": {
|
|
3122
|
-
"
|
|
3276
|
+
"type": "object",
|
|
3123
3277
|
"properties": {
|
|
3124
|
-
"
|
|
3278
|
+
"doc": {
|
|
3279
|
+
"type": "string"
|
|
3280
|
+
},
|
|
3281
|
+
"sessionId": {
|
|
3282
|
+
"type": "string"
|
|
3283
|
+
},
|
|
3284
|
+
"force": {
|
|
3285
|
+
"type": "boolean"
|
|
3286
|
+
},
|
|
3287
|
+
"id": {
|
|
3125
3288
|
"type": "string"
|
|
3126
3289
|
}
|
|
3127
3290
|
},
|
|
3128
3291
|
"required": [
|
|
3129
|
-
"
|
|
3292
|
+
"id"
|
|
3130
3293
|
],
|
|
3131
|
-
"
|
|
3294
|
+
"additionalProperties": false
|
|
3132
3295
|
}
|
|
3133
3296
|
}
|
|
3134
3297
|
},
|
|
@@ -3138,16 +3301,25 @@
|
|
|
3138
3301
|
"name": "doc_comments_remove",
|
|
3139
3302
|
"description": "Remove a comment or reply by ID.",
|
|
3140
3303
|
"parameters": {
|
|
3141
|
-
"
|
|
3304
|
+
"type": "object",
|
|
3142
3305
|
"properties": {
|
|
3143
|
-
"
|
|
3306
|
+
"doc": {
|
|
3307
|
+
"type": "string"
|
|
3308
|
+
},
|
|
3309
|
+
"sessionId": {
|
|
3310
|
+
"type": "string"
|
|
3311
|
+
},
|
|
3312
|
+
"force": {
|
|
3313
|
+
"type": "boolean"
|
|
3314
|
+
},
|
|
3315
|
+
"id": {
|
|
3144
3316
|
"type": "string"
|
|
3145
3317
|
}
|
|
3146
3318
|
},
|
|
3147
3319
|
"required": [
|
|
3148
|
-
"
|
|
3320
|
+
"id"
|
|
3149
3321
|
],
|
|
3150
|
-
"
|
|
3322
|
+
"additionalProperties": false
|
|
3151
3323
|
}
|
|
3152
3324
|
}
|
|
3153
3325
|
},
|
|
@@ -3157,9 +3329,18 @@
|
|
|
3157
3329
|
"name": "doc_comments_setInternal",
|
|
3158
3330
|
"description": "Toggle the internal (private) flag on a comment thread.",
|
|
3159
3331
|
"parameters": {
|
|
3160
|
-
"
|
|
3332
|
+
"type": "object",
|
|
3161
3333
|
"properties": {
|
|
3162
|
-
"
|
|
3334
|
+
"doc": {
|
|
3335
|
+
"type": "string"
|
|
3336
|
+
},
|
|
3337
|
+
"sessionId": {
|
|
3338
|
+
"type": "string"
|
|
3339
|
+
},
|
|
3340
|
+
"force": {
|
|
3341
|
+
"type": "boolean"
|
|
3342
|
+
},
|
|
3343
|
+
"id": {
|
|
3163
3344
|
"type": "string"
|
|
3164
3345
|
},
|
|
3165
3346
|
"isInternal": {
|
|
@@ -3167,10 +3348,10 @@
|
|
|
3167
3348
|
}
|
|
3168
3349
|
},
|
|
3169
3350
|
"required": [
|
|
3170
|
-
"
|
|
3351
|
+
"id",
|
|
3171
3352
|
"isInternal"
|
|
3172
3353
|
],
|
|
3173
|
-
"
|
|
3354
|
+
"additionalProperties": false
|
|
3174
3355
|
}
|
|
3175
3356
|
}
|
|
3176
3357
|
},
|
|
@@ -3180,19 +3361,28 @@
|
|
|
3180
3361
|
"name": "doc_comments_setActive",
|
|
3181
3362
|
"description": "Set the active (focused) comment thread for UI highlighting.",
|
|
3182
3363
|
"parameters": {
|
|
3183
|
-
"
|
|
3364
|
+
"type": "object",
|
|
3184
3365
|
"properties": {
|
|
3366
|
+
"doc": {
|
|
3367
|
+
"type": "string"
|
|
3368
|
+
},
|
|
3369
|
+
"sessionId": {
|
|
3370
|
+
"type": "string"
|
|
3371
|
+
},
|
|
3372
|
+
"force": {
|
|
3373
|
+
"type": "boolean"
|
|
3374
|
+
},
|
|
3185
3375
|
"commentId": {
|
|
3186
|
-
"type":
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3376
|
+
"type": "json"
|
|
3377
|
+
},
|
|
3378
|
+
"id": {
|
|
3379
|
+
"type": "string"
|
|
3380
|
+
},
|
|
3381
|
+
"clear": {
|
|
3382
|
+
"type": "boolean"
|
|
3190
3383
|
}
|
|
3191
3384
|
},
|
|
3192
|
-
"
|
|
3193
|
-
"commentId"
|
|
3194
|
-
],
|
|
3195
|
-
"type": "object"
|
|
3385
|
+
"additionalProperties": false
|
|
3196
3386
|
}
|
|
3197
3387
|
}
|
|
3198
3388
|
},
|
|
@@ -3202,16 +3392,22 @@
|
|
|
3202
3392
|
"name": "doc_comments_goTo",
|
|
3203
3393
|
"description": "Scroll the viewport to a comment thread by ID.",
|
|
3204
3394
|
"parameters": {
|
|
3205
|
-
"
|
|
3395
|
+
"type": "object",
|
|
3206
3396
|
"properties": {
|
|
3207
|
-
"
|
|
3397
|
+
"doc": {
|
|
3398
|
+
"type": "string"
|
|
3399
|
+
},
|
|
3400
|
+
"sessionId": {
|
|
3401
|
+
"type": "string"
|
|
3402
|
+
},
|
|
3403
|
+
"id": {
|
|
3208
3404
|
"type": "string"
|
|
3209
3405
|
}
|
|
3210
3406
|
},
|
|
3211
3407
|
"required": [
|
|
3212
|
-
"
|
|
3408
|
+
"id"
|
|
3213
3409
|
],
|
|
3214
|
-
"
|
|
3410
|
+
"additionalProperties": false
|
|
3215
3411
|
}
|
|
3216
3412
|
}
|
|
3217
3413
|
},
|
|
@@ -3221,16 +3417,22 @@
|
|
|
3221
3417
|
"name": "doc_comments_get",
|
|
3222
3418
|
"description": "Retrieve a single comment thread by ID.",
|
|
3223
3419
|
"parameters": {
|
|
3224
|
-
"
|
|
3420
|
+
"type": "object",
|
|
3225
3421
|
"properties": {
|
|
3226
|
-
"
|
|
3422
|
+
"doc": {
|
|
3423
|
+
"type": "string"
|
|
3424
|
+
},
|
|
3425
|
+
"sessionId": {
|
|
3426
|
+
"type": "string"
|
|
3427
|
+
},
|
|
3428
|
+
"id": {
|
|
3227
3429
|
"type": "string"
|
|
3228
3430
|
}
|
|
3229
3431
|
},
|
|
3230
3432
|
"required": [
|
|
3231
|
-
"
|
|
3433
|
+
"id"
|
|
3232
3434
|
],
|
|
3233
|
-
"
|
|
3435
|
+
"additionalProperties": false
|
|
3234
3436
|
}
|
|
3235
3437
|
}
|
|
3236
3438
|
},
|
|
@@ -3240,13 +3442,19 @@
|
|
|
3240
3442
|
"name": "doc_comments_list",
|
|
3241
3443
|
"description": "List all comment threads in the document.",
|
|
3242
3444
|
"parameters": {
|
|
3243
|
-
"
|
|
3445
|
+
"type": "object",
|
|
3244
3446
|
"properties": {
|
|
3447
|
+
"doc": {
|
|
3448
|
+
"type": "string"
|
|
3449
|
+
},
|
|
3450
|
+
"sessionId": {
|
|
3451
|
+
"type": "string"
|
|
3452
|
+
},
|
|
3245
3453
|
"includeResolved": {
|
|
3246
3454
|
"type": "boolean"
|
|
3247
3455
|
}
|
|
3248
3456
|
},
|
|
3249
|
-
"
|
|
3457
|
+
"additionalProperties": false
|
|
3250
3458
|
}
|
|
3251
3459
|
}
|
|
3252
3460
|
},
|
|
@@ -3256,23 +3464,25 @@
|
|
|
3256
3464
|
"name": "doc_trackChanges_list",
|
|
3257
3465
|
"description": "List all tracked changes in the document.",
|
|
3258
3466
|
"parameters": {
|
|
3259
|
-
"
|
|
3467
|
+
"type": "object",
|
|
3260
3468
|
"properties": {
|
|
3469
|
+
"doc": {
|
|
3470
|
+
"type": "string"
|
|
3471
|
+
},
|
|
3472
|
+
"sessionId": {
|
|
3473
|
+
"type": "string"
|
|
3474
|
+
},
|
|
3261
3475
|
"limit": {
|
|
3262
|
-
"type": "
|
|
3476
|
+
"type": "number"
|
|
3263
3477
|
},
|
|
3264
3478
|
"offset": {
|
|
3265
|
-
"type": "
|
|
3479
|
+
"type": "number"
|
|
3266
3480
|
},
|
|
3267
3481
|
"type": {
|
|
3268
|
-
"
|
|
3269
|
-
"insert",
|
|
3270
|
-
"delete",
|
|
3271
|
-
"format"
|
|
3272
|
-
]
|
|
3482
|
+
"type": "string"
|
|
3273
3483
|
}
|
|
3274
3484
|
},
|
|
3275
|
-
"
|
|
3485
|
+
"additionalProperties": false
|
|
3276
3486
|
}
|
|
3277
3487
|
}
|
|
3278
3488
|
},
|
|
@@ -3282,8 +3492,14 @@
|
|
|
3282
3492
|
"name": "doc_trackChanges_get",
|
|
3283
3493
|
"description": "Retrieve a single tracked change by ID.",
|
|
3284
3494
|
"parameters": {
|
|
3285
|
-
"
|
|
3495
|
+
"type": "object",
|
|
3286
3496
|
"properties": {
|
|
3497
|
+
"doc": {
|
|
3498
|
+
"type": "string"
|
|
3499
|
+
},
|
|
3500
|
+
"sessionId": {
|
|
3501
|
+
"type": "string"
|
|
3502
|
+
},
|
|
3287
3503
|
"id": {
|
|
3288
3504
|
"type": "string"
|
|
3289
3505
|
}
|
|
@@ -3291,7 +3507,7 @@
|
|
|
3291
3507
|
"required": [
|
|
3292
3508
|
"id"
|
|
3293
3509
|
],
|
|
3294
|
-
"
|
|
3510
|
+
"additionalProperties": false
|
|
3295
3511
|
}
|
|
3296
3512
|
}
|
|
3297
3513
|
},
|
|
@@ -3301,8 +3517,17 @@
|
|
|
3301
3517
|
"name": "doc_trackChanges_accept",
|
|
3302
3518
|
"description": "Accept a tracked change, applying it permanently.",
|
|
3303
3519
|
"parameters": {
|
|
3304
|
-
"
|
|
3520
|
+
"type": "object",
|
|
3305
3521
|
"properties": {
|
|
3522
|
+
"doc": {
|
|
3523
|
+
"type": "string"
|
|
3524
|
+
},
|
|
3525
|
+
"sessionId": {
|
|
3526
|
+
"type": "string"
|
|
3527
|
+
},
|
|
3528
|
+
"force": {
|
|
3529
|
+
"type": "boolean"
|
|
3530
|
+
},
|
|
3306
3531
|
"id": {
|
|
3307
3532
|
"type": "string"
|
|
3308
3533
|
}
|
|
@@ -3310,7 +3535,7 @@
|
|
|
3310
3535
|
"required": [
|
|
3311
3536
|
"id"
|
|
3312
3537
|
],
|
|
3313
|
-
"
|
|
3538
|
+
"additionalProperties": false
|
|
3314
3539
|
}
|
|
3315
3540
|
}
|
|
3316
3541
|
},
|
|
@@ -3320,8 +3545,17 @@
|
|
|
3320
3545
|
"name": "doc_trackChanges_reject",
|
|
3321
3546
|
"description": "Reject a tracked change, reverting it.",
|
|
3322
3547
|
"parameters": {
|
|
3323
|
-
"
|
|
3548
|
+
"type": "object",
|
|
3324
3549
|
"properties": {
|
|
3550
|
+
"doc": {
|
|
3551
|
+
"type": "string"
|
|
3552
|
+
},
|
|
3553
|
+
"sessionId": {
|
|
3554
|
+
"type": "string"
|
|
3555
|
+
},
|
|
3556
|
+
"force": {
|
|
3557
|
+
"type": "boolean"
|
|
3558
|
+
},
|
|
3325
3559
|
"id": {
|
|
3326
3560
|
"type": "string"
|
|
3327
3561
|
}
|
|
@@ -3329,7 +3563,7 @@
|
|
|
3329
3563
|
"required": [
|
|
3330
3564
|
"id"
|
|
3331
3565
|
],
|
|
3332
|
-
"
|
|
3566
|
+
"additionalProperties": false
|
|
3333
3567
|
}
|
|
3334
3568
|
}
|
|
3335
3569
|
},
|
|
@@ -3339,9 +3573,19 @@
|
|
|
3339
3573
|
"name": "doc_trackChanges_acceptAll",
|
|
3340
3574
|
"description": "Accept all tracked changes in the document.",
|
|
3341
3575
|
"parameters": {
|
|
3342
|
-
"
|
|
3343
|
-
"properties": {
|
|
3344
|
-
|
|
3576
|
+
"type": "object",
|
|
3577
|
+
"properties": {
|
|
3578
|
+
"doc": {
|
|
3579
|
+
"type": "string"
|
|
3580
|
+
},
|
|
3581
|
+
"sessionId": {
|
|
3582
|
+
"type": "string"
|
|
3583
|
+
},
|
|
3584
|
+
"force": {
|
|
3585
|
+
"type": "boolean"
|
|
3586
|
+
}
|
|
3587
|
+
},
|
|
3588
|
+
"additionalProperties": false
|
|
3345
3589
|
}
|
|
3346
3590
|
}
|
|
3347
3591
|
},
|
|
@@ -3351,9 +3595,19 @@
|
|
|
3351
3595
|
"name": "doc_trackChanges_rejectAll",
|
|
3352
3596
|
"description": "Reject all tracked changes in the document.",
|
|
3353
3597
|
"parameters": {
|
|
3354
|
-
"
|
|
3355
|
-
"properties": {
|
|
3356
|
-
|
|
3598
|
+
"type": "object",
|
|
3599
|
+
"properties": {
|
|
3600
|
+
"doc": {
|
|
3601
|
+
"type": "string"
|
|
3602
|
+
},
|
|
3603
|
+
"sessionId": {
|
|
3604
|
+
"type": "string"
|
|
3605
|
+
},
|
|
3606
|
+
"force": {
|
|
3607
|
+
"type": "boolean"
|
|
3608
|
+
}
|
|
3609
|
+
},
|
|
3610
|
+
"additionalProperties": false
|
|
3357
3611
|
}
|
|
3358
3612
|
}
|
|
3359
3613
|
},
|