hedgedoc_create_note
Create a new HedgeDoc note from full Markdown content, optionally using a custom alias as its URL slug. Returns the note ID and shareable URL for viewing.
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'.
Notes cannot be edited afterwards: HedgeDoc 1.x has no HTTP endpoint for
updating note content, so write the complete content in one call.
Alias support requires FreeURL mode enabled on the server (CMD_ALLOW_FREEURL=true).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>"
},
"name": "hedgedoc_create_note"
}
}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). 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.). |