Glossary
Tool
A tool is a named action that an app makes available. A model can ask for a tool by name. The app decides whether to run it, runs it, and reports what happened.
Tools are how a model’s choice turns into something happening. Without a tool, a language model can only produce text.
- Model asks for “Move right”
- The app checks and runs it
- The robot is one square along
These pictures show the idea. They are drawings, and nothing in them is running.
Examples
- In a lessonIn Meet your robot, lessons 2 and 3
Move right is a supplied tool. It moves the robot one square to the right. In lesson 3 you build a tool of your own from blocks.
- Model outputThe model’s part
A request, such as: use Move right. That is all the model produces. Its choice is helped by each tool’s name and description.
- Tool: the app actsThe app’s part
Checking that the tool is in the toolbox, moving the robot one block at a time, stopping at a wall, and reporting back what really happened.
- Possibility, not builtA game character
A character could have a tool that opens a door, or one that adds an item to a backpack.
Keep in mind
- A model can only ask for tools it has been given.
- The app, not the model, carries the action out and can refuse it.
Related words
Where you can try it
Meet your robot, lesson 2: What is a tool? Lesson 3: Build your first tool.