File size: 1,022 Bytes
31c9f7d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  "name": "get_diff_threads",
  "description": "Exact lookup for diff threads. Use with review URLs, GitHub PR URLs, Linear full identifiers, UUIDs, or slugs.",
  "inputSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
      "urlOrId": {
        "type": "string",
        "minLength": 1,
        "description": "Linear review URL, diff slug, pull request ID, Linear full identifier, or GitHub PR URL"
      },
      "threadId": {
        "description": "Optional top-level thread/comment ID to return",
        "type": "string"
      },
      "resolved": {
        "description": "Filter returned threads by resolved state",
        "type": "boolean"
      },
      "orderBy": {
        "default": "updatedAt",
        "description": "Sort: createdAt | updatedAt",
        "type": "string",
        "enum": [
          "createdAt",
          "updatedAt"
        ]
      }
    },
    "required": [
      "urlOrId"
    ],
    "additionalProperties": false
  }
}