inputSchema
{
"type": "object",
"required": [
"markdown"
],
"properties": {
"markdown": {
"type": "string",
"description": "待格式化的 Markdown 正文"
},
"formatMode": {
"type": "string",
"default": "free-form",
"description": "格式模式:free-form(默认,去 # 保留标题文本)/ three-section / five-section / six-section / eight-section / outline-sections(后几种会在 ## 二级标题前加中文序号)"
}
}
}
outputSchema
{
"type": "object",
"required": [
"formattedMarkdown"
],
"properties": {
"sectionCount": {
"type": "integer",
"description": "已编号的二级段落数"
},
"formatModeApplied": {
"type": "string",
"description": "实际应用的格式模式"
},
"formattedMarkdown": {
"type": "string",
"description": "格式化后的 Markdown(# 已去除,章节已添加中文序号)"
}
}
}