Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs-v1.agno.com/llms.txt

Use this file to discover all available pages before exploring further.

LinearTool enable an Agent to perform Linear tasks.

Prerequisites

The following examples require Linear API key, which can be obtained from here.
export LINEAR_API_KEY="LINEAR_API_KEY"

Example

The following agent will use Linear API to search for issues in a project for a specific user.
cookbook/tools/linear_tools.py
from agno.agent import Agent
from agno.tools.linear import LinearTools

agent = Agent(
    name="Linear Tool Agent",
    tools=[LinearTools()],
    show_tool_calls=True,
    markdown=True,
)

agent.print_response("Show all the issues assigned to user id: 12021")

Toolkit Params

ParameterTypeDefaultDescription
get_user_detailsboolTrueEnable get_user_details tool.
get_issue_detailsboolTrueEnable get_issue_details tool.
create_issueboolTrueEnable create_issue tool.
update_issueboolTrueEnable update_issue tool.
get_user_assigned_issuesboolTrueEnable get_user_assigned_issues tool.
get_workflow_issuesboolTrueEnable get_workflow_issues tool.
get_high_priority_issuesboolTrueEnable get_high_priority_issues tool.

Toolkit Functions

FunctionDescription
get_user_detailsFetch authenticated user details.
get_issue_detailsRetrieve details of a specific issue by issue ID.
create_issueCreate a new issue within a specific project and team.
update_issueUpdate the title or state of a specific issue by issue ID.
get_user_assigned_issuesRetrieve issues assigned to a specific user by user ID.
get_workflow_issuesRetrieve issues within a specific workflow state by workflow ID.
get_high_priority_issuesRetrieve issues with a high priority (priority <= 2).

Developer Resources