|
| 1 | +# Linear |
| 2 | + |
| 3 | +import ToolInfo from "@/components/ToolInfo"; |
| 4 | +import Badges from "@/components/Badges"; |
| 5 | +import TabbedCodeBlock from "@/components/TabbedCodeBlock"; |
| 6 | +import TableOfContents from "@/components/TableOfContents"; |
| 7 | +import ToolFooter from "@/components/ToolFooter"; |
| 8 | + |
| 9 | +<ToolInfo |
| 10 | + description="Enable agents to interact with Linear" |
| 11 | + author="Arcade" |
| 12 | + codeLink="https://github.com/ArcadeAI/arcade-ai/tree/main/toolkits/linear" |
| 13 | + authType="OAuth2" |
| 14 | + versions={["0.1.0"]} |
| 15 | +/> |
| 16 | + |
| 17 | +<Badges repo="arcadeai/arcade_linear" /> |
| 18 | + |
| 19 | +The Linear toolkit offers a streamlined set of tools for interacting with Linear's issue tracking and team management features. With this toolkit, users can: |
| 20 | + |
| 21 | +- Retrieve detailed information about a specific issue, including their status, comments, and related dependencies. |
| 22 | +- Access comprehensive team information, including team members, roles, and settings. |
| 23 | + |
| 24 | +This toolkit is ideal for users looking to read and analyze issue and team data within Linear without making any modifications. |
| 25 | + |
| 26 | +## Available Tools |
| 27 | + |
| 28 | +<TableOfContents |
| 29 | + headers={["Tool Name", "Description"]} |
| 30 | + data={ |
| 31 | + [ |
| 32 | + ["Linear.GetIssue", "Get detailed information about a specific Linear issue"], |
| 33 | + ["Linear.GetTeams", "Get Linear teams and team information including team members"], |
| 34 | + ] |
| 35 | + } |
| 36 | +/> |
| 37 | + |
| 38 | +<Tip> |
| 39 | + If you need to perform an action that's not listed here, you can [get in touch |
| 40 | + with us](mailto:contact@arcade.dev) to request a new tool, or [create your |
| 41 | + own tools](/home/build-tools/create-a-toolkit). |
| 42 | +</Tip> |
| 43 | + |
| 44 | +## Linear.GetIssue |
| 45 | + |
| 46 | +<br /> |
| 47 | +<TabbedCodeBlock |
| 48 | + tabs={[ |
| 49 | + { |
| 50 | + label: "Call the Tool Directly", |
| 51 | + content: { |
| 52 | + Python: ["/examples/integrations/toolkits/linear/get_issue_example_call_tool.py"], |
| 53 | + JavaScript: ["/examples/integrations/toolkits/linear/get_issue_example_call_tool.js"], |
| 54 | + }, |
| 55 | + }, |
| 56 | + ]} |
| 57 | +/> |
| 58 | + |
| 59 | +Get detailed information about a specific Linear issue |
| 60 | + |
| 61 | +**Parameters** |
| 62 | + |
| 63 | +- **issue_id** (`string`, required) The Linear issue ID or identifier (e.g. 'FE-123', 'API-456') to retrieve. |
| 64 | +- **include_comments** (`boolean`, optional) Whether to include comments in the response. Defaults to True. |
| 65 | +- **include_attachments** (`boolean`, optional) Whether to include attachments in the response. Defaults to True. |
| 66 | +- **include_relations** (`boolean`, optional) Whether to include issue relations (blocks, dependencies) in the response. Defaults to True. |
| 67 | +- **include_children** (`boolean`, optional) Whether to include sub-issues in the response. Defaults to True. |
| 68 | + |
| 69 | + |
| 70 | +## Linear.GetTeams |
| 71 | + |
| 72 | +<br /> |
| 73 | +<TabbedCodeBlock |
| 74 | + tabs={[ |
| 75 | + { |
| 76 | + label: "Call the Tool Directly", |
| 77 | + content: { |
| 78 | + Python: ["/examples/integrations/toolkits/linear/get_teams_example_call_tool.py"], |
| 79 | + JavaScript: ["/examples/integrations/toolkits/linear/get_teams_example_call_tool.js"], |
| 80 | + }, |
| 81 | + }, |
| 82 | + ]} |
| 83 | +/> |
| 84 | + |
| 85 | +Get Linear teams and team information including team members |
| 86 | + |
| 87 | +**Parameters** |
| 88 | + |
| 89 | +- **team_name** (`string`, optional) Filter by team name. Provide specific team name (e.g. 'Frontend', 'Product Web') or partial name. Use this to find specific teams or check team membership. Defaults to None (all teams). |
| 90 | +- **include_archived** (`boolean`, optional) Whether to include archived teams in results. Defaults to False. |
| 91 | +- **created_after** (`string`, optional) Filter teams created after this date. Can be: |
| 92 | +- Relative date string (e.g. 'last month', 'this week', 'yesterday') |
| 93 | +- ISO date string (e.g. 'YYYY-MM-DD') |
| 94 | +Defaults to None (all time). |
| 95 | +- **limit** (`integer`, optional) Maximum number of teams to return. Min 1, max 100. Defaults to 50. |
| 96 | +- **end_cursor** (`string`, optional) Cursor for pagination - get teams after this cursor. Use the 'end_cursor' from previous response. Defaults to None (start from beginning). |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | +## Auth |
| 102 | + |
| 103 | +The Arcade Linear toolkit uses the [Linear auth provider](/home/auth-providers/linear) to connect to users' Linear accounts. Please refer to the [Linear auth provider](/home/auth-providers/linear) documentation to learn how to configure auth. |
| 104 | + |
| 105 | +<ToolFooter pipPackageName="arcade_linear" /> |
| 106 | + |
0 commit comments