Overview
Tool Name
Purpose
The linear_connector_tools group integrates Genesis with Linear issue tracking. It uses the effective usablelinear connection for the current user and active bot (My default, then Role default) from Genesis Connections and supports both API key and user OAuth authentication.
Key Features
Create and update issues
Open new Linear issues, edit fields, assign work, and create sub-issues.
Search active work
Filter issues by team, assignee, state, project, label, query text, or priority.
Comment and review context
Add issue comments and fetch detailed issue or comment history.
Upload and download files
Upload files from Git repos or bot storage to Linear, or download files from Linear to bot storage.
Manage attachment links
Link external URLs to issues, list existing attachment links, or remove them.
Discover teams and projects
List available teams and projects before automating writes.
Input Parameters for Each Function
linear_connector
Core parameters
See placeholder rules.
File and attachment link parameters
Other Linear changes
When Genesis routes a raw Linear GraphQL write through
RUN_MUTATION, it uses
the requester’s sole usable Linear connection, or their effective default if they
can use several. If several are usable and the default is missing or is not one
of them, the request is refused rather than choosing a connection. Raw Linear
reads use the connection declared for the requested environment when one is
specified; otherwise they use the person’s default connection.
Available actions
Workflow/How It Works
- Configure your effective default
linearconnection in Linear, or passconnectionwhen you need a specific saved connection. - Start with
GET_TEAMSorGET_PROJECTSif you need valid team keys or project names. - Use
CREATE_ISSUE,UPDATE_ISSUE,GET_ISSUE, andSEARCH_ISSUESto manage work items. - Use
ADD_COMMENTandLIST_COMMENTSto collaborate inside an issue thread. - Use
UPLOAD_FILEto attach files (logs, reports, CSVs, images) to issues andDOWNLOAD_FILEto pull files from Linear asset URLs into bot storage. - Use
CREATE_ATTACHMENT_LINK,LIST_ATTACHMENT_LINKS,GET_ATTACHMENT_LINK, andDELETE_ATTACHMENT_LINKto manage structured URL references in Linear’s Attachments panel. - Use
RUN_MUTATIONfor any other change: archiving or deleting an issue, editing or deleting a comment, or creating, changing or deleting projects, cycles and labels.
CREATE_ISSUE, UPDATE_ISSUE, ADD_COMMENT, CREATE_ATTACHMENT_LINK,
DELETE_ATTACHMENT_LINK and RUN_MUTATION run under Action Review. With no rule
that covers them, they run at once, as they did before Action Review. A rule decides
whether a covered change runs, waits for a person, or is refused. On a connection each
person signs in to, an approved change is sent with the requester’s own sign-in, never
the approver’s; if the requester’s sign-in is gone, it is refused before anything is sent.
For a CREATE_ISSUE proposal with no assignee, Genesis resolves the requester’s
active Linear user or the configured linear.default_assignee before review and freezes
that choice into the proposal. If no active Linear user matches, the issue is filed
unassigned and a successful result includes assignee_warning. Supplying Unassigned
explicitly skips the default. For app-actor setup and attribution, see the
Linear connection guide.
For RUN_MUTATION:
- The review card shows the GraphQL document, its operation name, and its variables. It also shows any extra headers and, for a routed web-tool request, the exact body size, content type, and checksum. After approval, Genesis sends the frozen request once to Linear.
- Approve it in Genesis, where the request is shown. Its Slack card links to Genesis and has no buttons, and an agent cannot record a spoken approval of it.
- A rule written for another Linear action also applies to the same change made here. A
rule on
UPDATE_ISSUE(resource tagaction:update_issue), on operation classwrite, or on one issue (ENG-7) or team (team:<id>) decides a rawissueUpdateon that issue as it decidesUPDATE_ISSUE. When several rules match, the strictest decides. A rule can nameRUN_MUTATIONalone with the resource tagaction:run_mutation. - Only what runs is judged: the selected operation, without the fields
@skipor@includeturn off. Another operation in the same document decides nothing. Each issue, team or attachment link it touches, a parent issue it names and the project, initiative, document or post a comment is on, is judged on its own, so a rule allowing one cannot let through a change another rule refuses. A comment on anything but an issue is notADD_COMMENT, so only the rules onRUN_MUTATIONdecide it. Free-form values such as an attachment’smetadataname no resource. - A document that cannot be read, whose operation is not a mutation, or that makes more than 1000 top-level fields is refused. So is one whose issues or attachment links Linear cannot confirm, since a rule naming them could not be applied.
- Genesis reports
executedonly when every mutation selectssuccessunder its own name and Linear answers true for each, andnot_appliedonly when each answers false. Anything else isreconciliation_required, and so is a redirect answer, which is never followed. An interruptedRUN_MUTATIONis never read back: check Linear before anyone runs it again.
get_web_content with
api_data) also sends Linear GraphQL mutations as written. With such a rule, the web
tool hands a mutation to RUN_MUTATION on the requester’s Linear connection, so the
rule decides it. An eligible mutation is handed to RUN_MUTATION on the requester’s
Linear connection. See Web Access Tools for
the request conditions and routed_to result field.
For reconciliation_required, follow the no-retry guidance in Action
Review. A sweep may settle
eligible governed results as described in the Action Review
response contract,
but it does not rerun the write. On a connection each person signs in to, Linear shows
each person only what they can see. So when someone other than the requester reconciles a
created issue or attachment link and finds nothing, the result stays
reconciliation_required for the requester to check; finding it still settles it as
executed.
Only two Linear writes have standing-grant scopes: issue creation is bounded to
its team and workspace, while comments are bounded to the issue and workspace.
Those scopes apply to CREATE_ISSUE and ADD_COMMENT, respectively.
Examples
This example assumes the default
linear connection uses user_oauth. If the default connection uses api_key, pass a specific Linear user name or email instead of assignee="me".Output
CREATE_ISSUE,UPDATE_ISSUE, andSEARCH_ISSUESreturn compact issue records withid,title,url,state,assignee,priority,project,team, andlabels.- A successful
CREATE_ISSUEwith no assignee returnsassignee_warningif no active Linear user matched the requester or configured default, so the issue was created unassigned. GET_ISSUEreturns a detailed issue object with description, creator, estimate, due date, parent, children,attachments, and timestamps.ADD_COMMENTreturns the created comment metadata.LIST_COMMENTS,GET_TEAMS, andGET_PROJECTSreturncountplus an array of results.- Comment records include
authorand, where available,author_email; either field can benullwhen Linear does not return a user for the comment. UPLOAD_FILEreturnsasset_url,filename,size, andcontent_type. Ifcommentwas provided, includes the created comment.DOWNLOAD_FILEreturnsfilename,file_path,relative_path,file_id, andsize.LIST_ATTACHMENT_LINKSreturnscountplus an array of attachment link details.CREATE_ATTACHMENT_LINKreturns the created attachment link withid,title,subtitle, andurl.GET_ATTACHMENT_LINKreturns full attachment link details including the associated issue and creator.DELETE_ATTACHMENT_LINKreturnssuccess.
Configuration Details
- The tool resolves the effective usable
linearconnection for the current user and active bot (My default, then Role default). Passconnectionto target a specific saved connection instead. - Genesis supports both
api_keyanduser_oauthauthentication for Linear. - Connection tests query
https://api.linear.app/graphqland verify the authenticatedviewer. - For
user_oauth, Genesis uses fixed provider endpoints:https://linear.app/oauth/authorizeandhttps://api.linear.app/oauth/token. - If your deployment restricts outbound access, allow both
linear.appandapi.linear.app.
Limitations or Notes
SEARCH_ISSUEStext matching is limited to issue titles and identifiers. Each call reads up to 250 issues by default (limit, clamped to 1–500), following Linear’s pages one request at a time. The result reportstotal_returned,truncatedandquery_filtered.truncatedmeans Linear had more issues than were read. A textqueryfilters only the issues read, so a truncated text search (query_filteredtrue) may have more matches. Whentruncatedis true the result also returnsnext_cursor; pass it ascursorwith the same filters to read the rest.- Unknown label names cause
CREATE_ISSUEorUPDATE_ISSUEto fail; labels must exist on the team or at workspace level, and Genesis does not create them automatically.UPDATE_ISSUEadds names inlabelsand removes names inremove_labels, leaving every other label in place. If the issue has both a team and workspace label with the same name,remove_labelscannot choose between them and the update is refused. assignee="me"is only supported when the resolvedlinearconnection usesuser_oauth.- When multiple role defaults for
linearconflict, Genesis returns an error directing you to set a user default or passconnectionexplicitly. See Default connection layers. issue_idcan be a Linear UUID or an issue identifier such asENG-123.- A missing or expired OAuth token prevents the tool from connecting until the user reauthorizes.
UPLOAD_FILEuploads binary files to Linear’s cloud storage (via a signed URL). Use this when you have actual file content.CREATE_ATTACHMENT_LINKonly links a URL; it does not upload files.- Files in Linear’s private cloud storage require authentication to access externally.
DOWNLOAD_FILEhandles this automatically, but only for HTTPS URLs on supported Linear asset hosts such asuploads.linear.app,cdn.linear.app, orapi.linear.app.

