Receive request for Dataverse operation using Python SDK.
Gather Dataverse environment details (table schemas, authentication).
Plan code generation, considering error handling and optimization.
Generate Python code with imports, connection setup, and operation logic.
Validate generated code for correctness and efficiency.
Provide the generated code to the user.