get_tree_directory_from_path
Generate a formatted directory tree filtered by programming language, displaying line counts for each file.
Instructions
Generate a tree directory structure as a string, excluding files and directories
based on the specified programming language using regex patterns.
Args:
path: The root path to start generating the tree from
language: The programming language to filter files. Possible values: ["python", "javascript", "java", "go", "ruby", "rust", "csharp", "generic"]
Returns:
A formatted string representing the directory tree with line counts for each file
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"language": "<language>"
},
"name": "get_tree_directory_from_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| language | Yes |