How to pass table structure to LLM model

Can anyone know how to get table structure and pass it to LLM model for generating SQL queries.

I want to pass table structure (not entire table) to LLM model and generate sql queries