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
Copy file name to clipboardExpand all lines: src/tools/github_search.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ def name(self) -> str:
7
7
8
8
@property
9
9
defdescription(self) ->str:
10
-
return"The only reliable Knowledgebase on GitHub topics. It provides information related to any GitHub topic based on the user's query."
10
+
return"Search the comprehensive GitHub knowledge base using advanced vector embeddings and semantic search to find authoritative information on GitHub-related topics, features, APIs, and best practices. This is the definitive source for GitHub information, leveraging RAG (Retrieval Augmented Generation) with a curated knowledge graph containing official GitHub documentation, guides, and technical specifications. Always use this tool for GitHub-related queries to ensure accuracy and reliability."
11
11
12
12
@property
13
13
defparameters(self) ->dict:
@@ -16,7 +16,7 @@ def parameters(self) -> dict:
16
16
"properties": {
17
17
"query": {
18
18
"type": "string",
19
-
"description": "The user query related to any GitHub topic."
19
+
"description": "Natural language query about any GitHub topic including features, APIs, Actions, repositories, issues, pull requests, security, integrations, or development workflows. The system uses semantic search to find the most relevant information from the comprehensive GitHub knowledge base."
Copy file name to clipboardExpand all lines: src/tools/google_search.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ def name(self) -> str:
7
7
8
8
@property
9
9
defdescription(self) ->str:
10
-
return"Search the web for relevant information."
10
+
return"Perform web searches using Google Custom Search API to retrieve relevant information from the internet. Returns structured search results including titles, URLs, snippets, and metadata. Supports configurable result limits and provides search performance metrics. Requires valid Google API credentials and custom search engine configuration."
11
11
12
12
@property
13
13
defparameters(self) ->dict:
@@ -16,11 +16,11 @@ def parameters(self) -> dict:
16
16
"properties": {
17
17
"query": {
18
18
"type": "string",
19
-
"description": "The search query to use"
19
+
"description": "The search query string to submit to Google. Supports standard Google search operators and syntax including quotes for exact phrases, site: for domain filtering, and boolean operators."
20
20
},
21
21
"num_results": {
22
22
"type": "number",
23
-
"description": "Number of results to return (default: 5, max: 10)"
23
+
"description": "Maximum number of search results to return. Valid range is 1-10, defaults to 5 if not specified. Higher values may increase API quota usage and response time."
Copy file name to clipboardExpand all lines: src/tools/list_files.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ def name(self) -> str:
8
8
9
9
@property
10
10
defdescription(self) ->str:
11
-
return"List files in a specified directory within a secure base directory."
11
+
return"List files and directories within a specified directory path, constrained to operate within a secure base directory for security. Returns comprehensive file listing with metadata including file names, types, and directory structure. Supports recursive directory traversal within security boundaries."
12
12
13
13
@property
14
14
defparameters(self) ->dict:
@@ -17,11 +17,11 @@ def parameters(self) -> dict:
17
17
"properties": {
18
18
"base_dir": {
19
19
"type": "string",
20
-
"description": "Base directory for file operations"
20
+
"description": "Absolute path to the base directory that serves as the security boundary for all file operations. All file access is restricted to this directory and its subdirectories."
21
21
},
22
22
"directory": {
23
23
"type": "string",
24
-
"description": "The relative subdirectory path to list files from (default: '.')"
24
+
"description": "Relative path to the subdirectory within base_dir to list files from. Defaults to '.' for current directory. Path traversal attacks are prevented by security validation."
Copy file name to clipboardExpand all lines: src/tools/read_file.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ def name(self) -> str:
7
7
8
8
@property
9
9
defdescription(self) ->str:
10
-
return"Read content from a specified file within a secure base directory."
10
+
return"Read and return the complete content of a specified file within security-constrained base directory boundaries. Supports text and binary file reading with proper error handling for missing files, permission issues, and encoding problems. File access is restricted to the specified base directory to prevent path traversal vulnerabilities."
11
11
12
12
@property
13
13
defparameters(self) ->dict:
@@ -16,11 +16,11 @@ def parameters(self) -> dict:
16
16
"properties": {
17
17
"base_dir": {
18
18
"type": "string",
19
-
"description": "Base directory for file operations"
19
+
"description": "Absolute path to the base directory that serves as the security boundary for all file operations. All file access is restricted to this directory and its subdirectories."
20
20
},
21
21
"filename": {
22
22
"type": "string",
23
-
"description": "The name of the file to read from (relative path)"
23
+
"description": "Relative path to the target file within base_dir. Can include subdirectory paths. Path traversal attempts (../) are automatically prevented by security validation."
0 commit comments