deploy_safety
Scan source code for references to fields, models, indexes, or constraints that pending destructive migrations remove or rename, and determine if each reference blocks deployment.
Instructions
Is a pending destructive migration safe to deploy yet?
A migration linter says RemoveField is backward incompatible, always. This
answers the question that actually decides the deploy: has the code caught
up? For every unapplied migration that removes or renames a field, model,
index or constraint, the source tree is searched for code that still refers
to it, and each one comes back either "blocking" with file and line numbers,
or "clear".
Args:
search_path: directory to scan. Defaults to the configured project path.
max_hits_per_symbol: stop after this many references per symbol.
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": "deploy_safety"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search_path | No | ||
| max_hits_per_symbol | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||