---
title: service_update
url: /docs/ai-agents/mcp-tools/services/service_update/
canonical_url: https://blossom88.com/docs/ai-agents/mcp-tools/services/service_update/
markdown_url: https://blossom88.com/docs/ai-agents/mcp-tools/services/service_update.md
summary: Update a Service's command, port, size, health check or storage on the
  next deploy.
categories:
  - mcp
  - reference
---

# service_update

Update a Service's command, port, size, health check or storage on the next deploy. Inspect with environment_pending_changes_show.

| | |
|---|---|
| Access | Consequential change; requires confirmation |
| Same as | [`blossom service:update`](/docs/reference/cli/service/update/) |

## Arguments

| Argument | Type | Description |
|---|---|---|
| `yes` | boolean | true once the person confirms. |
| `id` | string | Service id. Required. |
| `data` | object | Required. |
| `data.name` | string | — |
| `data.image` | ["string", "null"] | Image override. |
| `data.command` | string | — |
| `data.entrypoint` | string | — |
| `data.stop_grace_period_seconds` | ["integer", "null"] | Seconds before forced stop. Null uses 5. |
| `data.port` | integer | — |
| `data.publicly_exposed` | boolean | — |
| `data.desired_size` | integer | Replicas. |
| `data.enabled` | boolean | — |
| `data.health_check` | object | Readiness check. |
| `data.storage` | object | — |
| `data.resources` | object | Preset or custom resources. |

## Example

```json
{"id":"service-100","data":{"command":"web"},"yes":true}
```
