mdast-transform
Applies custom wrap, unwrap, rename, or clone transformations to Markdown AST nodes using CSS-like selectors, with text, file, URL, or MDAST input and configurable text, file, or MDAST output.
Instructions
Apply custom transformation logic. Supports wrap/unwrap/rename/clone operations. Input: text/file/url/mdast, Output: text/file/mdast
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": {
"transforms": "<transforms>"
},
"name": "mdast-transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | Output destination specification | |
| markdown | No | Input specification | |
| transforms | Yes | List of transformations to apply |