@@ -11,19 +11,19 @@ The `EnrichMCP` class is the main entry point for creating an enrichmcp applicat
1111
1212## Class Reference
1313
14- ### ` EnrichMCP(title: str, description : str) `
14+ ### ` EnrichMCP(title: str, instructions : str) `
1515
1616Creates a new enrichmcp application.
1717
1818** Parameters:**
1919- ` title ` : The name of your API
20- - ` description ` : A description of what your API provides
20+ - ` instructions ` : Instructions for interacting with your API
2121
2222** Example:**
2323``` python
2424from enrichmcp import EnrichMCP
2525
26- app = EnrichMCP(title = " My API" , description = " API for AI agents to access my data" )
26+ app = EnrichMCP(title = " My API" , instructions = " API for AI agents to access my data" )
2727```
2828
2929## Methods
@@ -120,7 +120,7 @@ async def custom_tool(x: int) -> int:
120120Return the current request context as an :class:` ~enrichmcp.EnrichContext ` .
121121
122122``` python
123- app = EnrichMCP(" My API" , description = " desc" )
123+ app = EnrichMCP(" My API" , instructions = " desc" )
124124ctx = app.get_context()
125125assert ctx.fastmcp is app.mcp
126126```
@@ -208,7 +208,7 @@ from enrichmcp import EnrichMCP, EnrichModel, Relationship
208208from pydantic import Field
209209
210210# Create app
211- app = EnrichMCP(title = " Bookstore API" , description = " API for managing books and authors" )
211+ app = EnrichMCP(title = " Bookstore API" , instructions = " API for managing books and authors" )
212212
213213
214214# Define entities
0 commit comments