From the course: Claude with Amazon Bedrock by Anthropic
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
The text editor tool
From the course: Claude with Amazon Bedrock by Anthropic
The text editor tool
As we saw earlier on inside this module, usually you and I, as developers, author all the different tools that we want to pass off to Claude. But there is one tool that Claude has access to by default. This is called the Text Editor tool, and it is built directly into Claude. This tool gives Claude a wide variety of abilities related to just about everything you can do inside of a standard text editor. So for example, this tool gives Claude the ability to open up files or directories and read the contents. It can take a look at specific ranges of text inside of a file. It can add or replace text inside of a file. It can make new files. It can do undo. Essentially everything you would do inside of a normal text editor. So this dramatically expands Claude's abilities and almost right out of the gate, kind of gives Claude the ability to act as a software engineer. Now, understanding the text editor tool is just a little bit confusing. So I want to walk you through a couple of different…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Introducing tool use4m 14s
-
(Locked)
Tool functions5m 48s
-
(Locked)
JSON schema for tools5m 17s
-
(Locked)
Handling tool use responses11m 45s
-
(Locked)
Running tool functions11m 23s
-
(Locked)
Sending tool results3m 4s
-
(Locked)
Multiturn conversations with tools6m 35s
-
(Locked)
Adding multiple tools3m 36s
-
(Locked)
Batch tool use7m 15s
-
(Locked)
Structured data with tools9m 13s
-
(Locked)
Flexible tool extraction4m 40s
-
(Locked)
The text editor tool11m 23s
-
(Locked)
-
-
-
-
-