resource_restart
Restart one running resource and its active sidecar containers without rebuilding, while leaving unrelated resources untouched. Requires a running stack; set rebuild to recreate the image.
Instructions
Restart one running resource in the stack along with any active container resources that transitively declare sidecarOf on it (Flisk-generated Compose containers restart without rebuilding their image; local-process resources of a project that runs without Tilt are restarted by the run that supervises them (its .env is re-read, only that service is stopped and started, and the result says whether it is ready, failed with its own output, or still starting); other non-container resources and projects using an imported Tiltfile fall back to tilt trigger); unrelated resources are not touched. It needs a running stack: start one with up. Set rebuild to true for a full Tilt update (rebuild the image and recreate the container, which re-reads the project .env). Names come from resource_list. Set projectPath when the MCP server is not running from the project root.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "resource_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rebuild | No | Rebuild the image and recreate the container through Tilt | |
| resource | No | Name of the resource to restart | |
| projectPath | No | Absolute path to the Flisk project root; run this operation from that directory. | |
| waitSeconds | No | Local-process stacks: how long to wait for the service to be ready again (default 60, max 300; 0 returns once the restart has begun) |