We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 442eceb + 88e812e commit 98a1916Copy full SHA for 98a1916
notion/src/index.ts
@@ -697,6 +697,18 @@ const queryDatabaseTool: Tool = {
697
sorts: {
698
type: "array",
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
712
},
713
start_cursor: {
714
type: "string",
@@ -749,6 +761,7 @@ const updateDatabaseTool: Tool = {
749
761
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",
0 commit comments