Early Tool vs Resource Examples

#2
by coderdad - opened
Hugging Face MCP Course org

While defining MCP capabilities, https://huggingface.co/learn/mcp-course/unit1/capabilities, there is a distinction between a tool and a resource. The examples often show something like getting the current weather as a tool, but getting a file is a resource. I know there isn't a hard and fast rule for the difference, but would it make sense to have a tool example that was more obvious why it isn't a resource? There is also the distinction between the tool being called by the model and the resource being called by the host. Are those not considered the same thing when creating an MCP server?

Thank you for the course, it has been very helpful.

Sign up or log in to comment