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

Method with_disabled_tools

crates/opencode-agent/src/executor.rs:80–86  ·  view source on GitHub ↗
(mut self, tools: I)

Source from the content-addressed store, hash-verified

78 }
79
80 pub fn with_disabled_tools<I>(mut self, tools: I) -> Self
81 where
82 I: IntoIterator<Item = String>,
83 {
84 self.disabled_tools = tools.into_iter().collect();
85 self
86 }
87
88 pub fn with_persisted_subsessions(
89 mut self,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected