@opentabs-dev/opentabs-plugin-airtable 0.0.81 → 0.0.83
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/tools.json
ADDED
|
@@ -0,0 +1,654 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sdkVersion": "0.0.82",
|
|
3
|
+
"iconSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.992 1.966c-.434 0-.87.086-1.28.257L1.779 5.917c-.503.208-.49.908.012 1.116l8.982 3.558a3.266 3.266 0 0 0 2.454 0l8.982-3.558c.503-.196.503-.908.012-1.116l-8.957-3.694a3.255 3.255 0 0 0-1.272-.257zM23.4 8.056a.589.589 0 0 0-.222.045l-10.012 3.877a.612.612 0 0 0-.38.564v8.896a.6.6 0 0 0 .821.552L23.62 18.1a.583.583 0 0 0 .38-.551V8.653a.6.6 0 0 0-.6-.596zM.676 8.095a.644.644 0 0 0-.48.19C.086 8.396 0 8.53 0 8.69v8.355c0 .442.515.737.908.54l6.27-3.006.307-.147 2.969-1.436c.466-.22.43-.908-.061-1.092L.883 8.138a.57.57 0 0 0-.207-.044z\" fill=\"#18BFFF\"/></svg>",
|
|
4
|
+
"iconInactiveSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.992 1.966c-.434 0-.87.086-1.28.257L1.779 5.917c-.503.208-.49.908.012 1.116l8.982 3.558a3.266 3.266 0 0 0 2.454 0l8.982-3.558c.503-.196.503-.908.012-1.116l-8.957-3.694a3.255 3.255 0 0 0-1.272-.257zM23.4 8.056a.589.589 0 0 0-.222.045l-10.012 3.877a.612.612 0 0 0-.38.564v8.896a.6.6 0 0 0 .821.552L23.62 18.1a.583.583 0 0 0 .38-.551V8.653a.6.6 0 0 0-.6-.596zM.676 8.095a.644.644 0 0 0-.48.19C.086 8.396 0 8.53 0 8.69v8.355c0 .442.515.737.908.54l6.27-3.006.307-.147 2.969-1.436c.466-.22.43-.908-.061-1.092L.883 8.138a.57.57 0 0 0-.207-.044z\" fill=\"#a0a0a0\"/></svg>",
|
|
5
|
+
"iconDarkSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.992 1.966c-.434 0-.87.086-1.28.257L1.779 5.917c-.503.208-.49.908.012 1.116l8.982 3.558a3.266 3.266 0 0 0 2.454 0l8.982-3.558c.503-.196.503-.908.012-1.116l-8.957-3.694a3.255 3.255 0 0 0-1.272-.257zM23.4 8.056a.589.589 0 0 0-.222.045l-10.012 3.877a.612.612 0 0 0-.38.564v8.896a.6.6 0 0 0 .821.552L23.62 18.1a.583.583 0 0 0 .38-.551V8.653a.6.6 0 0 0-.6-.596zM.676 8.095a.644.644 0 0 0-.48.19C.086 8.396 0 8.53 0 8.69v8.355c0 .442.515.737.908.54l6.27-3.006.307-.147 2.969-1.436c.466-.22.43-.908-.061-1.092L.883 8.138a.57.57 0 0 0-.207-.044z\" fill=\"#18BFFF\"/></svg>",
|
|
6
|
+
"iconDarkInactiveSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.992 1.966c-.434 0-.87.086-1.28.257L1.779 5.917c-.503.208-.49.908.012 1.116l8.982 3.558a3.266 3.266 0 0 0 2.454 0l8.982-3.558c.503-.196.503-.908.012-1.116l-8.957-3.694a3.255 3.255 0 0 0-1.272-.257zM23.4 8.056a.589.589 0 0 0-.222.045l-10.012 3.877a.612.612 0 0 0-.38.564v8.896a.6.6 0 0 0 .821.552L23.62 18.1a.583.583 0 0 0 .38-.551V8.653a.6.6 0 0 0-.6-.596zM.676 8.095a.644.644 0 0 0-.48.19C.086 8.396 0 8.53 0 8.69v8.355c0 .442.515.737.908.54l6.27-3.006.307-.147 2.969-1.436c.466-.22.43-.908-.061-1.092L.883 8.138a.57.57 0 0 0-.207-.044z\" fill=\"#a0a0a0\"/></svg>",
|
|
7
|
+
"tools": [
|
|
8
|
+
{
|
|
9
|
+
"name": "list_workspaces",
|
|
10
|
+
"displayName": "List Workspaces",
|
|
11
|
+
"description": "List all workspaces and bases the current user has access to. Returns workspace metadata with nested base (application) information.",
|
|
12
|
+
"summary": "List all workspaces and their bases",
|
|
13
|
+
"icon": "layout-grid",
|
|
14
|
+
"group": "Workspaces",
|
|
15
|
+
"input_schema": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {},
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
},
|
|
20
|
+
"output_schema": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"workspaces": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"properties": {
|
|
28
|
+
"id": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "Workspace ID (wsp prefix)"
|
|
31
|
+
},
|
|
32
|
+
"name": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "Workspace name"
|
|
35
|
+
},
|
|
36
|
+
"permission_level": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "Current user permission level (e.g., owner, editor, commenter, read)"
|
|
39
|
+
},
|
|
40
|
+
"base_count": {
|
|
41
|
+
"type": "integer",
|
|
42
|
+
"minimum": -9007199254740991,
|
|
43
|
+
"maximum": 9007199254740991,
|
|
44
|
+
"description": "Number of bases in this workspace"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"required": [
|
|
48
|
+
"id",
|
|
49
|
+
"name",
|
|
50
|
+
"permission_level",
|
|
51
|
+
"base_count"
|
|
52
|
+
],
|
|
53
|
+
"additionalProperties": false
|
|
54
|
+
},
|
|
55
|
+
"description": "All accessible workspaces"
|
|
56
|
+
},
|
|
57
|
+
"bases": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"properties": {
|
|
62
|
+
"id": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"description": "Base ID (app prefix)"
|
|
65
|
+
},
|
|
66
|
+
"name": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "Base name"
|
|
69
|
+
},
|
|
70
|
+
"color": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"description": "Base color in the sidebar"
|
|
73
|
+
},
|
|
74
|
+
"permission_level": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"description": "Current user effective permission level"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": [
|
|
80
|
+
"id",
|
|
81
|
+
"name",
|
|
82
|
+
"color",
|
|
83
|
+
"permission_level"
|
|
84
|
+
],
|
|
85
|
+
"additionalProperties": false
|
|
86
|
+
},
|
|
87
|
+
"description": "All accessible bases across all workspaces"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"required": [
|
|
91
|
+
"workspaces",
|
|
92
|
+
"bases"
|
|
93
|
+
],
|
|
94
|
+
"additionalProperties": false
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "get_base_schema",
|
|
99
|
+
"displayName": "Get Base Schema",
|
|
100
|
+
"description": "Get the full schema of an Airtable base including all tables, fields (columns), and views. Use this to understand the structure before reading or writing records.",
|
|
101
|
+
"summary": "Get all tables, fields, and views in a base",
|
|
102
|
+
"icon": "database",
|
|
103
|
+
"group": "Bases",
|
|
104
|
+
"input_schema": {
|
|
105
|
+
"type": "object",
|
|
106
|
+
"properties": {
|
|
107
|
+
"base_id": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "Base ID (app prefix, e.g., \"appCJ2w2lRQp9Vxm0\")"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": [
|
|
113
|
+
"base_id"
|
|
114
|
+
],
|
|
115
|
+
"additionalProperties": false
|
|
116
|
+
},
|
|
117
|
+
"output_schema": {
|
|
118
|
+
"type": "object",
|
|
119
|
+
"properties": {
|
|
120
|
+
"tables": {
|
|
121
|
+
"type": "array",
|
|
122
|
+
"items": {
|
|
123
|
+
"type": "object",
|
|
124
|
+
"properties": {
|
|
125
|
+
"id": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"description": "Table ID (tbl prefix)"
|
|
128
|
+
},
|
|
129
|
+
"name": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"description": "Table name"
|
|
132
|
+
},
|
|
133
|
+
"fields": {
|
|
134
|
+
"type": "array",
|
|
135
|
+
"items": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"properties": {
|
|
138
|
+
"id": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"description": "Field/column ID (fld prefix)"
|
|
141
|
+
},
|
|
142
|
+
"name": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"description": "Field name"
|
|
145
|
+
},
|
|
146
|
+
"type": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"description": "Field type (text, multilineText, select, collaborator, multipleAttachment, number, etc.)"
|
|
149
|
+
},
|
|
150
|
+
"description": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"description": "Field description if set"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"required": [
|
|
156
|
+
"id",
|
|
157
|
+
"name",
|
|
158
|
+
"type",
|
|
159
|
+
"description"
|
|
160
|
+
],
|
|
161
|
+
"additionalProperties": false
|
|
162
|
+
},
|
|
163
|
+
"description": "Columns/fields in this table"
|
|
164
|
+
},
|
|
165
|
+
"views": {
|
|
166
|
+
"type": "array",
|
|
167
|
+
"items": {
|
|
168
|
+
"type": "object",
|
|
169
|
+
"properties": {
|
|
170
|
+
"id": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"description": "View ID (viw prefix)"
|
|
173
|
+
},
|
|
174
|
+
"name": {
|
|
175
|
+
"type": "string",
|
|
176
|
+
"description": "View name"
|
|
177
|
+
},
|
|
178
|
+
"type": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"description": "View type (grid, form, kanban, calendar, gallery, gantt, timeline)"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"required": [
|
|
184
|
+
"id",
|
|
185
|
+
"name",
|
|
186
|
+
"type"
|
|
187
|
+
],
|
|
188
|
+
"additionalProperties": false
|
|
189
|
+
},
|
|
190
|
+
"description": "Views available for this table"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"required": [
|
|
194
|
+
"id",
|
|
195
|
+
"name",
|
|
196
|
+
"fields",
|
|
197
|
+
"views"
|
|
198
|
+
],
|
|
199
|
+
"additionalProperties": false
|
|
200
|
+
},
|
|
201
|
+
"description": "All tables in the base with their fields and views"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"required": [
|
|
205
|
+
"tables"
|
|
206
|
+
],
|
|
207
|
+
"additionalProperties": false
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "list_records",
|
|
212
|
+
"displayName": "List Records",
|
|
213
|
+
"description": "List all records (rows) in a table. Returns record IDs, creation times, and cell values keyed by field ID. Use get_base_schema first to learn the field IDs and their types.",
|
|
214
|
+
"summary": "List all records in a table",
|
|
215
|
+
"icon": "table",
|
|
216
|
+
"group": "Records",
|
|
217
|
+
"input_schema": {
|
|
218
|
+
"type": "object",
|
|
219
|
+
"properties": {
|
|
220
|
+
"base_id": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"description": "Base ID (app prefix)"
|
|
223
|
+
},
|
|
224
|
+
"table_id": {
|
|
225
|
+
"type": "string",
|
|
226
|
+
"description": "Table ID (tbl prefix)"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"required": [
|
|
230
|
+
"base_id",
|
|
231
|
+
"table_id"
|
|
232
|
+
],
|
|
233
|
+
"additionalProperties": false
|
|
234
|
+
},
|
|
235
|
+
"output_schema": {
|
|
236
|
+
"type": "object",
|
|
237
|
+
"properties": {
|
|
238
|
+
"records": {
|
|
239
|
+
"type": "array",
|
|
240
|
+
"items": {
|
|
241
|
+
"type": "object",
|
|
242
|
+
"properties": {
|
|
243
|
+
"id": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"description": "Record ID (rec prefix)"
|
|
246
|
+
},
|
|
247
|
+
"created_time": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"description": "ISO 8601 creation timestamp"
|
|
250
|
+
},
|
|
251
|
+
"cell_values": {
|
|
252
|
+
"type": "object",
|
|
253
|
+
"propertyNames": {
|
|
254
|
+
"type": "string"
|
|
255
|
+
},
|
|
256
|
+
"additionalProperties": {},
|
|
257
|
+
"description": "Cell values keyed by field ID — values vary by field type"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"required": [
|
|
261
|
+
"id",
|
|
262
|
+
"created_time",
|
|
263
|
+
"cell_values"
|
|
264
|
+
],
|
|
265
|
+
"additionalProperties": false
|
|
266
|
+
},
|
|
267
|
+
"description": "All records in the table"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"required": [
|
|
271
|
+
"records"
|
|
272
|
+
],
|
|
273
|
+
"additionalProperties": false
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "get_record",
|
|
278
|
+
"displayName": "Get Record",
|
|
279
|
+
"description": "Get a single record (row) by its ID. Returns all cell values for the record.",
|
|
280
|
+
"summary": "Get a single record by ID",
|
|
281
|
+
"icon": "file-text",
|
|
282
|
+
"group": "Records",
|
|
283
|
+
"input_schema": {
|
|
284
|
+
"type": "object",
|
|
285
|
+
"properties": {
|
|
286
|
+
"base_id": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"description": "Base ID (app prefix)"
|
|
289
|
+
},
|
|
290
|
+
"table_id": {
|
|
291
|
+
"type": "string",
|
|
292
|
+
"description": "Table ID (tbl prefix)"
|
|
293
|
+
},
|
|
294
|
+
"record_id": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"description": "Record ID (rec prefix)"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"required": [
|
|
300
|
+
"base_id",
|
|
301
|
+
"table_id",
|
|
302
|
+
"record_id"
|
|
303
|
+
],
|
|
304
|
+
"additionalProperties": false
|
|
305
|
+
},
|
|
306
|
+
"output_schema": {
|
|
307
|
+
"type": "object",
|
|
308
|
+
"properties": {
|
|
309
|
+
"record": {
|
|
310
|
+
"type": "object",
|
|
311
|
+
"properties": {
|
|
312
|
+
"id": {
|
|
313
|
+
"type": "string",
|
|
314
|
+
"description": "Record ID (rec prefix)"
|
|
315
|
+
},
|
|
316
|
+
"created_time": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"description": "ISO 8601 creation timestamp"
|
|
319
|
+
},
|
|
320
|
+
"cell_values": {
|
|
321
|
+
"type": "object",
|
|
322
|
+
"propertyNames": {
|
|
323
|
+
"type": "string"
|
|
324
|
+
},
|
|
325
|
+
"additionalProperties": {},
|
|
326
|
+
"description": "Cell values keyed by field ID — values vary by field type"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"required": [
|
|
330
|
+
"id",
|
|
331
|
+
"created_time",
|
|
332
|
+
"cell_values"
|
|
333
|
+
],
|
|
334
|
+
"additionalProperties": false,
|
|
335
|
+
"description": "The requested record"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"required": [
|
|
339
|
+
"record"
|
|
340
|
+
],
|
|
341
|
+
"additionalProperties": false
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"name": "update_cell",
|
|
346
|
+
"displayName": "Update Cell",
|
|
347
|
+
"description": "Update a single cell value in a record. The value format depends on the field type: text fields accept strings, number fields accept numbers, select fields accept an object like {\"id\": \"selXxx\"}, and so on. Use get_base_schema to discover field IDs and types.",
|
|
348
|
+
"summary": "Update a single cell value in a record",
|
|
349
|
+
"icon": "pencil",
|
|
350
|
+
"group": "Records",
|
|
351
|
+
"input_schema": {
|
|
352
|
+
"type": "object",
|
|
353
|
+
"properties": {
|
|
354
|
+
"base_id": {
|
|
355
|
+
"type": "string",
|
|
356
|
+
"description": "Base ID (app prefix)"
|
|
357
|
+
},
|
|
358
|
+
"table_id": {
|
|
359
|
+
"type": "string",
|
|
360
|
+
"description": "Table ID (tbl prefix)"
|
|
361
|
+
},
|
|
362
|
+
"record_id": {
|
|
363
|
+
"type": "string",
|
|
364
|
+
"description": "Record ID (rec prefix)"
|
|
365
|
+
},
|
|
366
|
+
"field_id": {
|
|
367
|
+
"type": "string",
|
|
368
|
+
"description": "Field/column ID (fld prefix)"
|
|
369
|
+
},
|
|
370
|
+
"value": {
|
|
371
|
+
"anyOf": [
|
|
372
|
+
{
|
|
373
|
+
"type": "string"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"type": "number"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"type": "boolean"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"type": "null"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"type": "object",
|
|
386
|
+
"propertyNames": {
|
|
387
|
+
"type": "string"
|
|
388
|
+
},
|
|
389
|
+
"additionalProperties": {}
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"type": "array",
|
|
393
|
+
"items": {}
|
|
394
|
+
}
|
|
395
|
+
],
|
|
396
|
+
"description": "New cell value — type depends on the field type"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"required": [
|
|
400
|
+
"base_id",
|
|
401
|
+
"table_id",
|
|
402
|
+
"record_id",
|
|
403
|
+
"field_id",
|
|
404
|
+
"value"
|
|
405
|
+
],
|
|
406
|
+
"additionalProperties": false
|
|
407
|
+
},
|
|
408
|
+
"output_schema": {
|
|
409
|
+
"type": "object",
|
|
410
|
+
"properties": {
|
|
411
|
+
"success": {
|
|
412
|
+
"type": "boolean",
|
|
413
|
+
"description": "Whether the update succeeded"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"required": [
|
|
417
|
+
"success"
|
|
418
|
+
],
|
|
419
|
+
"additionalProperties": false
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"name": "get_record_activity",
|
|
424
|
+
"displayName": "Get Record Activity",
|
|
425
|
+
"description": "Get the activity history and comments for a record. Returns a chronological list of changes (cell updates, record creation, comments, etc.) with user attribution.",
|
|
426
|
+
"summary": "Get activity history and comments for a record",
|
|
427
|
+
"icon": "history",
|
|
428
|
+
"group": "Records",
|
|
429
|
+
"input_schema": {
|
|
430
|
+
"type": "object",
|
|
431
|
+
"properties": {
|
|
432
|
+
"base_id": {
|
|
433
|
+
"type": "string",
|
|
434
|
+
"description": "Base ID (app prefix)"
|
|
435
|
+
},
|
|
436
|
+
"table_id": {
|
|
437
|
+
"type": "string",
|
|
438
|
+
"description": "Table ID (tbl prefix)"
|
|
439
|
+
},
|
|
440
|
+
"record_id": {
|
|
441
|
+
"type": "string",
|
|
442
|
+
"description": "Record ID (rec prefix)"
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
"required": [
|
|
446
|
+
"base_id",
|
|
447
|
+
"table_id",
|
|
448
|
+
"record_id"
|
|
449
|
+
],
|
|
450
|
+
"additionalProperties": false
|
|
451
|
+
},
|
|
452
|
+
"output_schema": {
|
|
453
|
+
"type": "object",
|
|
454
|
+
"properties": {
|
|
455
|
+
"activities": {
|
|
456
|
+
"type": "array",
|
|
457
|
+
"items": {
|
|
458
|
+
"type": "object",
|
|
459
|
+
"properties": {
|
|
460
|
+
"id": {
|
|
461
|
+
"type": "string",
|
|
462
|
+
"description": "Activity ID"
|
|
463
|
+
},
|
|
464
|
+
"type": {
|
|
465
|
+
"type": "string",
|
|
466
|
+
"description": "Activity type (e.g., cellUpdate, rowCreated)"
|
|
467
|
+
},
|
|
468
|
+
"user_id": {
|
|
469
|
+
"type": "string",
|
|
470
|
+
"description": "User ID who performed the action"
|
|
471
|
+
},
|
|
472
|
+
"user_name": {
|
|
473
|
+
"type": "string",
|
|
474
|
+
"description": "User display name"
|
|
475
|
+
},
|
|
476
|
+
"timestamp": {
|
|
477
|
+
"type": "string",
|
|
478
|
+
"description": "ISO 8601 timestamp"
|
|
479
|
+
},
|
|
480
|
+
"description": {
|
|
481
|
+
"type": "string",
|
|
482
|
+
"description": "Human-readable description of the change"
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
"required": [
|
|
486
|
+
"id",
|
|
487
|
+
"type",
|
|
488
|
+
"user_id",
|
|
489
|
+
"user_name",
|
|
490
|
+
"timestamp",
|
|
491
|
+
"description"
|
|
492
|
+
],
|
|
493
|
+
"additionalProperties": false
|
|
494
|
+
},
|
|
495
|
+
"description": "Activity history for the record"
|
|
496
|
+
},
|
|
497
|
+
"comments": {
|
|
498
|
+
"type": "array",
|
|
499
|
+
"items": {
|
|
500
|
+
"type": "object",
|
|
501
|
+
"properties": {
|
|
502
|
+
"id": {
|
|
503
|
+
"type": "string",
|
|
504
|
+
"description": "Comment ID"
|
|
505
|
+
},
|
|
506
|
+
"author_name": {
|
|
507
|
+
"type": "string",
|
|
508
|
+
"description": "Comment author name"
|
|
509
|
+
},
|
|
510
|
+
"text": {
|
|
511
|
+
"type": "string",
|
|
512
|
+
"description": "Comment text"
|
|
513
|
+
},
|
|
514
|
+
"created_time": {
|
|
515
|
+
"type": "string",
|
|
516
|
+
"description": "ISO 8601 creation timestamp"
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
"required": [
|
|
520
|
+
"id",
|
|
521
|
+
"author_name",
|
|
522
|
+
"text",
|
|
523
|
+
"created_time"
|
|
524
|
+
],
|
|
525
|
+
"additionalProperties": false
|
|
526
|
+
},
|
|
527
|
+
"description": "Comments on the record"
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
"required": [
|
|
531
|
+
"activities",
|
|
532
|
+
"comments"
|
|
533
|
+
],
|
|
534
|
+
"additionalProperties": false
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"name": "create_comment",
|
|
539
|
+
"displayName": "Create Comment",
|
|
540
|
+
"description": "Add a comment to a record. Comments are visible to all collaborators on the base.",
|
|
541
|
+
"summary": "Add a comment to a record",
|
|
542
|
+
"icon": "message-square",
|
|
543
|
+
"group": "Records",
|
|
544
|
+
"input_schema": {
|
|
545
|
+
"type": "object",
|
|
546
|
+
"properties": {
|
|
547
|
+
"base_id": {
|
|
548
|
+
"type": "string",
|
|
549
|
+
"description": "Base ID (app prefix)"
|
|
550
|
+
},
|
|
551
|
+
"table_id": {
|
|
552
|
+
"type": "string",
|
|
553
|
+
"description": "Table ID (tbl prefix)"
|
|
554
|
+
},
|
|
555
|
+
"record_id": {
|
|
556
|
+
"type": "string",
|
|
557
|
+
"description": "Record ID (rec prefix)"
|
|
558
|
+
},
|
|
559
|
+
"text": {
|
|
560
|
+
"type": "string",
|
|
561
|
+
"description": "Comment text"
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
"required": [
|
|
565
|
+
"base_id",
|
|
566
|
+
"table_id",
|
|
567
|
+
"record_id",
|
|
568
|
+
"text"
|
|
569
|
+
],
|
|
570
|
+
"additionalProperties": false
|
|
571
|
+
},
|
|
572
|
+
"output_schema": {
|
|
573
|
+
"type": "object",
|
|
574
|
+
"properties": {
|
|
575
|
+
"success": {
|
|
576
|
+
"type": "boolean",
|
|
577
|
+
"description": "Whether the comment was created"
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"required": [
|
|
581
|
+
"success"
|
|
582
|
+
],
|
|
583
|
+
"additionalProperties": false
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"name": "get_field_choices",
|
|
588
|
+
"displayName": "Get Field Choices",
|
|
589
|
+
"description": "Get the available choices for a single-select or multi-select field. Returns choice IDs, names, and colors. Use the choice ID (sel prefix) when setting cell values for select fields.",
|
|
590
|
+
"summary": "Get select/multi-select field choices",
|
|
591
|
+
"icon": "list",
|
|
592
|
+
"group": "Fields",
|
|
593
|
+
"input_schema": {
|
|
594
|
+
"type": "object",
|
|
595
|
+
"properties": {
|
|
596
|
+
"base_id": {
|
|
597
|
+
"type": "string",
|
|
598
|
+
"description": "Base ID (app prefix)"
|
|
599
|
+
},
|
|
600
|
+
"table_id": {
|
|
601
|
+
"type": "string",
|
|
602
|
+
"description": "Table ID (tbl prefix)"
|
|
603
|
+
},
|
|
604
|
+
"field_id": {
|
|
605
|
+
"type": "string",
|
|
606
|
+
"description": "Field/column ID (fld prefix) — must be a select or multiSelect type"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"required": [
|
|
610
|
+
"base_id",
|
|
611
|
+
"table_id",
|
|
612
|
+
"field_id"
|
|
613
|
+
],
|
|
614
|
+
"additionalProperties": false
|
|
615
|
+
},
|
|
616
|
+
"output_schema": {
|
|
617
|
+
"type": "object",
|
|
618
|
+
"properties": {
|
|
619
|
+
"choices": {
|
|
620
|
+
"type": "array",
|
|
621
|
+
"items": {
|
|
622
|
+
"type": "object",
|
|
623
|
+
"properties": {
|
|
624
|
+
"id": {
|
|
625
|
+
"type": "string",
|
|
626
|
+
"description": "Choice ID (sel prefix)"
|
|
627
|
+
},
|
|
628
|
+
"name": {
|
|
629
|
+
"type": "string",
|
|
630
|
+
"description": "Choice display name"
|
|
631
|
+
},
|
|
632
|
+
"color": {
|
|
633
|
+
"type": "string",
|
|
634
|
+
"description": "Choice color"
|
|
635
|
+
}
|
|
636
|
+
},
|
|
637
|
+
"required": [
|
|
638
|
+
"id",
|
|
639
|
+
"name",
|
|
640
|
+
"color"
|
|
641
|
+
],
|
|
642
|
+
"additionalProperties": false
|
|
643
|
+
},
|
|
644
|
+
"description": "Available choices for the field"
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
"required": [
|
|
648
|
+
"choices"
|
|
649
|
+
],
|
|
650
|
+
"additionalProperties": false
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
]
|
|
654
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentabs-dev/opentabs-plugin-airtable",
|
|
3
3
|
"description": "OpenTabs plugin for Airtable",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.83",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/adapter.iife.js",
|
|
7
7
|
"keywords": [
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"zod": "^4.0.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@opentabs-dev/plugin-sdk": "^0.0.
|
|
51
|
+
"@opentabs-dev/plugin-sdk": "^0.0.82"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@biomejs/biome": "2.4.6",
|
|
55
|
-
"@opentabs-dev/plugin-tools": "^0.0.
|
|
55
|
+
"@opentabs-dev/plugin-tools": "^0.0.82",
|
|
56
56
|
"jiti": "^2.6.1",
|
|
57
57
|
"typescript": "^5.9.3",
|
|
58
58
|
"zod": "^4.3.6"
|