get_statistics
Retrieve detailed statistics from Draw.io diagrams, including element counts, connections, layer and style usage, with filters, grouping, and analysis options for deeper insights.
Instructions
获取图表统计信息
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | 统计过滤 | |
| metrics | No | 要统计的指标 | |
| grouping | No | 分组统计 | |
| diagram_id | No | 图表ID(不指定则统计所有图表) | |
| output_format | No | 输出格式 | |
| statistics_type | No | 统计类型 | basic |
| analysis_options | No | 分析选项 |