registerBaseTool method
Register a BaseTool with this server.
Implementation
void registerBaseTool(BaseTool tool) {
registerTool(
tool.name,
description: tool.description,
inputSchema: tool.inputSchema,
outputSchema: tool.outputSchema,
annotations: tool.annotations,
meta: tool.meta,
callback: (args, extra) => tool.execute(args),
);
}