Class: LinearToonMcp::Tools::ListTeams

Inherits:
List
  • Object
show all
Defined in:
lib/linear_toon_mcp/tools/list_teams.rb

Overview

List all teams in the Linear workspace. Returns TOON-encoded array of teams with id, name, and key.

Constant Summary collapse

QUERY =
<<~GRAPHQL
  query {
    teams { nodes { id name key } }
  }
GRAPHQL

Method Summary

Methods inherited from List

connection, connection_name, #perform, query_string, #variables

Methods inherited from Base

call, #call, error_response, #perform, success_response