Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Linear

27 actions for managing issues, cycles, projects, and team workflow.

Issues

create_issue

Create a new Linear issue.

ParameterTypeRequiredDescription
teamIdstringyesTeam to create the issue in
titlestringyesIssue title
descriptionstringnoMarkdown description
prioritynumberno0 (none) to 4 (urgent)
assigneeIdstringnoUser to assign
labelIdsarraynoLabel IDs to apply
cycleIdstringnoCycle to add to
projectIdstringnoProject to add to
exec("linear.create_issue", {
  teamId: "TEAM_ID",
  title: "Fix authentication timeout",
  description: "Users report 30s timeout on login page",
  priority: 2
})

update_issue

ParameterTypeRequiredDescription
issueIdstringyesIssue to update
titlestringnoNew title
descriptionstringnoNew description
prioritynumbernoNew priority
stateIdstringnoNew workflow state
assigneeIdstringnoNew assignee
labelIdsarraynoNew labels
cycleIdstringnoNew cycle

get_issue

Get an issue by ID with all relations.

ParameterTypeRequired
issueIdstringyes

batch_create_issues

Create up to 50 issues at once. Each item has the same shape as create_issue.

ParameterTypeRequired
issuesarrayyes

archive_issue

ParameterTypeRequired
issueIdstringyes

assign_issue

ParameterTypeRequired
issueIdstringyes
assigneeIdstringyes

search

Search issues by title and description.

ParameterTypeRequired
querystringyes

Relations

create_issue_relation

ParameterTypeRequiredDescription
issueIdstringyesSource issue
relatedIssueIdstringyesTarget issue
typestringyesblocks, blocked_by, related, duplicate

list_issue_relations

ParameterTypeRequired
issueIdstringyes

Comments

add_comment

ParameterTypeRequiredDescription
issueIdstringyesIssue to comment on
bodystringyesMarkdown comment body

list_comments

ParameterTypeRequired
issueIdstringyes

Cycles (Sprints)

get_active_cycle

ParameterTypeRequired
teamIdstringyes

list_cycles

ParameterTypeRequiredDescription
teamIdstringyesTeam to list cycles for
firstnumbernoNumber of cycles to return

add_issue_to_cycle

ParameterTypeRequired
issueIdstringyes
cycleIdstringyes

Initiatives

list_initiatives

No parameters. Returns all roadmap initiatives.

get_initiative

ParameterTypeRequired
idstringyes

Attachments

create_attachment

Attach an external resource to an issue.

ParameterTypeRequiredDescription
issueIdstringyesIssue to attach to
titlestringyesAttachment title
urlstringyesExternal URL
subtitlestringnoSubtitle text
iconUrlstringnoIcon URL

Workspace

list_teams

List all teams and their members. No parameters.

list_workflow_states

ParameterTypeRequired
teamIdstringno

list_labels

No parameters. Returns all workspace labels.

list_projects

No parameters. Returns all projects.

get_viewer

No parameters. Returns the authenticated user.

list_users

No parameters. Returns all workspace members.

GraphQL

graphql

Run an arbitrary GraphQL query or mutation against the Linear API.

ParameterTypeRequiredDescription
querystringyesGraphQL query string
variablesobjectnoQuery variables
exec("linear.graphql", {
  query: "query { viewer { id name email } }"
})