{"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},"data":{"allOf":[{"type":"object","properties":{"allow_async":{"type":"boolean"},"markdown_version":{"type":"string","enum":["v1","v2"],"maxLength":64000}},"maxProperties":100},{"oneOf":[{"type":"object","required":["type","insert_content"],"properties":{"type":{"type":"string","const":"insert_content","maxLength":64000},"insert_content":{"type":"object","required":["content"],"properties":{"content":{"type":"string","maxLength":64000},"after":{"type":"string","maxLength":64000},"position":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"start","maxLength":64000}},"maxProperties":100},{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"end","maxLength":64000}},"maxProperties":100}]}},"maxProperties":100}},"maxProperties":100},{"type":"object","required":["type","replace_content_range"],"properties":{"type":{"type":"string","const":"replace_content_range","maxLength":64000},"replace_content_range":{"type":"object","required":["content","content_range"],"properties":{"content":{"type":"string","maxLength":64000},"content_range":{"type":"string","maxLength":64000},"allow_deleting_content":{"type":"boolean"}},"maxProperties":100}},"maxProperties":100},{"type":"object","required":["type","update_content"],"properties":{"type":{"type":"string","const":"update_content","maxLength":64000},"update_content":{"type":"object","required":["content_updates"],"properties":{"content_updates":{"type":"array","maxItems":100,"items":{"type":"object","required":["old_str","new_str"],"properties":{"old_str":{"type":"string","minLength":1,"maxLength":64000},"new_str":{"type":"string","maxLength":64000},"replace_all_matches":{"type":"boolean"}},"maxProperties":100}},"allow_deleting_content":{"type":"boolean"}},"maxProperties":100}},"maxProperties":100},{"type":"object","required":["type","replace_content"],"properties":{"type":{"type":"string","const":"replace_content","maxLength":64000},"replace_content":{"type":"object","required":["new_str"],"properties":{"new_str":{"type":"string","maxLength":64000},"allow_deleting_content":{"type":"boolean"}},"maxProperties":100}},"maxProperties":100}]}]}},"required":["path","data"],"additionalProperties":false},"name":"Update a page's content as markdown","id":"notion.api.update-page-markdown","example":{"path":{"page_id":"00000000-0000-0000-0000-000000000001"},"data":{"type":"insert_content","insert_content":{"content":"fixture"}}},"maxRequests":1,"summary":false}}