View Your Patterns
list_custom_context

Search Patterns
search_custom_context
Get Pattern Details
get_custom_context
Returns the full pattern including linkedCommentsâPRs where this pattern triggered feedback.
Create a Pattern
create_custom_context

Scope Examples
| You Say | Pattern Applies To |
|---|---|
| âApply everywhereâ | All files in all repos |
| âApply to TypeScript filesâ | **/*.ts |
| âApply to the api folderâ | **/api/** |
| âApply to owner/repo onlyâ | That specific repository |
Disable a Pattern
Thereâs no delete. Set status to inactive:Workflow: Turn Recurring Feedback Into a Pattern
When you notice Greptile making the same comment repeatedly:1
Identify the pattern
2
Create the custom context
3
Verify it's active
Field Reference
| Field | Description |
|---|---|
body | The rule text |
type | CUSTOM_INSTRUCTION (explicit rule) or PATTERN (code pattern) |
status | ACTIVE, INACTIVE, or SUGGESTED |
scopes | Where it applies (see tools reference for format) |
commentsCount | Times this pattern triggered a comment |
linkedComments | PRs where this pattern was applied |