(&self, name: &str, args: serde_json::Value)
| 101 | } |
| 102 | |
| 103 | pub(super) async fn call(&self, name: &str, args: serde_json::Value) -> Result<ToolCallResult> { |
| 104 | let result = self.tool_executor.execute(name, &args).await?; |
| 105 | Ok(ToolCallResult { |
| 106 | name: name.to_string(), |
| 107 | output: result.output, |
| 108 | exit_code: result.exit_code, |
| 109 | metadata: result.metadata, |
| 110 | error_kind: result.error_kind, |
| 111 | }) |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | fn parse_glob_output(output: &str) -> Vec<String> { |
no test coverage detected