(
handshake: &DaemonHandshake,
tool_name: &str,
arguments: serde_json::Value,
)
| 1235 | } |
| 1236 | |
| 1237 | pub async fn call_default_tool( |
| 1238 | handshake: &DaemonHandshake, |
| 1239 | tool_name: &str, |
| 1240 | arguments: serde_json::Value, |
| 1241 | ) -> Result<serde_json::Value> { |
| 1242 | let socket_path = default_available_socket_path()?; |
| 1243 | call_tool(&socket_path, handshake, tool_name, arguments).await |
| 1244 | } |
| 1245 | |
| 1246 | #[cfg(unix)] |
| 1247 | async fn run_foreground_unix(socket_path: PathBuf) -> Result<()> { |
no test coverage detected