Skip to main content

Linear

Connects to the Linear GraphQL API for working with issues and teams. An agent can list, search, create, and update issues, and look up team IDs.

Add to an agent node's tools array with _node_type: "tool-linear". See Connector Reference — How connectors are used.

Authentication

FieldRequiredDescription
api_keyYesLinear API key, sent directly as the Authorization header. Typically a stored secret.
{
"name": "linear",
"_node_type": "tool-linear",
"api_key": "{{ secret.LINEAR_API_KEY }}"
}

Tools

linear_list_issues

List issues from Linear.

Parameters

ParameterTypeRequiredDescription
team_idstringNoLinear team ID to filter by
statestringNoFilter by state name (e.g. In Progress, Todo, Done)
limitnumberNoMax issues to return (default 20)

Returns: A newline-separated list of - [<identifier>] <title> (<state>) lines, or "No issues found.".

linear_create_issue

Create a new issue in Linear.

Parameters

ParameterTypeRequiredDescription
team_idstringYesLinear team ID
titlestringYesIssue title
descriptionstringNoIssue description (markdown)
prioritynumberNoPriority: 0=No priority, 1=Urgent, 2=High, 3=Medium, 4=Low

Returns: A confirmation message with the new issue's identifier, title, and URL.

linear_update_issue_state

Move a Linear issue to a different workflow state.

Parameters

ParameterTypeRequiredDescription
issue_idstringYesLinear issue ID
state_idstringYesTarget workflow state ID

Returns: A confirmation message with the issue's identifier and new state name.

Search issues in Linear by keyword.

Parameters

ParameterTypeRequiredDescription
querystringYesSearch query text
limitnumberNoMax results (default 10)

Returns: A newline-separated list of - [<identifier>] <title> (<state>) lines, or "No results.".

linear_list_teams

List all teams in the Linear workspace.

No parameters.

Returns: A newline-separated list of - <name> [<key>] (id: <id>) lines for every team.

Next