Contents

Linear Tools

linear_tools · Nodes · AI

Makes Linear tools available to AI steps.

Linear Tools#

Packages selected Linear tools for AI Agent tools input.

  • Select a Linear connection.
  • view_attachment defaults on. Other tools default off; enable each one you need.
  • Wire tools output into an AI Agent tools input.
  • This node does not call Linear during workflow execution. The agent calls Linear only when it invokes an emitted tool.
  • The tool set is intentionally bounded. For advanced workflow operations absent here and in the first-class Linear node, use GraphQL or HTTP Request with the same Linear connection.
  • Retry, on the node and on the linear tool group, is off by default and applies to every request the tools make; see Retries. Query tools (linear_list_*, linear_query_*, linear_get_*) are reads, sent again freely even though Linear takes them as POST. Mutation tools are writes, sent again only when Linear refused them before acting: the connection never opened, or Linear answered 425 or 429.

Tool names#

Every emitted tool is called <handle>__<tool>, where <handle> is the fixed handle of the configured Linear connection, for example linear__linear_list_issues. The prefix is there even when the workspace has a single Linear connection. Renaming the connection never changes it. A name longer than 64 characters keeps its first 55 characters and ends with _ and an 8-character hash. The names below are the <tool> part.

Tools#

Issues:

  • linear_list_issues
  • linear_query_issues
  • linear_get_issue
  • linear_create_issue
  • linear_update_issue
  • linear_delete_issue
  • linear_archive_issue
  • linear_list_issue_comments
  • linear_view_attachment
  • linear_comment_issue
  • linear_update_comment
  • linear_delete_comment

Projects:

  • linear_list_projects
  • linear_query_projects
  • linear_get_project
  • linear_create_project
  • linear_update_project
  • linear_delete_project
  • linear_archive_project

Teams:

  • linear_list_teams
  • linear_get_team

Users:

  • linear_list_users
  • linear_query_users
  • linear_get_user

There is no linear_viewer tool. Requester identity is supplied by workflow/trigger context, not inferred from the selected Linear token owner.

References#

Every reference a tool takes is a flat id string. There is no selector object, no alternative sibling field, and no server-side lookup that turns a name, key, or email into an id before a write — obtain ids from the list_* / query_* tools first.

  • issue_id accepts a UUID or a Linear identifier such as ENG-123. It is required by linear_get_issue, linear_update_issue, linear_delete_issue, linear_archive_issue, linear_list_issue_comments, linear_comment_issue and linear_view_attachment.
  • linear_get_project takes project_id, linear_get_team takes team_id, and linear_get_user takes user_id. Each must be a UUID.
  • linear_create_issue requires team_id; both it and linear_update_issue accept optional assignee_id, project_id, and state_id. Each must be a UUID.

Discovery stays on the read tools: linear_list_teams for teams, linear_query_projects for projects, linear_query_users for users, and linear_query_issues for issues.

linear_get_issue and linear_list_issue_comments return attachments for files uploaded to Linear and linked from the issue description or the returned comments, respectively. Pass the issue_id and the listed attachment_id to linear_view_attachment.

Project mutation input#

linear_create_project.input and linear_update_project.input are typed Linear GraphQL input objects, not arbitrary or empty objects.

  • Create requires name and teamIds (an array of Linear team UUIDs).
  • Update requires a non-empty input object; include the fields being changed.
  • Common fields include description, content, color, icon, leadId, memberIds, labelIds, statusId, startDate, targetDate, and their date resolutions.
  • Create also accepts templateId and useDefaultTemplate.
  • Update also accepts trashed, Slack notification flags, and project update reminder settings.
  • Dates use Linear's ISO 8601-compatible date formats; IDs are UUID strings; priority is 0 through 4.
  • linear_update_project keeps OpenAI strict mode off so omitted fields stay omitted; explicit null is still forwarded to Linear and may clear a field.
  • Other strict tool calls may represent optional fields as null; follow each tool's description for whether null means omission or an explicit clear.

Optional parameters#

Optional parameters may be omitted or passed as null where the tool contract says they are equivalent. Raw project mutation input is the exception: explicit null is forwarded to Linear.

Common optional pagination parameters:

  • limit
  • after

Examples of optional filters:

  • Issues: query filters such as team_key, assignee_email, project_name, label_name, priority, created_after, created_before, updated_after, updated_before
  • Projects: id, name, slug_id, team_id, status_name
  • Users: id, email, name, display_name, active

Next issues recipe#

For “which issues are currently next for me to do”:

  1. Enable linear_query_users and linear_query_issues.
  2. Optionally enable linear_get_issue for hydration.
  3. Instruct the agent to identify the current user, query assigned issues, prioritize active/backlog work, then answer with identifier, title, URL, and reason.

Inputs

  • inputRequired

Outputs

  • tools

Configuration

FieldTypeRequiredDescription
connectionconnection(linear)YesLinear connection used by emitted tools
retrytagged_unionNoSends a request again after a failure that passes: a rate limit, a busy server, a dropped connection. Off sends once.
list_issuesbooleanNoEmit linear_list_issues
query_issuesbooleanNoEmit linear_query_issues
get_issuebooleanNoEmit linear_get_issue
view_attachmentbooleanNoEmit linear_view_attachment
create_issuebooleanNoEmit linear_create_issue
update_issuebooleanNoEmit linear_update_issue
delete_issuebooleanNoEmit linear_delete_issue
archive_issuebooleanNoEmit linear_archive_issue
list_projectsbooleanNoEmit linear_list_projects
query_projectsbooleanNoEmit linear_query_projects
get_projectbooleanNoEmit linear_get_project
create_projectbooleanNoEmit linear_create_project
update_projectbooleanNoEmit linear_update_project
delete_projectbooleanNoEmit linear_delete_project
archive_projectbooleanNoEmit linear_archive_project
list_teamsbooleanNoEmit linear_list_teams
get_teambooleanNoEmit linear_get_team
list_usersbooleanNoEmit linear_list_users
query_usersbooleanNoEmit linear_query_users
get_userbooleanNoEmit linear_get_user
list_issue_commentsbooleanNoEmit linear_list_issue_comments
comment_issuebooleanNoEmit linear_comment_issue
update_commentbooleanNoEmit linear_update_comment
delete_commentbooleanNoEmit linear_delete_comment
base_configrecordNoShared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow).