create_document
Create a new mkdshare.DEV document. If visibility is omitted the document is owner-only (login_required, restricted to your email).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Document title | |
| content | Yes | Markdown content | |
| expires_at | No | ISO 8601 datetime after which the document expires, e.g. 2026-06-01T00:00:00Z | |
| visibility | No | Who can view the document. If the user didn't specify who should see it, ask them. Omitted = owner-only (login_required, restricted to your email). | |
| editor_emails | No | Comma-separated emails that can edit this document (in addition to the owner) | |
| allowed_domain | No | Domain allowed to view, e.g. company.com (domain_restricted visibility) | |
| allowed_emails | No | Comma-separated emails allowed to view (login_required visibility) | |
| domain_can_edit | No | When true, all users in allowed_domain can edit (not just view) |