pub async fn get_table_schema( schema_fn: impl Future<Output = Result<impl Serialize, AppError>>, database_name: &str, table_name: &str, ) -> Result<String, ErrorData>
Executes a get_table_schema tool call.
get_table_schema
Returns ErrorData if the backend query or JSON serialization fails.
ErrorData