Text Processing
Проверяет числа, даты, единицы, кавычки, тире, уровни заголовков и имена; создаёт style sheet
Вызовите этот инструмент из своего кода на трёх языках.
curl -X POST 'https://api.elysiatools.com/ru/api/tools/manuscript-style-consistency-auditor' \
-H 'Content-Type: application/json' \
-d '{"text":"# Title\n\n### Skipped H2\n\nShe said \"hello\" and “goodbye”.\nThe train-- departed.","numberStyle":"smart","quoteStyle":"curly","dashStyle":"em","headings":true,"nouns":"","useAI":false}'Отправьте POST-запрос с входными данными в JSON. Параметры типа «файл» требуют предварительной загрузки.
POST https://api.elysiatools.com/ru/api/tools/manuscript-style-consistency-auditor| Имя | Тип | Обязательный | Описание |
|---|---|---|---|
| text | textarea | Да | — |
| numberStyle | select | Нет | — |
| quoteStyle | select | Нет | — |
| dashStyle | select | Нет | — |
| headings | checkbox | Нет | — |
| nouns |
Добавьте этот инструмент на свой сервер Model Context Protocol, чтобы ИИ-агенты могли перечислять и вызывать его.
Добавьте этот блок в конфигурацию вашего MCP-клиента:
{
"mcpServers": {
"elysiatools-manuscript-style-consistency-auditor": {
"name": "manuscript-style-consistency-auditor",
"description": "Проверяет числа, даты, единицы, кавычки, тире, уровни заголовков и имена; создаёт style sheet",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=manuscript-style-consistency-auditor",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}После подключения к SSE-endpoint выведите список доступных инструментов:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Вызовите инструмент по его id; аргументы формируются из его параметров:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "manuscript-style-consistency-auditor",
"arguments": {
"text": "# Title\n\n### Skipped H2\n\nShe said \"hello\" and “goodbye”.\nThe train-- departed.",
"numberStyle": "smart",
"quoteStyle": "curly",
"dashStyle": "em",
"headings": true,
"nouns": "",
"useAI": false
}
}
}| textarea |
| Нет |
| — |
| useAI | checkbox | Нет | — |
HTML-результат
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Вопросы или проблемы? Свяжитесь с [email protected]