{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","properties":{"path":{"type":"object","properties":{"page_id":{"type":"string","minLength":1,"maxLength":2000}},"required":["page_id"],"additionalProperties":false},"query":{"type":"object","properties":{"filter_properties":{"type":"array","items":{"type":"string","maxLength":64000},"maxItems":100}},"required":[],"additionalProperties":false},"data":{"type":"object","additionalProperties":false,"properties":{"properties":{"type":"object","additionalProperties":{"anyOf":[{"type":"object","required":["title"],"additionalProperties":false,"properties":{"title":{"type":"array","maxItems":100,"items":{"$ref":"#/$defs/richTextItemRequest"}},"type":{"type":"string","const":"title","maxLength":64000}},"maxProperties":100},{"type":"object","required":["rich_text"],"additionalProperties":false,"properties":{"rich_text":{"type":"array","maxItems":100,"items":{"$ref":"#/$defs/richTextItemRequest"}},"type":{"type":"string","const":"rich_text","maxLength":64000}},"maxProperties":100},{"type":"object","required":["number"],"additionalProperties":false,"properties":{"number":{"type":["number","null"]},"type":{"type":"string","const":"number","maxLength":64000}},"maxProperties":100},{"type":"object","required":["url"],"additionalProperties":false,"properties":{"url":{"anyOf":[{"$ref":"#/$defs/textRequest"},{"type":"null"}]},"type":{"type":"string","const":"url","maxLength":64000}},"maxProperties":100},{"type":"object","required":["select"],"additionalProperties":false,"properties":{"select":{"anyOf":[{"type":"object","required":["id"],"additionalProperties":false,"properties":{"id":{"$ref":"#/$defs/stringRequest"},"name":{"$ref":"#/$defs/textRequest"},"color":{"$ref":"#/$defs/selectColor"},"description":{"anyOf":[{"$ref":"#/$defs/textRequest"},{"type":"null"}]}},"maxProperties":100},{"type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"$ref":"#/$defs/textRequest"},"id":{"$ref":"#/$defs/stringRequest"},"color":{"$ref":"#/$defs/selectColor"},"description":{"anyOf":[{"$ref":"#/$defs/textRequest"},{"type":"null"}]}},"maxProperties":100},{"type":"null"}]},"type":{"type":"string","const":"select","maxLength":64000}},"maxProperties":100},{"type":"object","required":["multi_select"],"additionalProperties":false,"properties":{"multi_select":{"type":"array","maxItems":100,"items":{"anyOf":[{"type":"object","required":["id"],"additionalProperties":false,"properties":{"id":{"$ref":"#/$defs/stringRequest"},"name":{"$ref":"#/$defs/textRequest"},"color":{"$ref":"#/$defs/selectColor"},"description":{"anyOf":[{"$ref":"#/$defs/textRequest"},{"type":"null"}]}},"maxProperties":100},{"type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"$ref":"#/$defs/textRequest"},"id":{"$ref":"#/$defs/stringRequest"},"color":{"$ref":"#/$defs/selectColor"},"description":{"anyOf":[{"$ref":"#/$defs/textRequest"},{"type":"null"}]}},"maxProperties":100}]}},"type":{"type":"string","const":"multi_select","maxLength":64000}},"maxProperties":100},{"type":"object","required":["people"],"additionalProperties":false,"properties":{"people":{"type":"array","maxItems":100,"items":{"anyOf":[{"$ref":"#/$defs/partialUserObjectRequest"},{"$ref":"#/$defs/groupObjectRequest"}]}},"type":{"type":"string","const":"people","maxLength":64000}},"maxProperties":100},{"type":"object","required":["email"],"additionalProperties":false,"properties":{"email":{"anyOf":[{"$ref":"#/$defs/stringRequest"},{"type":"null"}]},"type":{"type":"string","const":"email","maxLength":64000}},"maxProperties":100},{"type":"object","required":["phone_number"],"additionalProperties":false,"properties":{"phone_number":{"anyOf":[{"$ref":"#/$defs/stringRequest"},{"type":"null"}]},"type":{"type":"string","const":"phone_number","maxLength":64000}},"maxProperties":100},{"type":"object","required":["date"],"additionalProperties":false,"properties":{"date":{"anyOf":[{"$ref":"#/$defs/dateRequest"},{"type":"null"}]},"type":{"type":"string","const":"date","maxLength":64000}},"maxProperties":100},{"type":"object","required":["checkbox"],"additionalProperties":false,"properties":{"checkbox":{"type":"boolean"},"type":{"type":"string","const":"checkbox","maxLength":64000}},"maxProperties":100},{"type":"object","required":["relation"],"additionalProperties":false,"properties":{"relation":{"type":"array","maxItems":100,"items":{"$ref":"#/$defs/relationItemPropertyValueResponse"}},"type":{"type":"string","const":"relation","maxLength":64000}},"maxProperties":100},{"type":"object","required":["files"],"additionalProperties":false,"properties":{"files":{"type":"array","maxItems":100,"items":{"anyOf":[{"$ref":"#/$defs/internalOrExternalFileWithNameRequest"},{"$ref":"#/$defs/fileUploadWithOptionalNameRequest"}]}},"type":{"type":"string","const":"files","maxLength":64000}},"maxProperties":100},{"type":"object","required":["status"],"additionalProperties":false,"properties":{"status":{"anyOf":[{"type":"object","required":["id"],"additionalProperties":false,"properties":{"id":{"$ref":"#/$defs/stringRequest"},"name":{"$ref":"#/$defs/textRequest"},"color":{"$ref":"#/$defs/selectColor"},"description":{"anyOf":[{"$ref":"#/$defs/textRequest"},{"type":"null"}]}},"maxProperties":100},{"type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"$ref":"#/$defs/textRequest"},"id":{"$ref":"#/$defs/stringRequest"},"color":{"$ref":"#/$defs/selectColor"},"description":{"anyOf":[{"$ref":"#/$defs/textRequest"},{"type":"null"}]}},"maxProperties":100},{"type":"null"}]},"type":{"type":"string","const":"status","maxLength":64000}},"maxProperties":100},{"type":"object","required":["place"],"additionalProperties":false,"properties":{"place":{"type":["object","null"],"required":["lat","lon"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"},"name":{"type":["string","null"]},"address":{"type":["string","null"]},"aws_place_id":{"type":["string","null"]},"google_place_id":{"type":["string","null"]}}},"type":{"type":"string","const":"place","maxLength":64000}},"maxProperties":100},{"type":"object","required":["verification"],"additionalProperties":false,"properties":{"verification":{"anyOf":[{"type":"object","required":["state"],"properties":{"state":{"type":"string","const":"verified","maxLength":64000},"date":{"$ref":"#/$defs/dateRequest"}},"maxProperties":100},{"type":"object","required":["state"],"properties":{"state":{"type":"string","const":"unverified","maxLength":64000}},"maxProperties":100}]},"type":{"type":"string","const":"verification","maxLength":64000}},"maxProperties":100}]},"maxProperties":100},"icon":{"anyOf":[{"$ref":"#/$defs/pageIconRequest"},{"type":"null"}]},"cover":{"anyOf":[{"$ref":"#/$defs/pageCoverRequest"},{"type":"null"}]},"is_locked":{"type":"boolean"},"template":{"anyOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"default","maxLength":64000},"timezone":{"$ref":"#/$defs/templateTimezone"}},"maxProperties":100},{"type":"object","required":["type","template_id"],"properties":{"type":{"type":"string","const":"template_id","maxLength":64000},"template_id":{"$ref":"#/$defs/idRequest"},"timezone":{"$ref":"#/$defs/templateTimezone"}},"maxProperties":100}]},"erase_content":{"type":"boolean"},"notifications":{"$ref":"#/$defs/pageWriteNotificationsSchema"},"in_trash":{"type":"boolean"},"is_archived":{"type":"boolean"}},"maxProperties":100}},"required":["path","data"],"additionalProperties":false,"$defs":{"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},"idRequest":{"type":"string","maxLength":64000},"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},"textRequest":{"type":"string","minLength":1,"maxLength":2000},"stringRequest":{"type":"string","minLength":1,"maxLength":100},"selectColor":{"type":"string","enum":["default","gray","brown","orange","yellow","green","blue","purple","pink","red"],"maxLength":64000},"groupObjectRequest":{"type":"object","required":["id"],"additionalProperties":false,"properties":{"id":{"$ref":"#/$defs/idRequest"},"name":{"type":["string","null"]},"object":{"type":"string","const":"group","maxLength":64000}},"maxProperties":100},"relationItemPropertyValueResponse":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/$defs/idRequest"}},"maxProperties":100},"internalOrExternalFileWithNameRequest":{"anyOf":[{"type":"object","required":["file","name"],"additionalProperties":false,"properties":{"file":{"$ref":"#/$defs/internalFileRequest"},"name":{"$ref":"#/$defs/stringRequest"},"type":{"type":"string","const":"file","maxLength":64000}},"maxProperties":100},{"type":"object","required":["external","name"],"additionalProperties":false,"properties":{"external":{"$ref":"#/$defs/externalFileRequest"},"name":{"$ref":"#/$defs/stringRequest"},"type":{"type":"string","const":"external","maxLength":64000}},"maxProperties":100}]},"internalFileRequest":{"type":"object","required":["url"],"additionalProperties":false,"properties":{"url":{"type":"string","maxLength":64000},"expiry_time":{"type":"string","maxLength":64000}},"maxProperties":100},"externalFileRequest":{"type":"object","required":["url"],"additionalProperties":false,"properties":{"url":{"$ref":"#/$defs/textRequest"}},"maxProperties":100},"fileUploadWithOptionalNameRequest":{"type":"object","required":["file_upload"],"additionalProperties":false,"properties":{"file_upload":{"$ref":"#/$defs/fileUploadIdRequest"},"type":{"type":"string","const":"file_upload","maxLength":64000},"name":{"$ref":"#/$defs/stringRequest"}},"maxProperties":100},"fileUploadIdRequest":{"type":"object","required":["id"],"additionalProperties":false,"properties":{"id":{"$ref":"#/$defs/idRequest"}},"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},"templateTimezone":{"type":"string","maxLength":64000},"pageWriteNotificationsSchema":{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["default","silent"],"maxLength":64000}},"maxProperties":100}}},"name":"Update page","id":"notion.api.patch-page","example":{"path":{"page_id":"00000000-0000-0000-0000-000000000001"},"data":{}},"maxRequests":1,"summary":false}}