list_diagrams
Identify diagram blocks in Markdown files by detecting their type and location without rendering visualizations.
Instructions
List all detected diagram blocks without rendering them.
Args: file_path: Path to a .md file. raw_markdown: Raw markdown string.
Returns: List of dicts with diagram_type, line_start, and line_end for each block.
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": "list_diagrams"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | ||
| raw_markdown | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |