pattern_search
Search development patterns by semantic similarity. Find global and project-specific patterns using natural language queries, with filters for category and similarity threshold.
Instructions
Search for development patterns using semantic similarity. When working on a project, shows both global patterns and patterns adopted by that project.
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": {
"query": "<query>"
},
"name": "pattern_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results (1-50, default 10) | |
| query | Yes | Natural language query describing the pattern to find (e.g., "validation", "error handling") | |
| project | No | Project context — shows global patterns plus patterns adopted by this project | |
| category | No | Filter by category | |
| threshold | No | Minimum similarity threshold (0-1, default 0.3) |