Development
Convert structured service logs into Mermaid or PlantUML sequence diagrams, with optional latency and error annotations
Call this tool from your code in three languages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/log-sequence-diagram-converter' \
-F 'file=@/path/to/logFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/log-sequence-diagram-converter' \
-F 'logInput=2026-04-06T10:00:01Z api -> auth POST /login | status=401 | latency=82ms | error=invalid token
2026-04-06T10:00:01Z auth -> user-db SELECT user_by_email | status=200 | latency=14ms
2026-04-06T10:00:02Z api -> audit POST /events | status=202 | latency=11ms' \
-F 'logFile=' \
-F 'diagramFormat=mermaid' \
-F 'includeLatencyNotes=true' \
-F 'highlightErrors=true' \
-F 'maxSteps=12'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/log-sequence-diagram-converter| Name | Type | Required | Description |
|---|---|---|---|
| logInput | textarea | No | — |
| logFile | fileupload required | No | — |
| diagramFormat | select | No | — |
| includeLatencyNotes | checkbox | No | — |
| highlightErrors | checkbox | No | — |
| maxSteps | number | No | — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-log-sequence-diagram-converter": {
"name": "log-sequence-diagram-converter",
"description": "Convert structured service logs into Mermaid or PlantUML sequence diagrams, with optional latency and error annotations",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=log-sequence-diagram-converter",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "log-sequence-diagram-converter",
"arguments": {
"logInput": "2026-04-06T10:00:01Z api -> auth POST /login | status=401 | latency=82ms | error=invalid token\n2026-04-06T10:00:01Z auth -> user-db SELECT user_by_email | status=200 | latency=14ms\n2026-04-06T10:00:02Z api -> audit POST /events | status=202 | latency=11ms",
"logFile": "",
"diagramFormat": "mermaid",
"includeLatencyNotes": true,
"highlightErrors": true,
"maxSteps": 12
}
}
}Questions or issues? Contact [email protected]