{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","properties":{"path":{"type":"object","properties":{"database_id":{"type":"string","minLength":1,"maxLength":2000}},"required":["database_id"],"additionalProperties":false},"data":{"type":"object","properties":{"parent":{"allOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["page_id","workspace"],"maxLength":64000}},"maxProperties":100},{"oneOf":[{"type":"object","required":["type","page_id"],"properties":{"type":{"type":"string","const":"page_id","maxLength":64000},"page_id":{"$ref":"#/$defs/idRequest"}},"maxProperties":100},{"type":"object","required":["type","workspace"],"properties":{"type":{"type":"string","const":"workspace","maxLength":64000},"workspace":{"type":"boolean","const":true}},"maxProperties":100}]}]},"title":{"type":"array","maxItems":100,"items":{"$ref":"#/$defs/richTextItemRequest"}},"description":{"type":"array","maxItems":100,"items":{"$ref":"#/$defs/richTextItemRequest"}},"is_inline":{"type":"boolean"},"icon":{"$ref":"#/$defs/pageIconRequest"},"cover":{"$ref":"#/$defs/pageCoverRequest"},"in_trash":{"type":"boolean"},"is_locked":{"type":"boolean"},"show_data_source_title":{"type":"boolean"}},"maxProperties":100}},"required":["path","data"],"additionalProperties":false,"$defs":{"idRequest":{"type":"string","maxLength":64000},"richTextItemRequest":{"allOf":[{"$ref":"#/$defs/richTextItemRequestCommon"},{"oneOf":[{"$ref":"#/$defs/textRichTextItemRequest"},{"$ref":"#/$defs/mentionRichTextItemRequest"},{"$ref":"#/$defs/equationRichTextItemRequest"}]}]},"richTextItemRequestCommon":{"type":"object","properties":{"annotations":{"$ref":"#/$defs/annotationRequest"}},"maxProperties":100},"annotationRequest":{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"strikethrough":{"type":"boolean"},"underline":{"type":"boolean"},"code":{"type":"boolean"},"color":{"$ref":"#/$defs/apiColor"}},"maxProperties":100},"apiColor":{"type":"string","enum":["default","gray","brown","orange","yellow","green","blue","purple","pink","red","default_background","gray_background","brown_background","orange_background","yellow_background","green_background","blue_background","purple_background","pink_background","red_background"],"maxLength":64000},"textRichTextItemRequest":{"type":"object","required":["text"],"properties":{"type":{"type":"string","const":"text","maxLength":64000},"text":{"type":"object","required":["content"],"additionalProperties":false,"properties":{"content":{"type":"string","maxLength":2000},"link":{"oneOf":[{"type":"object","required":["url"],"properties":{"url":{"type":"string","maxLength":64000}},"maxProperties":100},{"type":"null"}]}},"maxProperties":100}},"maxProperties":100},"mentionRichTextItemRequest":{"type":"object","required":["mention"],"properties":{"type":{"type":"string","const":"mention","maxLength":64000},"mention":{"oneOf":[{"type":"object","required":["user"],"properties":{"type":{"type":"string","const":"user","maxLength":64000},"user":{"$ref":"#/$defs/partialUserObjectRequest"}},"maxProperties":100},{"type":"object","required":["date"],"properties":{"type":{"type":"string","const":"date","maxLength":64000},"date":{"$ref":"#/$defs/dateRequest"}},"maxProperties":100},{"type":"object","required":["page"],"properties":{"type":{"type":"string","const":"page","maxLength":64000},"page":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/$defs/idRequest"}},"maxProperties":100}},"maxProperties":100},{"type":"object","required":["database"],"properties":{"type":{"type":"string","const":"database","maxLength":64000},"database":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/$defs/idRequest"}},"maxProperties":100}},"maxProperties":100},{"type":"object","required":["template_mention"],"properties":{"type":{"type":"string","const":"template_mention","maxLength":64000},"template_mention":{"$ref":"#/$defs/templateMentionRequest"}},"maxProperties":100},{"type":"object","required":["custom_emoji"],"properties":{"type":{"type":"string","const":"custom_emoji","maxLength":64000},"custom_emoji":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/$defs/idRequest"},"name":{"type":"string","maxLength":64000},"url":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100}]}},"maxProperties":100},"partialUserObjectRequest":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/$defs/idRequest"},"object":{"type":"string","const":"user","maxLength":64000}},"maxProperties":100},"dateRequest":{"type":"object","required":["start"],"additionalProperties":false,"properties":{"start":{"type":"string","maxLength":64000},"end":{"oneOf":[{"type":"string","maxLength":64000},{"type":"null"}]},"time_zone":{"oneOf":[{"$ref":"#/$defs/timeZoneRequest"},{"type":"null"}]}},"maxProperties":100},"timeZoneRequest":{"type":"string","maxLength":64000},"templateMentionRequest":{"oneOf":[{"$ref":"#/$defs/templateMentionDateTemplateMentionRequest"},{"$ref":"#/$defs/templateMentionUserTemplateMentionRequest"}]},"templateMentionDateTemplateMentionRequest":{"type":"object","required":["template_mention_date"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"template_mention_date","maxLength":64000},"template_mention_date":{"type":"string","enum":["today","now"],"maxLength":64000}},"maxProperties":100},"templateMentionUserTemplateMentionRequest":{"type":"object","required":["template_mention_user"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"template_mention_user","maxLength":64000},"template_mention_user":{"type":"string","const":"me","maxLength":64000}},"maxProperties":100},"equationRichTextItemRequest":{"type":"object","required":["equation"],"properties":{"type":{"type":"string","const":"equation","maxLength":64000},"equation":{"type":"object","required":["expression"],"properties":{"expression":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100},"pageIconRequest":{"oneOf":[{"$ref":"#/$defs/fileUploadPageIconRequest"},{"$ref":"#/$defs/emojiPageIconRequest"},{"$ref":"#/$defs/externalPageIconRequest"},{"$ref":"#/$defs/customEmojiPageIconRequest"},{"$ref":"#/$defs/iconPageIconRequest"}]},"fileUploadPageIconRequest":{"type":"object","required":["file_upload"],"properties":{"type":{"type":"string","const":"file_upload","maxLength":64000},"file_upload":{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100},"emojiPageIconRequest":{"type":"object","required":["emoji"],"properties":{"type":{"type":"string","const":"emoji","maxLength":64000},"emoji":{"$ref":"#/$defs/emojiRequest"}},"maxProperties":100},"emojiRequest":{"type":"string","maxLength":64000},"externalPageIconRequest":{"type":"object","required":["external"],"properties":{"type":{"type":"string","const":"external","maxLength":64000},"external":{"type":"object","required":["url"],"properties":{"url":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100},"customEmojiPageIconRequest":{"type":"object","required":["custom_emoji"],"properties":{"type":{"type":"string","const":"custom_emoji","maxLength":64000},"custom_emoji":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/$defs/idRequest"},"name":{"type":"string","maxLength":64000},"url":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100},"iconPageIconRequest":{"type":"object","required":["icon"],"properties":{"type":{"type":"string","const":"icon","maxLength":64000},"icon":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/$defs/noticonName"},"color":{"$ref":"#/$defs/noticonColor"}},"maxProperties":100}},"maxProperties":100},"noticonName":{"type":"string","maxLength":64000},"noticonColor":{"type":"string","enum":["gray","lightgray","brown","yellow","orange","green","blue","purple","pink","red"],"maxLength":64000},"pageCoverRequest":{"oneOf":[{"$ref":"#/$defs/fileUploadPageCoverRequest"},{"$ref":"#/$defs/externalPageCoverRequest"}]},"fileUploadPageCoverRequest":{"type":"object","required":["file_upload"],"properties":{"type":{"type":"string","const":"file_upload","maxLength":64000},"file_upload":{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100},"externalPageCoverRequest":{"type":"object","required":["external"],"properties":{"type":{"type":"string","const":"external","maxLength":64000},"external":{"type":"object","required":["url"],"properties":{"url":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100}}},"name":"Update a database","id":"notion.api.update-database","example":{"path":{"database_id":"00000000-0000-0000-0000-000000000001"},"data":{}},"maxRequests":1,"summary":false}}