add baobab mcp

This commit is contained in:
Timur Gordon
2025-03-21 03:26:26 +01:00
parent 57d30eab2d
commit 92cceeb64b
27 changed files with 1064 additions and 38 deletions

View File

@@ -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") }