---
title: "Delete Routine"
description: "Use this to stop and remove a Routine."
sidebar:
  order: 4
---

<!-- Generated by apps/docs/scripts/generate-mcp-reference.mjs. -->

MCP name: `delete_routine`

## Tool contract

```json
{
  "annotations": {
    "destructiveHint": true,
    "openWorldHint": false,
    "readOnlyHint": false,
    "title": "Delete Routine"
  },
  "description": "Use this to stop and remove a Routine.",
  "execution": {
    "taskSupport": "forbidden"
  },
  "inputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
      "routine_id": {
        "description": "The Routine id (`routine_<uuid>` form) to delete",
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "routine_id"
    ],
    "type": "object"
  },
  "name": "delete_routine",
  "outputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "deleted": {
        "description": "True when a Routine was removed; false when it was already gone.",
        "type": "boolean"
      },
      "ok": {
        "const": true,
        "description": "Indicates success. Errors arrive as content with isError:true.",
        "type": "boolean"
      }
    },
    "required": [
      "ok",
      "deleted"
    ],
    "type": "object"
  }
}
```

Found a bug or need a feature? [Tell us](/docs/capabilities/feedback) with `submit_feedback` or `POST /app/{id}/feedback`. Your feedback shapes what we build next.
