Recipes Warehouse Scale And Execute
recipes_warehouse_scale_and_executeScales a Snowflake warehouse to a target size, runs a heavy query, and optionally restores the original size after confirmation.
Instructions
Composite recipe: Safely scale up a warehouse, run a heavy query, and optionally restore previous size. Requires confirmation.
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": {
"warehouse_name": "<warehouse_name>",
"target_size": "<target_size>",
"query": "<query>"
},
"name": "recipes_warehouse_scale_and_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| confirm | No | ||
| target_size | Yes | ||
| warehouse_name | Yes | Quote names that aren't all uppercase, exactly as list tools return them. | |
| restore_previous_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||