Convert Markdown to HTML, Confluence, Jira or Slack
tp_convert_from_markdownConverts Markdown to sanitised HTML, Confluence storage format, Jira wiki markup or Slack mrkdwn and returns the result. Use it when the user wants Markdown as HTML, or as markup to paste into Confluence, Jira or Slack. The input is GitHub Flavored Markdown; raw HTML in it is sanitised. standalone: true returns a complete HTML document with inline styles. Nothing is saved to the account, and the output is limited to 40,000 characters. To keep the document on the account, call tp_save_document.
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": {
"markdown": "<markdown>"
},
"name": "tp_convert_from_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Output format: `html` (default), `confluence` (storage format, with code macros, info and warning panels and task lists), `jira` (wiki markup) or `slack` (mrkdwn, for a bot, a webhook or chat.postMessage). | |
| name | No | Title of a standalone document. Default "document". | |
| theme | No | Colour palette of a standalone document. Default light. | |
| markdown | Yes | The Markdown source. | |
| standalone | No | When true, return a complete HTML document with inline styles; when false, an HTML body fragment. Default false. |