Skip to main content

Tool Reference

4 tools for managing coding patterns and organizational standards

list_custom_context

List organization custom context entries.Parameters:
  • type (optional): CUSTOM_INSTRUCTION or PATTERN
  • greptileGenerated (optional): Filter by Greptile-generated content
  • limit (optional): Maximum results (1-100, default 20)
  • offset (optional): Skip results for pagination (default 0)
Response:

get_custom_context

Get detailed custom context information.Parameters:
  • customContextId (required): Custom context ID
Response:

search_custom_context

Search custom context by content.Parameters:
  • query (required): Search term
  • limit (optional): Maximum results (1-50, default 10)
Response:

create_custom_context

Create new custom context.Parameters:
  • type (optional): CUSTOM_INSTRUCTION or PATTERN (default CUSTOM_INSTRUCTION)
  • body (optional): Context content
  • scopes (optional): Boolean expression defining where context applies
  • status (optional): ACTIVE, INACTIVE, or SUGGESTED (default ACTIVE)
  • metadata (optional): Additional metadata object
Scopes Example:

Error Responses

Standard JSON-RPC error format:
Common Error Codes:
  • -32700: Parse error
  • -32600: Invalid request
  • -32601: Method not found
  • -32602: Invalid parameters
  • -32603: Internal error
  • -32000: Server error (includes authentication and authorization failures)