Skip to content

Commit 3c79c06

Browse files
improve tool descriptions
1 parent c27c9a7 commit 3c79c06

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
Finds definitions of a symbol in the codebase.
1+
Finds where a symbol (function, class, variable, method, type, etc.) is defined in a repository.
2+
3+
Usage:
4+
- Use this to answer "where is X defined/implemented?" questions.
5+
- Results include file paths and line numbers for each definition site, grouped by file.
6+
- Symbol matching is exact — use the precise identifier name, not a description (e.g., "UserService" not "user service class").
7+
- Prefer this over `grep` for symbol lookups: it understands symbol boundaries and won't match partial strings or comments.
8+
- If the repository name is not known, use `list_repos` first to discover the correct name.
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
Finds references to a symbol in the codebase.
1+
Finds all usages of a symbol (function, class, variable, method, type, etc.) across a repository.
2+
3+
Usage:
4+
- Use this to answer "where is X used/called?" questions.
5+
- Results include file paths and line numbers for each reference, grouped by file.
6+
- Symbol matching is exact — use the precise identifier name, not a description (e.g., "getUserById" not "get user by id").
7+
- Prefer this over `grep` for symbol lookups: it understands symbol boundaries and won't match partial strings or comments.
8+
- If the repository name is not known, use `list_repos` first to discover the correct name.
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
Lists commits in a repository with optional filtering by date range, author, and commit message.
1+
Lists commits in a repository with optional filtering by message, date range, author, branch, and path.
2+
3+
Usage:
4+
- Use `query` to search commit messages (case-insensitive). Supports substrings and simple patterns.
5+
- Use `since`/`until` for date filtering. Both ISO 8601 dates (e.g., "2024-01-01") and relative formats (e.g., "30 days ago", "last week", "yesterday") are supported.
6+
- Use `author` to filter by author name or email (case-insensitive, partial match).
7+
- Use `path` to limit results to commits that touched a specific file or directory.
8+
- Use `ref` to list commits on a specific branch, tag, or from a specific commit SHA. Defaults to the default branch.
9+
- Use `page`/`perPage` to paginate through large result sets. Check `totalCount` in the response to know if more pages exist.
10+
- If the repository name is not known, use `list_repos` first to discover the correct name.

0 commit comments

Comments
 (0)