update_procedure
Replace an existing stored procedure in a Microsoft Fabric warehouse or SQL analytics endpoint with a new definition. Specify workspace, item, qualified name, and body to apply CREATE OR ALTER PROCEDURE.
Instructions
Redefine a stored procedure via CREATE OR ALTER PROCEDURE.
Stored procedures are supported on both Fabric Data Warehouses and SQL Analytics Endpoints.
CAUTION: body is executed verbatim as DDL. Ensure the body
matches the user's intent before calling this tool.
Args:
workspace: Workspace name or GUID.
item: Warehouse or SQL endpoint name or GUID.
qualified_name: Dot-separated qualified procedure name, e.g. dbo.usp_load.
body: The new procedure body (the AS … section).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace": "<workspace>",
"item": "<item>",
"qualified_name": "<qualified_name>",
"body": "<body>"
},
"name": "update_procedure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| item | Yes | ||
| workspace | Yes | ||
| qualified_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||