MCPcopy Index your code
hub / github.com/InfinitiBit/graphbit / add_result

Method add_result

python/src/tools/executor.rs:212–215  ·  view source on GitHub ↗
(&mut self, result: ToolResult)

Source from the content-addressed store, hash-verified

210 }
211
212 fn add_result(&mut self, result: ToolResult) {
213 self.results.add(result);
214 self.tool_call_count += 1;
215 }
216
217 fn set_variable(&mut self, key: String, value: Value) {
218 self.variables.insert(key, value);

Callers 1

execute_toolsMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected