File size: 1,232 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
37
38
39
40
41
42
43
44
45
46
{
  "name": "list_diffs",
  "description": "List Linear diff pull requests visible to the authenticated user",
  "inputSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
      "limit": {
        "default": 50,
        "description": "Max results (default 50, max 250)",
        "type": "number",
        "maximum": 250
      },
      "cursor": {
        "description": "Next page cursor",
        "type": "string"
      },
      "orderBy": {
        "default": "updatedAt",
        "description": "Sort: createdAt | updatedAt",
        "type": "string",
        "enum": [
          "createdAt",
          "updatedAt"
        ]
      },
      "query": {
        "description": "Broad search by title, branch, PR number, or bare slug",
        "type": "string"
      },
      "owner": {
        "description": "Filter returned diffs by repository owner",
        "type": "string"
      },
      "repo": {
        "description": "Filter returned diffs by repository name",
        "type": "string"
      },
      "status": {
        "description": "Filter returned diffs by pull request status",
        "type": "string"
      }
    },
    "additionalProperties": false
  }
}