MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / id

Method id

crates/opencode-tool/src/read.rs:48–50  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

46#[async_trait]
47impl Tool for ReadTool {
48 fn id(&self) -> &str {
49 "read"
50 }
51
52 fn description(&self) -> &str {
53 "Reads a file from the local filesystem. Can read text files, list directory contents, or handle binary files (images, PDFs) as base64."

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected