Phoenix route introspection for Ectomancer.
This module requires Plug to be available at runtime for route execution.
Summary
Functions
Builds a tool name from a route.
Exposes Phoenix routes as MCP tools.
Filters routes based on options.
Extracts routes from a Phoenix router module.
Parses a Phoenix route path and extracts parameters.
Functions
Builds a tool name from a route.
Exposes Phoenix routes as MCP tools.
@spec filter_routes( [{String.t(), String.t(), module(), atom()}], keyword() ) :: [{String.t(), String.t(), module(), atom()}]
Filters routes based on options.
Extracts routes from a Phoenix router module.
Parses a Phoenix route path and extracts parameters.