Update tools.mdx

This commit is contained in:
Jeremiah Lowin 2025-04-25 20:02:46 -04:00
commit b62f005307

View file

@ -205,6 +205,10 @@ FastMCP automatically converts the value returned by your function into the appr
FastMCP will attempt to serialize other types to a string if possible.
<Tip>
At this time, FastMCP responds only to your tool's return *value*, not its return *annotation*.
</Tip>
```python
from fastmcp import FastMCP, Image
import io