sql_endpoint_execute_query
Execute T-SQL queries directly on a Microsoft Fabric lakehouse or warehouse endpoint. Provide workspace ID, item ID, and item type to retrieve or manipulate data.
Instructions
Execute a T-SQL query against a lakehouse or warehouse SQL endpoint
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | T-SQL query to execute | |
| itemId | Yes | The lakehouse or warehouse ID | |
| maxRows | No | Maximum rows to return (default: 1000) | |
| database | No | Database name (defaults to the item's display name) | |
| itemType | Yes | Type of the item to query | |
| workspaceId | Yes | The workspace ID containing the resource |