text_format
Format text automatically: indent first lines, merge paragraph lines, and remove extra blank lines and leading/trailing spaces.
Instructions
文章自动排版:首行缩进、段落合并、清理多余空行与行首尾空格
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": {
"text": "<text>"
},
"name": "text_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| indent | No | 每段首行缩进空格数 | |
| merge_lines | No | 合并段落内换行 |