mcp-server-tree-sitter

by wrale
MIT License
33
  • Apple
  • Linux

get_dependencies

Analyze and retrieve dependencies for a specified file within a project, returning a dictionary of imports or includes to support code analysis and context management.

Instructions

Find dependencies of a file.

Args: project: Project name file_path: Path to the file Returns: Dictionary of imports/includes

Input Schema

NameRequiredDescriptionDefault
file_pathYes
projectYes

Input Schema (JSON Schema)

{ "properties": { "file_path": { "title": "File Path", "type": "string" }, "project": { "title": "Project", "type": "string" } }, "required": [ "project", "file_path" ], "title": "get_dependenciesArguments", "type": "object" }
ID: k35mqkr8j9