moved setTool from proxy to command