You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Propose a patch to an existing card to change its contents. Any attributes specified will be fully replaced, return the minimum required to make the change. Ensure the description explains what change you are making',
276
-
parameters: {
277
-
type: 'object',
278
-
properties: {
279
-
description: {
280
-
type: 'string',
281
-
},
282
-
card_id: {
283
-
type: 'string',
284
-
const: `${testHost}/mango`,
285
-
},
286
-
attributes: {
287
-
type: 'object',
288
-
properties: {
289
-
firstName: {
290
-
type: 'string',
291
-
},
292
-
lastName: {
293
-
type: 'string',
294
-
},
295
-
email: {
296
-
type: 'string',
297
-
},
298
-
posts: {
299
-
type: 'number',
300
-
},
301
-
thumbnailURL: {
302
-
type: 'string',
273
+
type: 'function',
274
+
function: {
275
+
name: 'patchCard',
276
+
description:
277
+
'Propose a patch to an existing card to change its contents. Any attributes specified will be fully replaced, return the minimum required to make the change. Ensure the description explains what change you are making',
278
+
parameters: {
279
+
type: 'object',
280
+
properties: {
281
+
description: {
282
+
type: 'string',
283
+
},
284
+
card_id: {
285
+
type: 'string',
286
+
const: `${testHost}/mango`,
287
+
},
288
+
attributes: {
289
+
type: 'object',
290
+
properties: {
291
+
firstName: {
292
+
type: 'string',
293
+
},
294
+
lastName: {
295
+
type: 'string',
296
+
},
297
+
email: {
298
+
type: 'string',
299
+
},
300
+
posts: {
301
+
type: 'number',
302
+
},
303
+
thumbnailURL: {
304
+
type: 'string',
305
+
},
303
306
},
304
307
},
305
308
},
309
+
required: ['card_id','attributes','description'],
306
310
},
307
-
required: ['card_id','attributes','description'],
308
311
},
309
312
},
310
313
]);
311
314
});
312
315
313
-
test(`it does not include patch function in message event for an open card that is not attached`,async({
316
+
test(`it does not include patch tool in message event for an open card that is not attached`,async({
0 commit comments