by covfefe · v0.0.1
Provide tools to clean Markdown code fences by marker, strip <think> tags, and convert text to files.
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
Author: covfefe
Version: 0.0.1
Type: tool
Tool plugin for Dify providing:
<think> tagshtml, txt, md, json, csv, xml, sql)custom_root)think-clean: remove <think>...</think> from textmarkdown-fence-clean: strip code fences by language markertext-to-file: parameters: format, content, filenamejson-str-to-xml: parameters: json, optional custom_root; returns XML textxml-to-json-str: parameter: xml; returns JSON stringJSON → XML
Input JSON:
{"user":{"name":"Alice","age":30},"tags":["a","b"]}
Optional param: custom_root = "MyRoot"
Output XML:
<MyRoot><user><name>Alice</name><age>30</age></user><tags><item>a</item><item>b</item></tags></MyRoot>
XML → JSON
Input XML:
<root><user><name>Alice</name><age>30</age></user><tags><item>a</item><item>b</item></tags></root>
Output JSON:
{
"root": {
"user": {"name": "Alice", "age": "30"},
"tags": {"item": ["a", "b"]}
}
}
pip install -r requirements.txt
python -m main
For Chinese documentation, see readme/README_zh_Hans.md.