retire_script
Soft-retire an exact draft or active script revision while keeping source, metadata, and receipts; it removes the revision from default search and latest and blocks new execution.
Instructions
Soft-retire an exact draft or active revision. Source, metadata, and receipts are kept; the revision leaves default search and latest, and rejects new execution. No approval is required.
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": {
"scriptId": "<scriptId>",
"revision": "<revision>"
},
"name": "retire_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| revision | Yes | ||
| scriptId | Yes | Stable script identifier |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| status | Yes |