get_constraints
Retrieve applicable linting, style, architecture, testing, or API contract rules for a file to ensure code compliance.
Instructions
Get constraints (linting rules, patterns, conventions) for a file
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "get_constraints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| constraint_types | No |