# delete_agent_automation

Source: https://modulify.ai/docs/mcp/agent-automations/delete-agent-automation

Permanently deletes one agent automation on a site, along with its run history.

- Title: Delete an agent automation
- Scope: `config:write`
- Access: Destructive

Deleting removes the automation and its run history, and it cannot be undone. Runs it started today still count toward the site's daily run limit until the UTC day ends. It is refused while a run of the automation is in progress, while its last charges are still settling, and when Modulify switched it off. Ask the person before you call it. See [Agents](https://modulify.ai/docs/automations/agents#delete-an-agent).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |
| `automationId` | string | Yes | The automation id from `list_agent_automations`. |