(value: Option<&serde_json::Value>)
| 227 | } |
| 228 | |
| 229 | fn is_relative_path(value: Option<&serde_json::Value>) -> bool { |
| 230 | value |
| 231 | .and_then(|v| v.as_str()) |
| 232 | .is_some_and(|path| !path.is_empty() && !PathBuf::from(path).is_absolute()) |
| 233 | } |
| 234 | |
| 235 | fn tool_requires_workspace_path(tool_name: &str, input: &serde_json::Value) -> bool { |
| 236 | match tool_name { |
no test coverage detected