Class: LinearToonMcp::Tools::DeleteProjectMilestone

Inherits:
Delete
  • Object
show all
Defined in:
lib/linear_toon_mcp/tools/delete_project_milestone.rb

Overview

Delete a project milestone by id. Issues assigned to the milestone are detached, not deleted.

Constant Summary collapse

MUTATION =
<<~GRAPHQL
  mutation($id: String!) {
    projectMilestoneDelete(id: $id) { success entityId }
  }
GRAPHQL

Instance Method Summary collapse

Methods inherited from Delete

entity, entity_label, entity_name, label, mutation, mutation_name, mutation_string, #perform

Methods inherited from Base

call, #call, error_response, #perform, success_response

Instance Method Details

#variables(id:) ⇒ Object



32
33
34
# File 'lib/linear_toon_mcp/tools/delete_project_milestone.rb', line 32

def variables(id:)
  {id: id}
end