問題文
A team wants to expose a read-only product catalog so the host application can decide how much of it to place in model context. Which primitive fits?
選択肢
- Resources, because they are application-driven read-only data identified by a URI.
- Prompts, because a catalog is reference material that the user picks from a menu each time it is needed.
- Tools, because exposing the catalog as a search tool lets the model choose the query and therefore retrieve exactly the rows it needs, which is more efficient than handing the application a URI it has to decide how to slice.
- Sampling, because the catalog needs to be summarized before the host can budget model context for any of it.