sanitize_scripture_markdown
Normalize malformed Markdown bold syntax in LLM responses, converting broken asterisks into correctly formatted headers for consistent scripture output.
Instructions
Normalizes LLM response text, fixing broken bold asterisk syntax ('** 2. **Header' -> '2. Header').
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": {
"markdown_text": "<markdown_text>"
},
"name": "sanitize_scripture_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown_text | Yes | Raw Markdown text to sanitize |