Check if a tool exists
(&self, name: &str)
| 111 | |
| 112 | /// Check if a tool exists |
| 113 | pub fn contains(&self, name: &str) -> bool { |
| 114 | let tools = self.tools.read().unwrap(); |
| 115 | tools.contains_key(name) |
| 116 | } |
| 117 | |
| 118 | /// Get all tool definitions for LLM |
| 119 | pub fn definitions(&self) -> Vec<ToolDefinition> { |
no outgoing calls