pangea_preview_down
Stops and permanently purges a pull request preview environment, with stop-only and retry options for stalled or blocked deletions.
Instructions
Idempotently stop and permanently purge (or stop-only) a PR preview environment.
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": {
"pr": "<pr>"
},
"name": "pangea_preview_down"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr | Yes | Pull request number | |
| name | No | Optional explicit preview project name | |
| retry | No | Explicitly retry a stalled deletion in attention/blocked state or purge an attention-state preview (owner deploy credential required; default: false) | |
| base_name | No | Optional base name for {base}-pr-{pr} | |
| directory | No | Optional local directory containing pangea.yaml | |
| stop_only | No | Stop without permanently purging | |
| clone_from | No | Optional base project ID (prj_...) used to derive {base} | |
| wait_seconds | No | Seconds to wait for stop/deletion confirmation (default: 60) | |
| name_template | No | Optional project name template (default: '{base}-pr-{pr}') |