atlassian_convert
Convert JFM markdown to ADF JSON or ADF JSON to JFM markdown. Validates content-model violations during conversion to protect panels, mentions, and layouts.
Instructions
Convert between JFM markdown and ADF JSON. Mirrors omni-dev atlassian convert to-adf / from-adf. direction must be either "to-adf" or "from-adf".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | When `direction = to-adf`, emit compact JSON instead of pretty-printed. | |
| content | Yes | The content to convert. For `to-adf` this is JFM markdown; for `from-adf` this is an ADF JSON document. | |
| direction | Yes | Direction of the conversion: `to-adf` (markdown → ADF JSON) or `from-adf` (ADF JSON → markdown). | |
| strip_local_ids | No | When `direction = from-adf`, strip `localId` attributes from output for better readability. |