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

Method with_metadata

crates/opencode-tool/src/tool.rs:241–244  ·  view source on GitHub ↗
(mut self, key: impl Into<String>, value: serde_json::Value)

Source from the content-addressed store, hash-verified

239 }
240
241 pub fn with_metadata(mut self, key: impl Into<String>, value: serde_json::Value) -> Self {
242 self.metadata.insert(key.into(), value);
243 self
244 }
245
246 pub fn with_always(mut self, always: impl Into<String>) -> Self {
247 self.always.push(always.into());

Callers 14

executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected