Get metadata of the cell in kernel

Hello, we do have a kernel for JupyterLab and we want to enhance it, but there is one problem for us. Currently, we can’t get the cell metadata on the kernel but we would like to pass extra data to the kernel to process, what can we do to have that extra data?