Example

Example of a Prompt for LLM Tool Use

An example of how to prompt a Large Language Model for tool use involves providing both an instruction and a specific question. For instance, to find out where the 2028 Olympics will be held using a web search tool, the LLM can be given the following complete prompt:

Your task is to answer the following question. You may use external tools, such as web search, to assist you.

Where will the 2028 Olympics be held?

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Foundations of Large Language Models Course