Abort a config flow
integrations_abort_config_flowAbort an unfinished Home Assistant config flow to discard its in-progress state when cancelling a setup started by mistake.
Instructions
Abort a config flow that has not been finished yet.
Calls DELETE /api/config/config_entries/flow/{flow_id}. Nothing was
persisted by an unfinished flow, so this discards only the flow's
in-progress state, not a config entry.
Use when: cancelling a setup that was started by mistake or is no
longer wanted.
Not for: removing a completed integration — use
integrations_remove_integration.
Returns: HA's abort response for the flow.
Errors: raises httpx.HTTPStatusError if flow_id is unknown or
already finished.
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": {
"flow_id": "<flow_id>"
},
"name": "integrations_abort_config_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_id | Yes | Flow id from `integrations_start_config_flow` or `integrations_list_flows_in_progress`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||