File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { MCPTool } from "mcp-framework";
2
2
import { z } from "zod" ;
3
3
import { librariesWithFeatures } from "../lib/utils/process-libraries.js" ;
4
4
import dedent from "dedent" ;
5
- import { libraryId } from "../lib/supported-libraries.js" ;
5
+ import { libraries , libraryId } from "../lib/supported-libraries.js" ;
6
6
7
7
interface ListFeaturesInput {
8
8
libraryId : z . infer < typeof libraryId > ;
@@ -15,6 +15,9 @@ class ListFeaturesTool extends MCPTool<ListFeaturesInput> {
15
15
List the available features for an Appwrite SDK for a particular platform.
16
16
Before using this tool, identify the programming langauge in question (either by analyzing the code or by asking the user).
17
17
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" ) }
18
21
` ;
19
22
20
23
schema = {
You can’t perform that action at this time.
0 commit comments