model_undeploy
Tear down a whole Serve application and remove all deployments. Preview the irreversible action by passing dry_run=True before undeploying.
Instructions
[WRITE][risk=high] Tear down a whole Serve application (removes all deployments).
Irreversible without the original import path — pass dry_run=True to preview.
Args: application: Serve application name (from serve_deployment_list). dry_run: If True, preview without undeploying. target: Inference target name from config; omit for the default.
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": {
"application": "<application>"
},
"name": "model_undeploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| application | Yes |