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

Method fmt

crates/opencode-tool/src/tool.rs:677–685  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

675
676impl std::fmt::Debug for ToolContext {
677 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
678 f.debug_struct("ToolContext")
679 .field("session_id", &self.session_id)
680 .field("message_id", &self.message_id)
681 .field("agent", &self.agent)
682 .field("directory", &self.directory)
683 .field("worktree", &self.worktree)
684 .finish()
685 }
686}
687
688#[async_trait]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected