File size: 1,956 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
47
48
49
50
51
{
  "name": "save_document",
  "description": "Create or update a Linear document. If `id` is provided, updates the existing document; otherwise creates a new one. When creating, `title` is required and exactly one parent (`project`, `issue`, `initiative`, `cycle`, or `team`) must be specified. On update, passing a parent reparents the document.",
  "inputSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
      "id": {
        "description": "Document ID or slug to update. Omit to create a new document.",
        "type": "string"
      },
      "title": {
        "description": "Document title (required when creating)",
        "type": "string"
      },
      "content": {
        "description": "Content as Markdown. Do not escape the string — use literal newlines and special characters, not escape sequences. To mention a user, use @displayName (e.g., @johndoe)",
        "type": "string"
      },
      "project": {
        "description": "Project name, ID, or slug",
        "type": "string"
      },
      "issue": {
        "description": "Issue ID or identifier (e.g., LIN-123)",
        "type": "string"
      },
      "initiative": {
        "description": "Initiative name or ID",
        "type": "string"
      },
      "cycle": {
        "description": "Cycle name, number, or ID. When passing a name or number, also pass `team` to disambiguate.",
        "type": "string"
      },
      "team": {
        "description": "Team name or ID. Attaches the document to the team, unless `cycle` is also passed, in which case it disambiguates the cycle.",
        "type": "string"
      },
      "icon": {
        "description": "Icon name or emoji code (e.g. \"Rocket\" or \":eagle:\"), not a raw Unicode emoji",
        "type": "string"
      },
      "color": {
        "description": "Hex color",
        "type": "string"
      }
    },
    "additionalProperties": false
  }
}