Grokking the Model Context Protocol (MCP)
0% completed
Resources and Resource Templates
The model needs the travel policy on most expense requests. Should it call a tool to fetch the policy every time?
It could, but each call would use one model turn for an answer that never depends on an argument. The policy is one document with one address. A server can offer it as a resource, which the host reads once, keeps for a stated time, and adds to the conversation when it is needed.
An earlier lesson defined resources and resource templates
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%