mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 06:24:18 +02:00
Internal refactor of MCP handlers (#2005)
This commit is contained in:
parent
05dc0f4771
commit
91af3cd2ae
14 changed files with 247 additions and 192 deletions
|
|
@ -47,7 +47,7 @@ async def test_tool_annotations_in_mcp_protocol():
|
|||
return message
|
||||
|
||||
# Check via MCP protocol
|
||||
mcp_tools = await mcp._mcp_list_tools()
|
||||
mcp_tools = await mcp._list_tools_mcp()
|
||||
assert len(mcp_tools) == 1
|
||||
assert mcp_tools[0].annotations is not None
|
||||
assert mcp_tools[0].annotations.title == "Echo Tool"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue