tool dopus.core.tool tool tool(func=None) Decorator to register a function as a tool. This decorator adds metadata to the function and registers it in the tool registry. Returns: Name Type Description callable The decorated function.