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

Method parameters

crates/opencode-tool/src/glob_tool.rs:36–51  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

34 }
35
36 fn parameters(&self) -> serde_json::Value {
37 serde_json::json!({
38 "type": "object",
39 "properties": {
40 "pattern": {
41 "type": "string",
42 "description": "The glob pattern to match files against"
43 },
44 "path": {
45 "type": "string",
46 "description": "The directory to search in. Defaults to current directory."
47 }
48 },
49 "required": ["pattern"]
50 })
51 }
52
53 async fn execute(
54 &self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected