module

CrystalMcp::Tools::Ecosystem

Ecosystem related tools for the Crystal MCP server.

Constants

Log = ::Log.for("tools.ecosystem")

Instance methods

definitions

Returns the tool definitions for ecosystem tools.

Source
inspect_dependencies(project_path : String = ".") : String

Inspects project dependencies by reading shard.lock or shard.yml.

Returns a JSON string containing an array of dependencies.

Parameters:

  • project_path: Path to project root directory (defaults to ".").
Source
read_stdlib_signature(search_term : String) : String

Searches for method definitions in the Crystal standard library.

Returns a JSON string with the search results.

Parameters:

  • search_term: The term to search for (e.g., a method name).
Source

Nested types