Skip to content

Commit 2a1e6ac

Browse files
committed
refactor: update import path for fastmcp Context
1 parent 5e20bcb commit 2a1e6ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/CUSTOM_TOOLS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Create a Python file **anywhere in your Unity project**. For example, `Assets/Ed
2929

3030
```python
3131
from typing import Annotated, Any
32-
from mcp.server.fastmcp import Context
32+
from fastmcp import Context
3333
from registry import mcp_for_unity_tool
3434
from unity_connection import send_command_with_retry
3535

@@ -127,7 +127,7 @@ Here's a complete example showing how to create a screenshot capture tool.
127127
```python
128128
from typing import Annotated, Any
129129

130-
from mcp.server.fastmcp import Context
130+
from fastmcp import Context
131131

132132
from registry import mcp_for_unity_tool
133133
from unity_connection import send_command_with_retry

0 commit comments

Comments
 (0)