mirror of
https://github.com/upstash/context7.git
synced 2025-11-30 17:11:41 +00:00
update README with libraryName param
This commit is contained in:
parent
141bbccbca
commit
ddfa40b4f4
@ -44,6 +44,7 @@ Add this to your Windsurf MCP config file. For more info, check the [Windsurf MC
|
||||
### Tools
|
||||
|
||||
- `list-available-docs`: Lists all available documentation libraries from Context7
|
||||
- `libraryName`: Optional library name to search for and rerank results based on
|
||||
- `get-library-documentation`: Retrieves documentation for a specific library with options for:
|
||||
- `libraryName`: Name of the library to retrieve docs for
|
||||
- `topic`: Specific topic within the library
|
||||
|
||||
@ -25,7 +25,7 @@ server.tool(
|
||||
libraryName: z
|
||||
.string()
|
||||
.optional()
|
||||
.describe("Optional library name to search for and rerank results based on"),
|
||||
.describe("Optional library name to search for and rerank results based on."),
|
||||
},
|
||||
async ({ libraryName }) => {
|
||||
const projects = await fetchProjects();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user