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

Method with_tools

crates/opencode-provider/src/message.rs:253–256  ·  view source on GitHub ↗
(mut self, tools: Vec<ToolDefinition>)

Source from the content-addressed store, hash-verified

251 }
252
253 pub fn with_tools(mut self, tools: Vec<ToolDefinition>) -> Self {
254 self.tools = Some(tools);
255 self
256 }
257}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected