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
Tests the `read_database_source` tool in listing mode by omitting `filePath` to list all source files in a CodeQL database source archive.
6
+
7
+
## Inputs
8
+
9
+
-**database**: Path to the JavaScript example test database
10
+
11
+
## Expected Behavior
12
+
13
+
The tool should return a listing of all source files in the database's `src/` directory, including `totalEntries`, `returnedEntries`, and `truncated` metadata.
Tests the `read_database_source` tool in file-read mode by requesting a specific source file from a CodeQL database source archive.
6
+
7
+
## Inputs
8
+
9
+
-**database**: Path to the JavaScript example test database
10
+
-**filePath**: Path to a source file within the database archive
11
+
12
+
## Expected Behavior
13
+
14
+
The tool should return the contents of the requested source file along with metadata including `entryPath`, `sourceType`, `totalLines`, `startLine`, and `endLine`.
Copy file name to clipboardExpand all lines: docs/ql-mcp/prompts.md
+15-13Lines changed: 15 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,22 +4,23 @@
4
4
5
5
## Overview
6
6
7
-
The server provides **10 prompts** that guide AI assistants through common CodeQL development workflows. Each prompt is backed by a `*.prompt.md` file containing structured instructions.
7
+
The server provides **11 prompts** that guide AI assistants through common CodeQL development workflows. Each prompt is backed by a `*.prompt.md` file containing structured instructions.
0 commit comments