MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / add

Method add

python/src/tools/result.rs:216–218  ·  view source on GitHub ↗

Add a result to the collection

(&mut self, result: ToolResult)

Source from the content-addressed store, hash-verified

214
215 /// Add a result to the collection
216 pub fn add(&mut self, result: ToolResult) {
217 self.results.push(result);
218 }
219
220 /// Get all results
221 pub fn get_all(&self) -> Vec<ToolResult> {

Callers 6

graphbitFunction · 0.45
add_resultMethod · 0.45
execute_toolsMethod · 0.45

Calls

no outgoing calls