File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -697,6 +697,18 @@ const queryDatabaseTool: Tool = {
697
697
sorts : {
698
698
type : "array" ,
699
699
description : "Sort conditions" ,
700
+ items : {
701
+ type : "object" ,
702
+ properties : {
703
+ property : { type : "string" } ,
704
+ timestamp : { type : "string" } ,
705
+ direction : {
706
+ type : "string" ,
707
+ enum : [ "ascending" , "descending" ]
708
+ }
709
+ } ,
710
+ required : [ "direction" ]
711
+ }
700
712
} ,
701
713
start_cursor : {
702
714
type : "string" ,
@@ -749,6 +761,7 @@ const updateDatabaseTool: Tool = {
749
761
type : "array" ,
750
762
description :
751
763
"An array of rich text objects that represents the description of the database that is displayed in the Notion UI." ,
764
+ items : richTextObjectSchema ,
752
765
} ,
753
766
properties : {
754
767
type : "object" ,
You can’t perform that action at this time.
0 commit comments