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_attachmentdefaults on. Other tools default off; enable each one you need.- Wire
toolsoutput into an AI Agenttoolsinput. - 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
GraphQLorHTTP Requestwith the same Linear connection. - Retry, on the node and on the
lineartool 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 asPOST. 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_issueslinear_query_issueslinear_get_issuelinear_create_issuelinear_update_issuelinear_delete_issuelinear_archive_issuelinear_list_issue_commentslinear_view_attachmentlinear_comment_issuelinear_update_commentlinear_delete_comment
Projects:
linear_list_projectslinear_query_projectslinear_get_projectlinear_create_projectlinear_update_projectlinear_delete_projectlinear_archive_project
Teams:
linear_list_teamslinear_get_team
Users:
linear_list_userslinear_query_userslinear_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_idaccepts a UUID or a Linear identifier such asENG-123. It is required bylinear_get_issue,linear_update_issue,linear_delete_issue,linear_archive_issue,linear_list_issue_comments,linear_comment_issueandlinear_view_attachment.linear_get_projecttakesproject_id,linear_get_teamtakesteam_id, andlinear_get_usertakesuser_id. Each must be a UUID.linear_create_issuerequiresteam_id; both it andlinear_update_issueaccept optionalassignee_id,project_id, andstate_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
nameandteamIds(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
templateIdanduseDefaultTemplate. - 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
0through4. linear_update_projectkeeps OpenAI strict mode off so omitted fields stay omitted; explicitnullis 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:
limitafter
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”:
- Enable
linear_query_usersandlinear_query_issues. - Optionally enable
linear_get_issuefor hydration. - 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
| Field | Type | Required | Description |
|---|---|---|---|
connection | connection(linear) | Yes | Linear connection used by emitted tools |
retry | tagged_union | No | Sends a request again after a failure that passes: a rate limit, a busy server, a dropped connection. Off sends once. |
list_issues | boolean | No | Emit linear_list_issues |
query_issues | boolean | No | Emit linear_query_issues |
get_issue | boolean | No | Emit linear_get_issue |
view_attachment | boolean | No | Emit linear_view_attachment |
create_issue | boolean | No | Emit linear_create_issue |
update_issue | boolean | No | Emit linear_update_issue |
delete_issue | boolean | No | Emit linear_delete_issue |
archive_issue | boolean | No | Emit linear_archive_issue |
list_projects | boolean | No | Emit linear_list_projects |
query_projects | boolean | No | Emit linear_query_projects |
get_project | boolean | No | Emit linear_get_project |
create_project | boolean | No | Emit linear_create_project |
update_project | boolean | No | Emit linear_update_project |
delete_project | boolean | No | Emit linear_delete_project |
archive_project | boolean | No | Emit linear_archive_project |
list_teams | boolean | No | Emit linear_list_teams |
get_team | boolean | No | Emit linear_get_team |
list_users | boolean | No | Emit linear_list_users |
query_users | boolean | No | Emit linear_query_users |
get_user | boolean | No | Emit linear_get_user |
list_issue_comments | boolean | No | Emit linear_list_issue_comments |
comment_issue | boolean | No | Emit linear_comment_issue |
update_comment | boolean | No | Emit linear_update_comment |
delete_comment | boolean | No | Emit linear_delete_comment |
base_config | record | No | Shared 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). |