Compute Services Get Service Logs
compute_services_get_service_logsFetches logs for a specified Snowflake service container instance to help troubleshoot container behavior and inspect runtime output.
Instructions
Read service container logs. https://docs.snowflake.com/en/sql-reference/functions/system_get_service_logs
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>",
"instance_id": "<instance_id>",
"container_name": "<container_name>"
},
"name": "compute_services_get_service_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Quote names that aren't all uppercase, exactly as list tools return them. | |
| num_lines | No | ||
| instance_id | Yes | ||
| schema_name | No | 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. | |
| container_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||