delete_epic
Delete a specific epic by providing its project and epic UUIDs.
Instructions
Delete an epic by ID.
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": {
"project_id": "<project_id>",
"epic_id": "<epic_id>"
},
"name": "delete_epic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | UUID of the project | |
| epic_id | Yes | UUID of the epic |
Implementation Reference
- plane_mcp/tools/epics.py:264-285 (handler)The delete_epic MCP tool handler. It takes project_id and epic_id, gets the Plane client context, and calls client.work_items.delete() with the epic_id as the work_item_id.
@mcp.tool() def delete_epic( project_id: str, epic_id: str, ) -> None: """ Delete an epic by ID. Args: project_id: UUID of the project epic_id: UUID of the epic Returns: None """ client, workspace_slug = get_plane_client_context() return client.work_items.delete( workspace_slug=workspace_slug, project_id=project_id, work_item_id=epic_id, ) - plane_mcp/tools/epics.py:19-19 (registration)The registration function that registers all epic tools (including delete_epic) with the MCP server via the @mcp.tool() decorator.
def register_epic_tools(mcp: FastMCP) -> None: - plane_mcp/tools/__init__.py:47-48 (registration)The top-level registration call that invokes register_epic_tools from the tools __init__.py.
register_epic_tools(mcp) register_milestone_tools(mcp)