# Linear

Linear is a streamlined issue tracking and project planning tool for modern teams, featuring fast workflows, keyboard shortcuts, and GitHub integrations

- **Category:** project management
- **Auth:** OAUTH2, API_KEY
- **Composio Managed App Available?** Yes
- **Tools:** 32
- **Triggers:** 3
- **Slug:** `LINEAR`
- **Version:** 20260309_00

## Tools

### Create attachment

**Slug:** `LINEAR_CREATE_ATTACHMENT`

Creates a new attachment and associates it with a specific, existing Linear issue.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | URL of the attachment's content (e.g., file, webpage, online resource). |
| `title` | string | Yes | Title for the attachment. |
| `issue_id` | string | Yes | Identifier of the existing Linear issue to which the attachment will be added. Accepts either UUID format (e.g., '590a1127-f98b-49fc-ba74-2df8751c089e') or issue key format (e.g., 'GHO-300', 'ENG-123'). |
| `subtitle` | string | No | Optional subtitle or short description for the attachment. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Add reaction to comment

**Slug:** `LINEAR_CREATE_COMMENT_REACTION`

Tool to add a reaction to an existing Linear comment. Use when you want to programmatically react to a comment on an issue.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `emoji` | string | Yes | Emoji for the reaction. Supports Unicode emojis or shortcodes like ':thumbsup:'. |
| `comment_id` | string | Yes | Identifier of the existing Linear comment to add the reaction to. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create a comment

**Slug:** `LINEAR_CREATE_LINEAR_COMMENT`

Creates a new comment on a specified Linear issue. This action modifies shared workspace data and is not reversible — confirm the target issue and comment content before executing.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes | Non-empty comment content, in plain text or Markdown. Must not be whitespace-only. |
| `issueId` | string | Yes | ID of the Linear issue to add the comment to. Must be in one of two formats: (1) UUID format: a 36-character string with hyphens (e.g., 'c5748ccf-c67f-4af4-bd74-fe513dc4c054'), or (2) Shorthand identifier: team key (alphanumeric, must start with a letter, 1-10 chars) followed by hyphen and issue number (e.g., 'ENG-123', 'PROJ-456'). Use LIST_LINEAR_ISSUES action to retrieve valid issue IDs if needed. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create linear issue

**Slug:** `LINEAR_CREATE_LINEAR_ISSUE`

Creates a new issue in a specified Linear project and team, requiring team_id and title, and allowing optional properties like description, assignee, state, priority, cycle, and due date. All UUID parameters (state_id, assignee_id, cycle_id, label_ids, project_id) must belong to the same team as team_id. The created issue's id is returned in data.id — capture it for use as parent_id in sub-issues or follow-up operations. No template_id field exists; expand templates manually into title and description before calling.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | The title of the new issue. |
| `team_id` | string | Yes | UUID of the team responsible for this issue. IMPORTANT: You must use a valid team UUID that exists in your Linear workspace and that the authenticated user has access to. Use the LINEAR_GET_ALL_LINEAR_TEAMS action to retrieve the list of available teams and their UUIDs. Do not use team keys (like 'INT' or 'ENG') or team names (like 'Backend' or 'Frontend') - only the UUID format is accepted (e.g., '9a7f1e3c-4d5b-6a7f-8e9d-0a1b2c3d4e5f'). |
| `cycle_id` | string | No | UUID of the cycle (sprint) to assign this issue to. Cycles are time-bound periods used to organize and prioritize work. Only applicable if the team has cycles feature enabled. Must be a valid UUID format. Must belong to the same team as team_id. |
| `due_date` | string | No | The target completion date for the issue in ISO8601 datetime format or YYYY-MM-DD TimelessDate format (e.g., '2024-12-31' or '2024-12-31T23:59:59Z') |
| `estimate` | integer | No | The estimated complexity or effort for the issue, represented as a numerical point value (e.g., 1, 2, 3, 5, 8). The specific scale used (e.g., Fibonacci, Linear, T-shirt sizes mapped to numbers) is defined by the team's settings. This field only applies if the estimates feature is enabled for the team. A value of 0 typically means no estimate has been set. |
| `priority` | integer | No | Priority of the issue. 0 indicates no priority, 1 is Urgent, 2 is High, 3 is Normal, and 4 is Low. |
| `state_id` | string | No | UUID of the workflow state to assign to the issue (must be a valid UUID format, not a state name like 'backlog' or 'done') Must belong to the same team as team_id — cross-team state UUIDs will be rejected. |
| `label_ids` | array | No | A list of UUIDs for labels to be added to this issue. EXCLUSIVE GROUP CONSTRAINT: Linear organizes labels into groups where only ONE label per group can be applied. STEP-BY-STEP: (1) Call LINEAR_LIST_LINEAR_LABELS with team_id to get available labels. (2) FILTER OUT any labels where is_group=true (these are parent groups, not usable labels). (3) For remaining labels, group them by parent.id - labels with the SAME parent.id are mutually exclusive. (4) From each group with a shared parent.id, select ONLY ONE label. (5) Labels with parent=null can be freely combined. EXAMPLE: If labels A and B both have parent.id='X', you can only use A OR B, not both. Always call LINEAR_LIST_LINEAR_LABELS with team_id to scope results — omitting team_id may return workspace-wide label IDs that are rejected for team-scoped issues. |
| `parent_id` | string | No | UUID of an existing issue to set as the parent of this new issue, creating a sub-issue relationship (must be a valid UUID format) |
| `project_id` | string | No | UUID of the project to associate with this issue. Must be a valid UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx with 8-4-4-4-12 hex characters). IMPORTANT: The project must belong to the same team specified in team_id - Linear requires projects and issues to be in the same team. Use the LIST_LINEAR_PROJECTS action to find projects, then verify the project belongs to the target team before using it here. |
| `assignee_id` | string | No | UUID of the user to assign to this issue (must be a valid UUID format) User must be a member of the team specified in team_id. |
| `description` | string | No | A detailed description of the issue, which can include markdown formatting. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create issue relation

**Slug:** `LINEAR_CREATE_LINEAR_ISSUE_RELATION`

Create a relationship between two Linear issues using the issueRelationCreate mutation. Use this to establish connections like 'blocks', 'duplicate', or 'related' between issues.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `issue_id` | string | Yes | UUID of the primary issue in the relationship. Must be a valid Linear issue UUID (e.g., 'c5748ccf-c67f-4af4-bd74-fe513dc4c054'). Use LINEAR_LIST_LINEAR_ISSUES or LINEAR_GET_LINEAR_ISSUE to retrieve valid issue UUIDs. |
| `relation_type` | string ("blocks" | "duplicate" | "related") | Yes | Type of relationship between the two issues. Options: 'blocks' (this issue blocks the related issue), 'duplicate' (this issue is a duplicate of the related issue), 'related' (general relationship between issues). |
| `related_issue_id` | string | Yes | UUID of the related issue. Must be a valid Linear issue UUID (e.g., '71bc4480-3aa1-4c56-b657-827996658662'). Use LINEAR_LIST_LINEAR_ISSUES or LINEAR_GET_LINEAR_ISSUE to retrieve valid issue UUIDs. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create a label

**Slug:** `LINEAR_CREATE_LINEAR_LABEL`

Creates a new label in Linear for a specified team, used to categorize and organize issues. Label names must be unique within each team. If a label with the same name already exists, the existing label will be returned. Both new and existing labels return the same object structure; check the label's `createdAt` or compare IDs to determine if creation occurred.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Name of the new label, displayed in the Linear UI. Must be unique within the team. |
| `color` | string | Yes | Hexadecimal color code (e.g., '#FF0000') for the label's appearance in the UI. |
| `team_id` | string | Yes | Identifier of the team for which this label will be created. |
| `description` | string | No | Optional detailed description for the label, providing context on its use. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Project

**Slug:** `LINEAR_CREATE_LINEAR_PROJECT`

Creates a new Linear project with specified name and team associations.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `icon` | string | No | Optional icon for the project. Must be a valid icon name string from Linear's icon set (case-sensitive). Does NOT accept unicode emoji characters. Verified valid icon names include: 'Project', 'Rocket', 'Bug', 'Team', 'Calendar', 'Home'. Linear offers ~70 icon designs; invalid names will cause an INVALID_INPUT error. |
| `name` | string | Yes | The name of the project. This is the only required field. Linear permits duplicate project names within a team; uniqueness must be enforced externally if required. |
| `color` | string | No | Optional color for the project (hex color code). |
| `lead_id` | string | No | Optional ID (UUID) of the user who will lead this project. User IDs can be obtained using the LINEAR_LIST_LINEAR_USERS action or from the team members returned by LINEAR_GET_ALL_LINEAR_TEAMS. Must be a valid UUID in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. |
| `priority` | integer | No | Priority level of the project. 0 = No priority, 1 = Urgent, 2 = High, 3 = Normal, 4 = Low. |
| `team_ids` | array | Yes | List of team IDs (UUIDs) that this project will be associated with. At least one valid team ID is required. Team IDs can be obtained using the LINEAR_GET_ALL_LINEAR_TEAMS action. Must be valid UUIDs in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. |
| `start_date` | string | No | Optional planned start date. Accepts various formats including YYYY-MM-DD, ISO datetime strings (e.g., 2024-01-15T10:30:00Z), or Unix timestamps. Will be normalized to YYYY-MM-DD format for the API. Use YYYY-MM-DD format only; ISO datetime strings and Unix timestamps cause validation failures despite being listed as accepted. |
| `description` | string | No | Optional description for the project. Supports markdown formatting. Maximum 255 characters (API limit: 255 accepted, 256 rejected). |
| `target_date` | string | No | Optional planned completion date. Accepts various formats including YYYY-MM-DD, ISO datetime strings (e.g., 2024-06-30T23:59:59Z), or Unix timestamps. Will be normalized to YYYY-MM-DD format for the API. Use YYYY-MM-DD format only; ISO datetime strings and Unix timestamps cause validation failures despite being listed as accepted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete issue

**Slug:** `LINEAR_DELETE_LINEAR_ISSUE`

Archives an existing Linear issue by its ID, which is Linear's standard way of deleting issues; the operation is idempotent. Archiving is permanent with no built-in undo — confirm the issue identifier and title with the user before executing, especially in bulk operations.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `issue_id` | string | Yes | ID of the Linear issue to be archived. Must be in one of two formats: (1) UUID format: a 36-character string with hyphens (e.g., 'c5748ccf-c67f-4af4-bd74-fe513dc4c054'), or (2) Shorthand identifier: team key (alphanumeric, must start with a letter, 1-10 chars) followed by hyphen and issue number (e.g., 'ENG-123', 'MAN8-456'). Note: Plain numeric IDs are NOT valid Linear issue identifiers. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get all teams (Deprecated)

**Slug:** `LINEAR_GET_ALL_LINEAR_TEAMS`

DEPRECATED: Use ListLinearTeams instead (returns paginated payloads with members and projects); this tool returns simpler id/name-level data for all teams visible to the connected workspace with no server-side filtering. Match teams on stable team id, not display name, as names are not guaranteed unique. Partial results reflect workspace permission scope, not tool failure. Skip this call if team_id values are already known.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Download issue attachments

**Slug:** `LINEAR_GET_ATTACHMENT`

Downloads a specific attachment from a Linear issue; the `file_name` must include the correct file extension.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `issue_id` | string | Yes | The unique identifier of the Linear issue from which the attachment will be downloaded. |
| `file_name` | string | Yes | The desired name for the downloaded file, including its extension. |
| `attachment_id` | string | Yes | The unique identifier of the specific attachment to download. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get current user

**Slug:** `LINEAR_GET_CURRENT_USER`

Gets the currently authenticated user's ID, name, email, and other profile information — this is the account behind the API token, which may be a bot or service account rather than a human user. Use the returned `id` field (nested under `data.viewer`) for downstream Linear operations requiring user ID filtering. To search or compare other workspace members, use LINEAR_LIST_LINEAR_USERS instead.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get cycles by team ID

**Slug:** `LINEAR_GET_CYCLES_BY_TEAM_ID`

Retrieves all cycles for a specified Linear team ID; cycles are time-boxed work periods (like sprints). Results are team-scoped to the given team_id. To identify the active cycle, check that the current date (in UTC) falls between a cycle's startAt and endAt fields; either field may be null. Results may be paginated — follow page_info cursors to retrieve all cycles.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `team_id` | string | Yes | The team's unique identifier. Must be a valid UUID (e.g., 'd282d590-8462-4390-8ef9-98f5ac2190b0'), not a human-readable name or slug; use LINEAR_GET_ALL_LINEAR_TEAMS to resolve if unknown. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get create issue default params

**Slug:** `LINEAR_GET_ISSUE_DEFAULTS`

Fetches a Linear team's default issue estimate and state, useful for pre-filling new issue forms.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `team_id` | string | Yes | Identifier of the Linear team. Must be a valid UUID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Linear issue

**Slug:** `LINEAR_GET_LINEAR_ISSUE`

Retrieves an existing Linear issue's comprehensive details, including id, identifier, title, description, timestamps, state, team, creator, attachments, comments (with user info and timestamps, use issue.comments.nodes for comment IDs), subscribers, and due date. Does not include parent, milestone, cycle, or relation graphs—use LINEAR_RUN_QUERY_OR_MUTATION for those. Optional fields (labels, project, state, assignee, cycle) may be null; guard against null when accessing nested properties. Returns null or 'Entity not found' for invalid IDs, cross-workspace IDs, or restricted teams. Rate limit: ~60 req/min; HTTP 429 on excess—apply exponential backoff and respect Retry-After headers.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `issue_id` | string | Yes | ID of the Linear issue. Must be in one of two formats: (1) UUID format: a 36-character string with hyphens (e.g., 'c5748ccf-c67f-4af4-bd74-fe513dc4c054'), or (2) Shorthand identifier: team key (alphanumeric, must start with a letter, 1-10 chars) followed by hyphen and issue number (e.g., 'ENG-123', 'MAN8-456'). Note: Plain numeric IDs are NOT valid Linear issue identifiers. Use LIST_LINEAR_ISSUES action to retrieve valid issue IDs if needed. Full URLs are also invalid and must be resolved to UUID or shorthand format first. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Linear project

**Slug:** `LINEAR_GET_LINEAR_PROJECT`

Retrieves a single Linear project by its unique identifier. Use when verifying a newly created or updated project, or when fetching detailed project information by ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `project_id` | string | Yes | The unique identifier (UUID) of the Linear project to retrieve. |
| `include_teams` | boolean | No | Whether to include teams associated with the project in the response. |
| `include_members` | boolean | No | Whether to include project members in the response. |
| `include_initiatives` | boolean | No | Whether to include related initiatives in the response. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List issue drafts

**Slug:** `LINEAR_LIST_ISSUE_DRAFTS`

Tool to list issue drafts. Use when you need to fetch draft issues for review or further editing. Check `pageInfo.hasNextPage` in the response to determine if additional drafts exist beyond the current page.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `after` | string | No | Cursor for pagination. Use the `endCursor` from the previous response's `pageInfo` to fetch the next set of drafts. |
| `first` | integer | No | Number of draft issues to return. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List issues by team ID

**Slug:** `LINEAR_LIST_ISSUES_BY_TEAM_ID`

Tool to list all issues for a specific Linear team, scoped by team ID. Use when you need to retrieve issues belonging to a particular team without fetching workspace-wide issues. This is more efficient than workspace-wide listing followed by client-side filtering.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `after` | string | No | Opaque pagination cursor for fetching the next page of results. MUST be the exact `end_cursor` value from a previous response's `page_info`. Cannot use issue IDs, UUIDs, or arbitrary strings. Omit for the first page. |
| `first` | integer | No | Number of issues to return per page (forward pagination). Must be between 1 and 250. |
| `team_id` | string | Yes | The unique identifier (UUID) of the Linear team whose issues you want to list. This is the team's ID, not the team's name or key. |
| `include_archived` | boolean | No | Whether to include archived issues in the results. Default is false (only active issues are returned). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get all cycles

**Slug:** `LINEAR_LIST_LINEAR_CYCLES`

Retrieves all cycles (time-boxed sprint iterations) org-wide from the Linear account; no filters applied. In large multi-team workspaces this produces heavy responses — filter client-side by team ID and date range using each cycle's startsAt/endsAt fields. Cycles are team-scoped; always group by team ID to avoid mixing sprints across teams. To identify the active sprint, verify the current UTC timestamp falls between startsAt and endsAt, and handle null startsAt/endsAt defensively. Timestamps are UTC. Results may be paginated; follow pageInfo.endCursor and hasNextPage until hasNextPage is false to avoid truncated lists.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Linear issues

**Slug:** `LINEAR_LIST_LINEAR_ISSUES`

Lists non-archived Linear issues; if project_id is not specified, issues from all accessible projects are returned. Can filter by assignee_id. Only project_id and assignee_id server-side filters are supported; label, state, team, cycle, or date filters must be done client-side or via LINEAR_RUN_QUERY_OR_MUTATION. Response is a flat issues array plus page_info object (not GraphQL nodes/pageInfo). Fields like cycle membership, dueDate, completedAt, comments, and attachments are absent; use LINEAR_GET_LINEAR_ISSUE for enrichment. state and labels are nested objects (labels as labels.nodes array). Response order is not guaranteed; sort client-side after collecting all pages. No team_id filter; scope by project_id or use LINEAR_RUN_QUERY_OR_MUTATION.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `after` | string | No | Cursor for pagination (opaque string). Use the exact `endCursor` value from the previous response's `page_info` to fetch the next set of issues. Do not modify, prefix, or transform the cursor value in any way. |
| `first` | integer | No | Number of issues to return. Maximum 250 per page. To retrieve all issues, loop using page_info.hasNextPage and pass page_info.endCursor as after until hasNextPage is false. |
| `project_id` | string | No | ID of the project to filter issues by. If provided, only issues belonging to this project will be returned. Must be a valid project ID that exists and is accessible to the authenticated user. |
| `assignee_id` | string | No | UUID of the user to filter issues by assignee. Use 'me' to filter by the current authenticated user, or provide a valid Linear user UUID (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). Use LINEAR_GET_CURRENT_USER to get your own ID, or LINEAR_LIST_LINEAR_USERS to retrieve other user UUIDs. Note: 'me', '@me', and email addresses are NOT accepted; only a valid UUID or the literal string 'me' if supported — use LINEAR_GET_CURRENT_USER to obtain your UUID. |
| `original_cursor` | string | No |  |
| `cursor_was_corrupted` | boolean | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get labels

**Slug:** `LINEAR_LIST_LINEAR_LABELS`

Retrieves labels from Linear. If team_id is provided, returns labels for that specific team; if omitted, returns all labels across the workspace. Label names are not unique across teams — always use returned IDs, not names, and track each label ID with its team ID. In large workspaces, results may paginate; follow pageInfo.hasNextPage and pageInfo.endCursor to retrieve all labels.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `team_id` | string | No | The unique identifier of the team for which to retrieve labels. If provided, returns labels scoped to that specific team. If omitted, returns all labels across the workspace. Workspace-wide label IDs (returned when team_id is omitted) may not be valid for team-scoped mutations like LINEAR_CREATE_LINEAR_ISSUE or LINEAR_UPDATE_ISSUE; pass the relevant team_id to get labels valid for that team. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List linear projects

**Slug:** `LINEAR_LIST_LINEAR_PROJECTS`

Retrieves all projects from the Linear account. Returns a flat array (not a GraphQL connection) with fields id and name; use LINEAR_RUN_QUERY_OR_MUTATION for progress, state, issues, or team linkage. No server-side filtering: all workspace projects are returned regardless of team or name — filter client-side. Multiple projects can share identical names; always confirm project_id before downstream use. Results are permission-scoped to the connected user. Pagination: loop while page_info.hasNextPage is true, passing page_info.endCursor as after, or results will be silently truncated. HTTP 429 may occur in large workspaces; apply exponential backoff between calls.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Linear states

**Slug:** `LINEAR_LIST_LINEAR_STATES`

Retrieves all workflow states for a specified team in Linear, representing the stages an issue progresses through in that team's workflow. Returned state IDs are team-scoped — never reuse a stateId across different teams, as this causes validation errors or 'Entity not found' failures in tools like LINEAR_UPDATE_ISSUE. State names (e.g., 'Done', 'In Progress') are non-unique across teams; always resolve names to IDs via this tool for the specific team_id before using them in filters or mutations. Uses cursor-based pagination via pageInfo.hasNextPage and endCursor; iterate until hasNextPage is false to avoid missing states in large workspaces. Always fetch fresh state IDs rather than hardcoding or reusing stale values.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `team_id` | string | Yes | UUID of a team in your Linear workspace. Must be a valid UUID (e.g., '2a6e9b1b-19cd-4e30-b5bd-7b34dc491c7e'). To find valid team IDs, first use the 'Get all teams' or 'Get teams' action to list teams in your workspace. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get teams

**Slug:** `LINEAR_LIST_LINEAR_TEAMS`

Retrieves all teams with their members and projects. Use stable team IDs or keys (not display names) for subsequent operations — names are non-unique. Results reflect only teams visible to the authenticated token scope; missing teams or members indicate permission limits. Large workspaces paginate via pageInfo.hasNextPage/endCursor — incomplete pagination silently drops teams or members. Members may belong to multiple teams; deduplicate user IDs when aggregating. Use LINEAR_GET_ALL_LINEAR_TEAMS instead when only identifiers are needed.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `project_id` | string | No | Optional project ID to filter teams' associated projects. If provided, only projects matching this ID will be included in each team's 'projects' list. If not provided, all projects for each team will be returned. Filtering is applied per-team after fetch; a project_id belonging to a different team silently returns an empty projects list rather than an error. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Linear users

**Slug:** `LINEAR_LIST_LINEAR_USERS`

Lists all workspace users (not team-scoped) with their IDs, names, emails, and active status. Display names are non-unique — use email to disambiguate before extracting an ID. Only assign users with `active: true`. Returned IDs are UUID strings; pass them as-is to fields like `assignee_id` — never substitute names, emails, or tokens. When joining with other tools, always join on IDs.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `after` | string | No | Cursor for pagination. Use the `endCursor` from the previous response's `page_info` to fetch the next set of users. |
| `first` | integer | No | Number of users to return. In large workspaces, check `page_info.hasNextPage` and paginate using `after`; omitting pagination silently drops users beyond this limit. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Remove label from Linear issue

**Slug:** `LINEAR_REMOVE_ISSUE_LABEL`

Removes a specified label from an existing Linear issue using their IDs; successful even if the label isn't on the issue. Operation is irreversible — obtain explicit user approval before executing. Use this tool instead of LINEAR_UPDATE_ISSUE to avoid replacing the entire label set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `issue_id` | string | Yes | Identifier of the Linear issue from which to remove the label. Verify this is the correct issue before executing; wrong IDs can silently remove labels from unintended issues without error. |
| `label_id` | string | Yes | Identifier of the label to remove. The operation is successful without change if this label isn't on the issue. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Remove reaction from comment

**Slug:** `LINEAR_REMOVE_REACTION`

Tool to remove a reaction on a comment. Use when you have a reaction ID and need to delete it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `reaction_id` | string | Yes | Identifier of the reaction to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Run Query or Mutation

**Slug:** `LINEAR_RUN_QUERY_OR_MUTATION`

Execute any GraphQL query or mutation against Linear's API. USE WHEN: No dedicated action exists, need complex filtering, custom fields, or schema discovery. *** INTROSPECTION FIRST - NEVER GUESS FIELD NAMES *** Run introspection before unknown operations: - query { __type(name: "Issue") { fields { name } } } - query { __type(name: "Mutation") { fields { name } } } Linear uses nested objects (project { id }), NOT scalar IDs (projectId). KEY: All IDs are UUIDs. Filter: { field: { eq: value } }. Pagination: nodes[] + pageInfo.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `variables` | object | No | Variables for the GraphQL operation as a JSON object. Optional - omit this field or use {} if no variables are needed.          RULES:         - Keys must match variable names in query (without '$' prefix)         - Types must align with query definition (String/Int/Boolean/ID/DateTime/arrays)         - ID-type variables: Declare as ID in query ($projectId: ID!), but pass as string in variables dict           Example: query has "$teamId: ID!" -> variables {"teamId": "8b0af5ab-b432-473f-94a1-6b00726bcf88"}         - ID-type variables (e.g., issueId, teamId, stateId) must not be empty strings          ERROR RECOVERY:         - If query with variables fails, test with variables={} first to confirm query syntax is valid         - Verify IDs exist by querying for them before using in mutations |
| `query_or_mutation` | string | Yes | GraphQL query or mutation for Linear's API. Must be a non-empty, valid GraphQL query or mutation string.          *** INTROSPECTION FIRST - MANDATORY BEFORE ANY UNCERTAIN OPERATION ***         NEVER guess field or mutation names. Guessing causes immediate failure.         If you don't know the exact field/mutation name, run introspection FIRST:          INTROSPECTION QUERIES (run these BEFORE attempting unknown operations):         - List all fields on a type: query { __type(name: "Issue") { fields { name type { name ofType { name } } } } }         - List all mutations: query { __type(name: "Mutation") { fields { name } } }         - List all queries: query { __type(name: "Query") { fields { name } } }         - Get mutation input schema: query { __type(name: "IssueCreateInput") { inputFields { name type { name ofType { name } } } } }         - Get project input schema: query { __type(name: "ProjectCreateInput") { inputFields { name type { name ofType { name } } } } }         - Check Connection type fields: query { __type(name: "IssueConnection") { fields { name } } }          WHY INTROSPECTION MATTERS:         - Linear exposes nested objects, NOT scalar IDs (e.g., use 'project { id }' NOT 'projectId')         - Mutation names may differ from what you expect (e.g., 'issueCreate' not 'createIssue')         - Field names are case-sensitive and specific to Linear's schema          QUERY COMPLEXITY: Max 10,000 points. Use first: 10-25, not 50-100 with nested connections.         Split complex queries into stages. "Query too complex" = reduce pagination or nesting.          SEARCH: searchIssues(term: "text", first: N) - term is REQUIRED String!, NOT 'query'         *** DEPRECATED: issueSearch is DEPRECATED - DO NOT USE ***         Use issues(filter: {...}) for filter-based issue queries, or searchIssues(term: "text") for full-text search.         issueSearch(filter: {...}) will return 'deprecated' INPUT_ERROR.          TYPES: ID for queries (pass as string), String for text. DateTime="2024-01-15T10:30:00Z".         EXCEPTIONS: team(id:), project(id:), issue(id:), issueUpdate(id:) use String!, not ID!         Date FILTERS use DateTimeOrDuration! (not DateTime!). TimelessDate="YYYY-MM-DD" for project dates.          FILTER: { field: { eq: value } }, { field: { contains: "text" } }, { or: [...] } (lowercase 'or')         NULL: { field: { neq: null } } or { eq: null }. Entity IDs in filters use ID! type.          FILTER OPERATORS (use these in filter comparisons):         - Equality: eq (equal), neq (not equal)         - Arrays: in (value in array), nin (value NOT in array) - CRITICAL: Linear uses 'nin', NOT 'notIn'!         - Strings: contains, notContains, startsWith, endsWith, containsIgnoreCase, notContainsIgnoreCase, startsWithIgnoreCase, endsWithIgnoreCase         - Numbers: gt (greater than), gte (greater or equal), lt (less than), lte (less or equal)         - Dates: gt, gte, lt, lte (with DateTimeOrDuration type)         - Nullability: null (check if null), eq: null, neq: null         Example with 'nin' (not-in): { state: { name: { nin: ["Done", "Cancelled"] } } } excludes multiple states.         Example with 'in': { priority: { in: [1, 2] } } matches priority 1 or 2.          *** LABEL FILTERS - CRITICAL: NO 'none' OPERATOR ***         Linear's IssueLabelCollectionFilter does NOT support a 'none' operator for negative filtering.          Available label collection operators:         - 'some' (default): Match issues with at least one label meeting criteria           Example: labels: { name: { eq: "Bug" } }  // issues WITH Bug label         - 'every': Match issues where ALL labels meet criteria           Example: labels: { every: { name: { eq: "Bug" } } }         - 'length': Filter by number of labels on the issue           Example: labels: { length: { eq: 0 } }  // issues with NO labels at all         - 'null': Check if labels relation exists           Example: labels: { null: true }  // issues with no labels          IMPORTANT: Linear does NOT support direct negative filtering for labels (no 'none' operator).         WRONG: labels: { none: { name: { eq: "completed" } } }  // 'none' does NOT exist!          To find issues WITHOUT a specific label, you must:         1. Fetch ALL issues and filter client-side, OR         2. Use application-level logic to exclude by label, OR         3. Use length comparator for issues with NO labels at all:            labels: { length: { eq: 0 } }  // only issues with zero labels          *** CONNECTION TYPES - CRITICAL: NO totalCount FIELD ***         Linear's Connection types (IssueConnection, ProjectConnection, etc.) do NOT have a 'totalCount' field.         Unlike GitHub/GitLab GraphQL APIs, Linear does NOT provide totalCount on connections.          Available fields on Connection types:         - nodes: Array of the actual entities (Issue[], Project[], etc.)         - pageInfo: Pagination info with hasNextPage, hasPreviousPage, startCursor, endCursor          WRONG: issues { totalCount nodes { id } }  <- totalCount does NOT exist!         CORRECT: issues { nodes { id } pageInfo { hasNextPage endCursor } }          To count items, fetch all pages or use nodes.length on fetched results.         Use introspection to verify: query { __type(name: "IssueConnection") { fields { name } } }          CONNECTIONS: *Connection/*SearchPayload types need 'nodes' wrapper. Other Payloads don't.         SORTING: orderBy: createdAt or updatedAt only. Pagination: first/after, last/before.          TEAM-SCOPED: Projects, labels, states are team-specific. Query team resources first.          *** LABELS - CRITICAL: NO ROOT-LEVEL 'labels' FIELD ***         Linear does NOT have a root-level 'labels' query. Labels MUST be accessed through teams:         WRONG: query { teams { nodes { id } } labels { nodes { id name } } }  <- 'labels' at root level does NOT exist!         CORRECT: query { teams { nodes { id key name labels { nodes { id name } } } } }  <- labels nested under teams         To get all labels: Query teams first, then access labels within each team's scope.         Never use isGroup:true labels. Use child labels (parent != null) or standalone (isGroup:false).          PROJECT MUTATIONS: projectUpdate(id, input) updates project; projectUpdateCreate creates status post.         projectUpdateCreate INPUT FIELDS: Use 'health' with ProjectUpdateHealthType enum (onTrack, atRisk, offTrack).         Example: mutation { projectUpdateCreate(input: { projectId: "UUID", body: "Update text", health: onTrack }) { success } }         PROJECT.STATE vs ISSUE.STATE: Project.state is String (no subfields). Issue.state is WorkflowState object.         PROJECT INPUT FIELDS (ProjectCreateInput): Use 'statusId' to set project status, NOT 'state'.         'state' is output-only (returned in queries/responses). For input, use statusId (UUID of ProjectStatus).         Valid ProjectCreateInput fields: name, teamIds, description, leadId, priority, color, icon, statusId,         startDate, targetDate, memberIds, content, sortOrder, prioritySortOrder, labelIds, templateId, etc.         PROJECT FILTER: Use accessibleTeams.some, NOT 'team'. Example: { accessibleTeams: { some: { key: { eq: "ENG" } } } }          PROJECT.LEAD (CRITICAL - very common mistake):         - Project.lead is a SINGULAR User object (nullable), NOT a connection type with plural name         - WRONG: projects { nodes { leads { nodes { name } } } } - field 'leads' does NOT exist!         - CORRECT: projects { nodes { lead { id name email } } } - returns single User or null         - Unlike 'teams', 'members', 'issues' (which are connections), 'lead' is a direct User reference         - No nodes wrapper needed - query User fields directly: lead { id name email avatar }          COMMON MISTAKES: Use 'project { id }' not 'projectId'. Team uses 'states' not 'workflowStates'.         CustomView has NO 'url' field. Project uses 'teams' (plural). projectUpdate returns 'project' not 'projectUpdate'.          CYCLE.PROGRESS (CRITICAL - very common mistake):         - Cycle.progress is a SCALAR Float! (0.0 to 1.0), NOT an object with subfields         - WRONG: progress { scopeCompleted scopeTotal } - causes "must not have a selection" error         - CORRECT: progress (returns float like 0.75 meaning 75% complete)         - For detailed scope data, use Cycle.currentProgress (JSONObject scalar with scopeCount, scopeEstimate, etc.)          ATTACHMENTS: Use attachmentCreate to attach URLs to issues         - Syntax: mutation { attachmentCreate(input: { issueId: "UUID", url: "https://...", title: "Title" }) { success } }         - issueId MUST be valid; error "Entity not found" = invalid issueId          DOCUMENTS (CRITICAL - requires relation field):         - Use documentCreate to create documents with markdown content         - REQUIRED: At least one relation field must be provided to attach the document         - Available relation fields: projectId, issueId (UUID or identifier like "LIN-123"), teamId, cycleId, initiativeId, releaseId, resourceFolderId         - Content format: Markdown string (supports headers, lists, links, code blocks, etc.)         - Example: mutation { documentCreate(input: { title: "My Doc", content: "# Heading  - List item", projectId: "UUID" }) { success document { id title } } }         - Error "INVALID_INPUT" at documentCreate = missing relation field (must attach to project/issue/team/etc.)          FILE UPLOADS (CRITICAL - correct field structure):         - Use fileUpload mutation to get pre-signed upload URLs for non-image files         - UploadPayload structure: { success, lastSyncId, uploadFile { uploadUrl, assetUrl, headers { key value }, ... } }         - WRONG: fileUpload(...) { uploadUrl assetUrl } <- uploadUrl/assetUrl are NOT direct fields on UploadPayload!         - CORRECT: fileUpload(...) { success uploadFile { uploadUrl assetUrl headers { key value } filename contentType size } }         - uploadFile is an UploadFile object containing: uploadUrl (pre-signed URL for PUT request), assetUrl (final accessible URL), headers (array of key-value pairs for PUT request), filename, contentType, size, metaData         - headers is an array of UploadFileHeader objects, each with: key (header name), value (header value)         - Process: (1) Call fileUpload mutation to get uploadUrl and headers, (2) PUT file content to uploadUrl with returned headers, (3) Use assetUrl to reference the uploaded file         - Security: Client-side PUT requests are blocked by CSP - execute PUT from server-side only          DELETE MUTATIONS (CRITICAL - different response structure):         - Delete mutations return DeletePayload type - they do NOT return the deleted entity object         - WRONG: issueLabelDelete(id: "UUID") { success issueLabel { id name } } <- issueLabel field does NOT exist!         - CORRECT: issueLabelDelete(id: "UUID") { success }         - This applies to ALL delete mutations: issueDelete, issueLabelDelete, projectDelete, commentDelete, etc.         - If you need entity data, query it BEFORE deletion - the delete response only confirms success         - DeletePayload fields: success (Boolean!), lastSyncId (Float!), entityId (String) - NO entity object          FAVORITES: Use 'favoriteCreate' (NOT 'issueFavorite')         - Example: mutation { favoriteCreate(input: { issueId: "UUID" }) { success } }         - FavoriteCreateInput accepts: issueId, projectId, cycleId, customViewId, etc. (one at a time)          INITIATIVE MUTATIONS (create and manage strategic initiatives):         - Use initiativeCreate to create initiatives with name, description, status, targetDate, etc.         - Initiative status field expects InitiativeStatus enum: Planned, Active, Completed         - In mutation input objects, use bare enum identifiers: status: Active         - In filter contexts, use quoted strings: filter: { status: { eq: "Active" } }         - Example: mutation { initiativeCreate(input: { name: "Q1 Roadmap", status: Active }) { success initiative { id name } } }         - Introspect InitiativeCreateInput: query { __type(name: "InitiativeCreateInput") { inputFields { name type { name } } } }         - Introspect InitiativeStatus enum: query { __type(name: "InitiativeStatus") { enumValues { name } } }          COMMENT MUTATIONS (commentCreate - attach to issues, NOT projects):         - CommentCreateInput does NOT have 'projectId' - use issueId, projectUpdateId, or documentContentId         - Use 'parentId' for replies, 'body' for content         - Example: mutation { commentCreate(input: { issueId: "ISSUE_UUID", body: "Comment" }) { success comment { id } } }          COMMENT FILTERING (filter comments by team, user, issue, body, etc.):         - CommentFilter supports: id, createdAt, updatedAt, body, user, issue, projectUpdate, parent, documentContent         - To filter comments by team: Use nested filter through issue -> { issue: { team: { ... } } }         - CRITICAL: team filter supports BOTH 'id' (UUID) and 'key' (team key like "ENG", "PROD")           - Use { team: { id: { eq: "UUID" } } } when you have a UUID           - Use { team: { key: { eq: "TEAM_KEY" } } } when you have a team key (e.g., "COD", "ENG")         - WRONG: { issue: { team: { id: { eq: "COD" } } } } <- "COD" is a team KEY, not UUID!         - CORRECT: { issue: { team: { key: { eq: "COD" } } } } <- Use 'key' for team key strings         - CORRECT: { issue: { team: { id: { eq: "8b0af5ab-..." } } } } <- Use 'id' for UUIDs         - Example: comments(filter: { issue: { team: { key: { eq: "ENG" } } }, body: { contains: "bug" } }, first: 50)          CUSTOM VIEW (CRITICAL: CustomView has NO 'url' field - unlike Issue):         - CustomView does NOT have 'url' field (Issue has url, CustomView does NOT)         - Use these fields: id, name, description, icon, color, shared, slugId, creator { name }, team { name }         - CustomViewCreateInput requires: name (String!), filterData (JSONObject!)         - Introspect: query { __type(name: "CustomView") { fields { name } } }          ERROR RECOVERY:         - On 400 error: Run introspection to verify field names, then rebuild the query.         - On "Cannot query field X": Use introspection query { __type(name: "TypeName") { fields { name } } }         - On "Value X does not exist in EnumType enum": Use introspection query { __type(name: "EnumType") { enumValues { name } } }         - On "Query too complex": Reduce pagination size (first: 10-25), remove nested connections, or split into multiple queries          Docs: https://developers.linear.app/docs/graphql/working-with-the-graphql-api |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Search Linear issues

**Slug:** `LINEAR_SEARCH_ISSUES`

Search Linear issues using full-text search across identifier, title, and description. Use when you need to find issues by keywords or specific identifiers. Note: This endpoint only supports full-text search; for structured filtering by team, project, assignee, state, or labels, use LIST_ISSUES_BY_TEAM_ID instead.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `after` | string | No | Cursor for pagination. Use the endCursor from the previous response's page_info to fetch the next page of results. |
| `first` | integer | No | Number of issues to return per page. Must be between 1 and 50. Defaults to 25. |
| `query` | string | Yes | The search query text. Searches across issue identifier (e.g., 'ENG-123'), title, and description fields. This is a full-text search only; structured filtering by team, project, assignee, state, or labels is NOT supported on this endpoint. Use LIST_ISSUES_BY_TEAM_ID for filtered queries. |
| `include_archived` | boolean | No | Whether to include archived issues in search results. Defaults to false (only active issues). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update issue

**Slug:** `LINEAR_UPDATE_ISSUE`

Updates an existing Linear issue using its `issue_id`; requires at least one other attribute for modification, and all provided entity IDs (for state, assignee, labels, etc.) must be valid UUIDs — only `issueId` accepts key format (e.g., 'ENG-123'). All updated fields are fully overwritten, not merged; omit any field you do not intend to change.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | No | New title for the issue. |
| `teamId` | string | No | UUID of the team to move the issue to. Use this to transfer an issue from one team to another. The team must exist in your workspace and you must have access to it. Use the GET_ALL_LINEAR_TEAMS or LIST_LINEAR_TEAMS action to get valid team IDs. |
| `cycleId` | string | No | UUID of the cycle (sprint) to assign this issue to. Must be a valid UUID in the format 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'. IMPORTANT: Cycles are team-scoped in Linear. The cycle must belong to the same team as the issue, otherwise the API will reject the request with an error. Use GET_CYCLES_BY_TEAM_ID with the issue's team_id to get valid cycle IDs. |
| `dueDate` | string | No | New due date in ISO8601 datetime format or YYYY-MM-DD TimelessDate format (e.g., '2024-12-31' or '2024-12-31T23:59:59Z') |
| `issueId` | string | Yes | Identifier of the issue to update. Accepts either UUID format (e.g., 'd282c513-3265-4513-9099-abc0123def45') or issue key format (e.g., 'ENG-123', 'BLA-456'). |
| `stateId` | string | No | UUID of the workflow state to transition the issue to. Must be a valid UUID in the format 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' (e.g., 'f47ac10b-58cc-4372-a567-0e02b2c3d479'). Do NOT use state names like 'To Do', 'In Progress', or 'Done'. IMPORTANT: Workflow states are team-scoped in Linear. The state must belong to the same team as the issue, otherwise the API will reject the request with an error. Use LIST_LINEAR_STATES with the issue's team_id to get valid state IDs. |
| `estimate` | integer | No | Estimate points for the issue (e.g., 1, 2, 3, 5, 8). Teams may use different estimation types: exponential, fibonacci, linear, or t-shirt sizing. |
| `labelIds` | array | No | List of label identifiers to set; replaces all existing labels. An empty list removes all labels. |
| `parentId` | string | No | UUID of an existing issue to set as this issue's parent (making this issue a sub-issue). The parent issue must not create a circular dependency (e.g., the parent cannot be this issue itself or one of its descendants), and you must have access to it. Sub-issues can be assigned to any team in the workspace. |
| `priority` | integer | No | Priority: 0 (No), 1 (Urgent), 2 (High), 3 (Normal), 4 (Low). |
| `projectId` | string | No | UUID of the project to associate the issue with. Must be a valid UUID in the format 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'. IMPORTANT: Projects are team-scoped in Linear. The project must belong to the same team as the issue, otherwise the API will reject the request with an error. Use LINEAR_LIST_LINEAR_PROJECTS action to get valid project IDs and LINEAR_GET_LINEAR_PROJECT with include_teams=true to verify a project's team. |
| `assigneeId` | string | No | UUID of the user to assign to the issue. Must be a valid user UUID from your Linear workspace (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). Use LIST_LINEAR_USERS to get valid user IDs. Do NOT use placeholder values like '<DATE_TIME>' or '{USER_ID}'. |
| `description` | string | No | New Markdown description for the issue. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update a comment

**Slug:** `LINEAR_UPDATE_LINEAR_COMMENT`

Tool to update an existing Linear comment's body text. Use when you need to edit or modify the content of a previously created comment.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | Yes | New comment content, in plain text or Markdown format. |
| `comment_id` | string | Yes | Unique identifier of the comment to update. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Project

**Slug:** `LINEAR_UPDATE_LINEAR_PROJECT`

Tool to update an existing Linear project. Use when you need to modify project properties like name, description, state, dates, or lead. All fields except project_id are optional - only provide the fields you want to update.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `icon` | string | No | Icon identifier for the project. |
| `name` | string | No | New name for the project. |
| `color` | string | No | Color for the project (hex color code). |
| `state` | string | No | The state of the project. Standard values: 'backlog', 'planned', 'started', 'completed', 'canceled'. Note: Some workspaces may have custom states configured. |
| `lead_id` | string | No | The UUID of the user who will lead this project. Must be a valid Linear user UUID. Use the LIST_LINEAR_USERS action to get valid user IDs. |
| `priority` | integer | No | Priority level of the project. 0 = No priority, 1 = Urgent, 2 = High, 3 = Normal, 4 = Low. |
| `status_id` | string | No | The UUID of the project status to set. Must be a valid Linear project status UUID. |
| `project_id` | string | Yes | The unique identifier (UUID) of the project to update. This is the internal Linear ID, not the project slug or name. |
| `start_date` | string | No | New planned start date. Accepts various formats including YYYY-MM-DD, ISO datetime strings (e.g., 2024-01-15T10:30:00Z), or Unix timestamps. Will be normalized to YYYY-MM-DD format for the API. |
| `description` | string | No | New description for the project. Supports plain text. |
| `target_date` | string | No | New planned completion date. Accepts various formats including YYYY-MM-DD, ISO datetime strings (e.g., 2024-06-30T23:59:59Z), or Unix timestamps. Will be normalized to YYYY-MM-DD format for the API. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |


## Triggers

### Comment Received Trigger

**Slug:** `LINEAR_COMMENT_EVENT_TRIGGER`

**Type:** webhook

Triggered when a comment is received.

#### Configuration

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `team_id` | string | Yes | ID of the team to filter issues by |

#### Payload

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `action` | string | Yes | Action that triggered the webhook |
| `data` | object | Yes | Data of the issue |
| `type` | string | Yes | Type of the issue |
| `url` | string | Yes | URL of the issue |

### Issue Created Trigger

**Slug:** `LINEAR_ISSUE_CREATED_TRIGGER`

**Type:** webhook

Triggered when a new issue is created.

#### Configuration

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `team_id` | string | Yes | ID of the team to filter issues by |

#### Payload

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `action` | string | Yes | Action that triggered the webhook |
| `data` | object | Yes | Data of the issue |
| `type` | string | Yes | Type of the issue |
| `url` | string | Yes | URL of the issue |

### Issue Updated Trigger

**Slug:** `LINEAR_ISSUE_UPDATED_TRIGGER`

**Type:** webhook

Triggered when an issue is updated. For example labels are changed, issue status is changed, etc.

#### Configuration

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `team_id` | string | Yes | ID of the team to filter issues by |

#### Payload

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `action` | string | Yes | Action that triggered the webhook |
| `data` | object | Yes | Data of the issue |
| `type` | string | Yes | Type of the issue |
| `url` | string | Yes | URL of the issue |
