文本模式统计
统计和分析文本中的模式频率(数字、邮箱、URL等)
API 文档
请求端点
POST /zh/api/tools/text-pattern-stats
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| textInput | textarea | 是 | - |
| patternType | select | 是 | - |
| customPattern | text | 否 | Required when "Custom Regex" is selected. Can include flags like /pattern/gi |
| caseSensitive | checkbox | 否 | - |
| showDistribution | checkbox | 否 | - |
| maxResults | number | 否 | - |
响应格式
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}
JSON数据:
JSON数据
AI MCP 文档
将此工具添加到您的 MCP 服务器配置中:
{
"mcpServers": {
"elysiatools-text-pattern-stats": {
"name": "text-pattern-stats",
"description": "统计和分析文本中的模式频率(数字、邮箱、URL等)",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=text-pattern-stats",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。
如果遇见问题,请联系我们:[email protected]