(&self, path: &str, diff: &str)
| 75 | } |
| 76 | |
| 77 | pub(super) async fn patch_file(&self, path: &str, diff: &str) -> Result<ToolCallResult> { |
| 78 | let args = serde_json::json!({ "file_path": path, "diff": diff }); |
| 79 | self.call("patch", args).await |
| 80 | } |
| 81 | |
| 82 | pub(super) async fn bash(&self, command: &str) -> Result<String> { |
| 83 | let args = serde_json::json!({ "command": command }); |