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
"instructions":"Use tools to query indexed code and symbol information. Operational flow: repositories -> repo_branches -> file_list/path_search -> file_content/search/symbol_insights. For recency/version questions like 'recent change', call repo_branches first, then run search repeatedly with explicit branch filters (e.g. branch:main, branch:release/*), compare branch-level results and indexed_at/is_live metadata, and add historical:yes when historical snapshots should be included. DSL behavior is AND-first; do not rely on OR in a single query. For OR intent, issue multiple search calls (one query per alternative) and merge/deduplicate client-side. Plain terms do not support wildcard matching; use regex:\"...\" for pattern matching. path_search requires a non-empty query and is not a directory listing endpoint; use file_list for enumeration. search supports batch mode with queries:[...] and optional dedupe mode.",
191
+
"instructions":"Use tools to query indexed code and symbol information. Operational flow: repositories -> repo_branches -> file_list/path_search -> file_content/search/symbol_insights. Use structured search fields: all_terms are AND semantics and any_terms are OR semantics (fanout + dedupe). For recency/version questions like 'recent change', call repo_branches first, then run search with explicit branch values and compare indexed_at/is_live metadata; add historical:true when historical snapshots should be included. Plain terms do not support wildcard matching; use regex for pattern matching. path_search requires a non-empty query and is not a directory listing endpoint; use file_list for enumeration.",
"description":"Search indexed source code (from Pointer index, not local filesystem) using Pointer DSL query syntax. Supports branch-scoped and historical queries (e.g. 'repo:linux branch:main symbol' or 'repo:linux branch:main historical:yes symbol'). Plain terms use substring matching and do NOT support wildcard syntax; use regex:\"...\" for pattern queries. Treat query terms/filters as AND semantics. For OR semantics, run multiple search calls and merge/deduplicate results client-side. Supports optional batch mode with queries:[...] plus dedupe controls.",
323
+
"description":"Search indexed source code using structured fields (not a free-form DSL string). Use all_terms for AND semantics (all terms must match). Use any_terms for OR semantics (server executes one query per term, then merges/deduplicates using dedupe). Include repo/branch filters for version-aware questions, and set historical:true for older snapshots. path/file are glob-like filters, regex is a content regex filter, and case controls case sensitivity (yes|no|auto). At least one of all_terms, any_terms, or regex is required.",
311
324
"inputSchema":{
312
325
"type":"object",
313
326
"properties":{
314
-
"query":{"type":"string","description":"Single-query mode. Provide either query or queries."},
315
-
"queries":{
316
-
"type":"array",
317
-
"items":{"type":"string"},
318
-
"minItems":1,
319
-
"maxItems":8,
320
-
"description":"Batch mode. Each query is executed separately and merged."
"description":"List indexed repositories available for search. Use this first to discover exact repository keys before applying repo:<name> filters. Results include index_freshness metadata.",
355
+
"description":"List indexed repositories available for search. Call this first to discover exact repository keys to pass in search.repo. Results include index_freshness metadata.",
"description":"List indexed branches/heads for a repository, including commit_sha, indexed_at, and is_live. Use this before branch-by-branch comparisons for 'newer/older/recent change' questions and then run search with explicit branch:<name> filters. Results include per-branch freshness ages.",
366
+
"description":"List indexed branches/heads for a repository, including commit_sha, indexed_at, and is_live. For recency/version questions, call this before search and then run branch-by-branch comparisons by setting search.branch explicitly. Includes per-branch freshness ages.",
"description":"Read raw indexed file content (no syntax highlighting) for an exact repo/branch/path from the index. Use this after file_list/path_search or when you already know the exact file path. Includes branch freshness metadata.",
376
+
"description":"Read raw indexed file content (no syntax highlighting) for an exact repo/branch/path from the index. Use this after file_list/path_search to inspect implementation details. Includes branch freshness metadata.",
"description":"Enumerate files/directories under a path for a repository+branch from the index. Supports bounded recursive listing with depth and limit. Use this for directory listing workflows. Response includes truncated flag, branch freshness, and stable paths.",
390
+
"description":"Enumerate files/directories under a path for a repository+branch from the index. Supports bounded recursive traversal with depth and limit. Use this for directory listing workflows and then call file_content on specific files. Response includes truncated flag, branch freshness, and stable paths.",
"description":"Search file and directory paths within a repository and branch using a non-empty query. This matches paths only (fuzzy path lookup)and does not enumerate full directory contents; use file_list for enumeration. Includes freshness metadata.",
406
+
"description":"Search file and directory paths within a repository and branch using a non-empty query(fuzzy path lookup). This is path-only matching and does not enumerate full directory contents; use file_list for enumeration and file_content for file bodies. Includes freshness metadata.",
"description":"Find symbol definitions and references with snippets in indexed code. For scoped analysis, set params.scope (repository/directory/file/custom) and optional include_paths/excluded_paths. Includes freshness metadata for the selected branch.",
421
+
"description":"Find symbol definitions and references with snippets in indexed code. For scoped analysis, set params.scope (repository/directory/file/custom) and optional include_paths/excluded_paths. Use this for 'where is symbol defined/used' workflows. Includes freshness metadata for the selected branch.",
0 commit comments