hedgedoc_create_with_alias
Create a new HedgeDoc note with a custom URL alias by supplying a title and markdown content, and get back the note ID and URL.
Instructions
Create a new HedgeDoc note with a custom URL alias.
Requires HedgeDoc's FreeURL mode to be enabled on the instance (CMD_ALLOW_FREEURL=true).
alias: The custom URL slug (e.g. 'my-diagram')
title: The title of the note (will be added as level-1 heading)
content: The markdown body content Returns the note ID and URL.
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": {
"alias": "<alias>",
"title": "<title>",
"content": "<content>"
},
"name": "hedgedoc_create_with_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | ||
| title | Yes | ||
| content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |