pub fn read_tool(media: bool) -> FunctionToolExpand description
The harness read tool.
media: false is for a model that rejects image and document blocks: read then describes
those files in text instead. Text files come back as cat -n style numbered lines, the first
2000 by default; images are checked against their signature, so a mislabeled file is an error
rather than an image block that would poison the history.
use strands::Tool;
use strands_harness::tools::file_tools::read_tool;
let read = read_tool(true);
assert_eq!(read.name(), "read");