rails_get_config
Retrieves a Rails app's configuration one section per call—database, gems, frontend, API, engines, conventions, autoload, env vars, and i18n—so AI agents can understand setup without booting the app.
Instructions
Get the app's configuration, one section per call. section: app (default: database, auth, assets, cache, session, queue, Action Cable, middleware, initializers), gems (notable gems by category), frontend (JS framework, build tool, TypeScript, package manager), api (serializers, GraphQL, versioning, CORS, rate limiting, pagination), engines (mounted engines and Rack apps), conventions (architecture and patterns), autoload (Zeitwerk paths, inflections), active_support (concerns, notifications, on_load hooks), env (names of environment variables and credentials keys), env_config (config/environments/*.rb per environment), i18n (locales, locale files, coverage).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | gems, env_config, i18n: max entries. Default: 50. | |
| detail | No | frontend, api, env: summary, standard (default) or full. | |
| locale | No | i18n: only this locale (e.g. "fr"). | |
| offset | No | gems, env_config, i18n: skip this many entries. Default: 0. | |
| section | No | Which section to answer. Default: app. | |
| category | No | gems: only this category. Default: all. | |
| environment | No | env_config: only this environment (e.g. "production"). |