(&self, path: Option<&str>)
| 51 | } |
| 52 | |
| 53 | pub(super) async fn ls(&self, path: Option<&str>) -> Result<ToolCallResult> { |
| 54 | let args = match path { |
| 55 | Some(path) => serde_json::json!({ "path": path }), |
| 56 | None => serde_json::json!({}), |
| 57 | }; |
| 58 | self.call("ls", args).await |
| 59 | } |
| 60 | |
| 61 | pub(super) async fn edit_file( |
| 62 | &self, |