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

Method parameters

crates/opencode-tool/src/write.rs:40–55  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

38 }
39
40 fn parameters(&self) -> serde_json::Value {
41 serde_json::json!({
42 "type": "object",
43 "properties": {
44 "file_path": {
45 "type": "string",
46 "description": "The absolute path to the file to write"
47 },
48 "content": {
49 "type": "string",
50 "description": "The content to write to the file"
51 }
52 },
53 "required": ["file_path", "content"]
54 })
55 }
56
57 async fn execute(
58 &self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected