Get tool metadata
(&self, name: &str)
| 141 | |
| 142 | /// Get tool metadata |
| 143 | pub fn get_tool_info(&self, name: &str) -> PyResult<Option<String>> { |
| 144 | let registry_guard = self.registry.lock().map_err(|e| { |
| 145 | PyErr::new::<pyo3::exceptions::PyRuntimeError, _>(format!( |
| 146 | "Failed to acquire registry lock: {}", |
| 147 | e |
| 148 | )) |
| 149 | })?; |
| 150 | |
| 151 | registry_guard.get_tool_metadata(name) |
| 152 | } |
| 153 | |
| 154 | /// String representation |
| 155 | pub fn __repr__(&self) -> String { |
nothing calls this directly
no test coverage detected