Describe the bug
From AI suggested solution, mcp has available_tools, but I don't see it.
To Reproduce
Steps to reproduce the behavior:
from fastmcp import FastMCP
mcp = FastMCP("Test")
print(hasattr(mcp, 'available_tools'))
Expected behavior
expect True, but got False
Additional context
I am trying to apply the tools call by something like this
ai_result = await ai_client.chat.completions.create(
model=MODEL,
messages=messages,
temperature=0.2,
tools=tools, # Let the MCP/server determine available tools
timeout=TIMEOUT
)
Describe the bug
From AI suggested solution, mcp has available_tools, but I don't see it.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
expect True, but got False
Additional context
I am trying to apply the tools call by something like this