Skip to content
Charming Docs
Esc
navigateopen⌘Jpreview
On this page

Delete Routine

Use this to stop and remove a Routine.

MCP name: delete_routine

Tool contract

{
  "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"
  }
}

Was this page helpful?