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

Method with_description

crates/opencode-agent/src/agent.rs:439–442  ·  view source on GitHub ↗
(mut self, description: impl Into<String>)

Source from the content-addressed store, hash-verified

437 }
438
439 pub fn with_description(mut self, description: impl Into<String>) -> Self {
440 self.description = Some(description.into());
441 self
442 }
443
444 pub fn tool_permission_decision(&self, tool_name: &str) -> PermissionDecision {
445 PermissionNext::evaluate(self, tool_name)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected