mirror of
https://github.com/upstash/context7.git
synced 2025-11-30 09:00:13 +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
|
### Tools
|
||||||
|
|
||||||
- `list-available-docs`: Lists all available documentation libraries from Context7
|
- `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:
|
- `get-library-documentation`: Retrieves documentation for a specific library with options for:
|
||||||
- `libraryName`: Name of the library to retrieve docs for
|
- `libraryName`: Name of the library to retrieve docs for
|
||||||
- `topic`: Specific topic within the library
|
- `topic`: Specific topic within the library
|
||||||
|
|||||||
@ -25,7 +25,7 @@ server.tool(
|
|||||||
libraryName: z
|
libraryName: z
|
||||||
.string()
|
.string()
|
||||||
.optional()
|
.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 }) => {
|
async ({ libraryName }) => {
|
||||||
const projects = await fetchProjects();
|
const projects = await fetchProjects();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user