Whatever message this page gives is out now! Go check it out!
listTools function returns the list of all tools exposed by the connected MCP server for a given MCP client. Each tool entry includes metadata such as the tool's name, description, and input schema. This is typically the first method you call after creating an MCP client, to discover what capabilities the server provides.listTools()tools = mcpClient.listTools()<cfscript>
transport = {
"type": "http",
"url": "https://gitmcp.io/langchain-ai/langgraph"
}
mcpClientConfig = {
"transport": transport,
"requestTimeout": 30,
"initializationTimeout": 10
}
mcpclient = MCPClient(mcpClientConfig);
myprompts = mcpClient.listtools()
toolsArray=myprompts.tools
writeOutput("<b>List of tools</b>" & "<br>")
for (p in toolsArray) {
writeOutput(p.name & "<br>")
}
</cfscript>List of tools
fetch_langgraph_documentation
search_langgraph_documentation
search_langgraph_code
fetch_generic_url_content