You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- With constant_name: Detailed examples and locations
109
-
Example:
110
-
::OtherPackage::SomeClass
111
-
example: OtherPackage::SomeClass.new
112
-
files:
113
-
- app/services/my_service.rb
114
-
DESC
115
-
116
-
input_schema(
117
-
properties: {
118
-
package_path: {
119
-
type: 'string',
120
-
description: "The relative path of a directory containing a package.yml file (e.g. 'packs/product_services/payments/origination_banks')."
121
-
},
122
-
constant_name: {
123
-
type: 'string',
124
-
description: "The name of a constant to filter the results by. If provided, a more detailed list of code usage examples will be returned. (e.g. '::OtherPackage::SomeClass')"
# Package violations (violations TO this package) tool
144
-
classPackageViolationsTool < MCP::Tool
145
-
description<<~DESC
146
-
Find code that violates dependency boundaries TO this package FROM other packages.
147
-
148
-
Output formats:
149
-
- Without constant_name: List of violated constants with counts
150
-
Example: "::ThisPackage::SomeClass: 3 violations"
151
-
- With constant_name: Detailed examples and locations
152
-
Example:
153
-
# Constant `::ThisPackage::SomeClass`
154
-
## Example:
155
-
ThisPackage::SomeClass.new
156
-
### Files:
157
-
app/services/other_service.rb
158
-
DESC
159
-
160
-
input_schema(
161
-
properties: {
162
-
package_path: {
163
-
type: 'string',
164
-
description: "The relative path of a directory containing a package.yml file (e.g. 'packs/product_services/payments/origination_banks'). AKA a 'pack' or 'package'."
165
-
},
166
-
constant_name: {
167
-
type: 'string',
168
-
description: 'The name of a constant to filter the results by. If provided, a more detailed list of code usage examples will be returned.'
0 commit comments