MCPcopy Create free account
hub / github.com/AI45Lab/Code / add_required_tool

Method add_required_tool

core/src/planning/mod.rs:240–245  ·  view source on GitHub ↗
(&mut self, tool: impl Into<String>)

Source from the content-addressed store, hash-verified

238 }
239
240 pub fn add_required_tool(&mut self, tool: impl Into<String>) {
241 let tool_str = tool.into();
242 if !self.required_tools.contains(&tool_str) {
243 self.required_tools.push(tool_str);
244 }
245 }
246
247 /// Get steps that are ready to execute (dependencies met)
248 pub fn get_ready_steps(&self) -> Vec<&Task> {

Callers 2

parse_plan_responseMethod · 0.80

Calls 1

containsMethod · 0.80

Tested by

no test coverage detected