read_file
Read file contents from local directories or GitHub repositories to analyze codebases for generating Mermaid diagrams that visualize project structure and flow.
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": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | local | |
| path | No | ||
| repo_url | No | ||
| ref | No | main | |
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |