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

Method function_call

crates/opencode-provider/src/vertex.rs:344–353  ·  view source on GitHub ↗
(name: &str, args: serde_json::Value)

Source from the content-addressed store, hash-verified

342 }
343
344 fn function_call(name: &str, args: serde_json::Value) -> Self {
345 Self {
346 text: None,
347 function_call: Some(VertexFunctionCall {
348 name: name.to_string(),
349 args,
350 }),
351 function_response: None,
352 }
353 }
354
355 fn function_response(name: &str, response: &str) -> Self {
356 Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected