File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { MCPTool } from "mcp-framework";
22import { z } from "zod" ;
33import { librariesWithFeatures } from "../lib/utils/process-libraries.js" ;
44import dedent from "dedent" ;
5- import { libraryId } from "../lib/supported-libraries.js" ;
5+ import { libraries , libraryId } from "../lib/supported-libraries.js" ;
66
77interface ListFeaturesInput {
88 libraryId : z . infer < typeof libraryId > ;
@@ -15,6 +15,9 @@ class ListFeaturesTool extends MCPTool<ListFeaturesInput> {
1515 List the available features for an Appwrite SDK for a particular platform.
1616 Before using this tool, identify the programming langauge in question (either by analyzing the code or by asking the user).
1717 You will use the returned list of features to fetch code examples for particular features, using the getFeatureExamples tool.
18+
19+ Available libraries:
20+ ${ libraries . map ( ( library ) => `- ${ library . name } (ID: ${ library . root } )` ) . join ( "\n" ) }
1821 ` ;
1922
2023 schema = {
You can’t perform that action at this time.
0 commit comments