Compute Services Create Service
compute_services_create_serviceCreates a Snowflake service from a stage specification file and compute pool, enabling deployment of service definitions without writing CREATE SERVICE SQL manually.
Instructions
Create a service from a stage specification file. https://docs.snowflake.com/en/sql-reference/sql/create-service
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": {
"service_name": "<service_name>",
"compute_pool": "<compute_pool>",
"stage": "<stage>",
"specification_file": "<specification_file>"
},
"name": "compute_services_create_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage | Yes | Quote names that aren't all uppercase, exactly as list tools return them. | |
| database | No | Quote names that aren't all uppercase, exactly as list tools return them. | |
| schema_name | No | Quote names that aren't all uppercase, exactly as list tools return them. | |
| compute_pool | Yes | Quote names that aren't all uppercase, exactly as list tools return them. | |
| service_name | Yes | Quote names that aren't all uppercase, exactly as list tools return them. | |
| if_not_exists | No | ||
| specification_file | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||