hedgedoc_create_note
Create a new HedgeDoc note from markdown content. Optionally set a custom alias to get a readable URL and enable later updates. Returns the note ID and shareable link.
Instructions
Create a new note on the HedgeDoc instance. Returns JSON with two fields: 'note_id' (the unique identifier / URL slug) and 'url' (the full URL where the note can be viewed or shared). Use alias to assign a human-readable slug such as 'q3-research-notes' — alias-based notes can later be overwritten with hedgedoc_update_note. Notes created without an alias get a random ID and cannot be updated over HTTP. Alias support requires FreeURL mode enabled on the server (CMD_ALLOW_FREEURL=true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | Optional custom URL slug, e.g. 'meeting-2026-08-16' or 'q3-research'. Must be URL-safe (letters, digits, hyphens). Required if you intend to update this note later. Requires FreeURL mode on the server. | |
| content | Yes | Full markdown content for the note. Supports standard CommonMark plus HedgeDoc extensions (diagrams, math, front matter, etc.). |