add baobab mcp
This commit is contained in:
@@ -118,7 +118,7 @@ fn (b &MemoryBackend) tool_list() ![]Tool {
|
||||
return b.tools.values()
|
||||
}
|
||||
|
||||
fn (b &MemoryBackend) tool_call(name string, arguments map[string]Any) !ToolCallResult {
|
||||
fn (b &MemoryBackend) tool_call(name string, arguments map[string]json2.Any) !ToolCallResult {
|
||||
// Get the tool handler
|
||||
handler := b.tool_handlers[name] or { return error("tool handler not found") }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user