fix(linear): add additional output params for remaining linear tools#2087
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Greptile OverviewGreptile SummaryThis PR adds comprehensive output parameters and fixes bugs in Linear tools to provide complete API coverage. Key Changes
All changes maintain backward compatibility by making new parameters optional. Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant SimTool as Linear Tool
participant LinearAPI as Linear GraphQL API
Note over User,LinearAPI: Example: Creating Issue with Extended Parameters
User->>SimTool: linear_create_issue(teamId, title, assigneeId, priority, labels, etc.)
SimTool->>SimTool: Build GraphQL input with all parameters
SimTool->>LinearAPI: POST /graphql with issueCreate mutation
LinearAPI->>LinearAPI: Validate and create issue
LinearAPI-->>SimTool: Return issue with all fields
SimTool->>SimTool: Transform response to include all output fields
SimTool-->>User: Return comprehensive issue object
Note over User,LinearAPI: Example: Reading Issues with Filters
User->>SimTool: linear_read_issues(teamId, assigneeId, stateId, priority, labelIds, etc.)
SimTool->>SimTool: Build filter object from parameters
SimTool->>LinearAPI: POST /graphql with issues query
LinearAPI->>LinearAPI: Apply filters and pagination
LinearAPI-->>SimTool: Return filtered issues with pagination info
SimTool->>SimTool: Transform response with hasNextPage and endCursor
SimTool-->>User: Return filtered issues array with pagination
Note over User,LinearAPI: Example: Bug Fixes
User->>SimTool: linear_archive_label(labelId)
SimTool->>LinearAPI: POST /graphql with issueLabelArchive (was issueLabelDelete)
LinearAPI-->>SimTool: Return success
SimTool-->>User: Return success status
User->>SimTool: linear_create_project(teamId, name)
SimTool->>LinearAPI: POST /graphql with teamId (was teamIds array)
LinearAPI-->>SimTool: Return created project
SimTool-->>User: Return project object
|
341f268 to
8cebd7c
Compare
This was referenced Nov 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Type of Change
Testing
Tested manually
Checklist