File size: 2,030 Bytes
cf3884b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
52
53
54
{
  "name": "get_deployment_build_logs",
  "description": "Get the build logs for a deployment by ID or URL, to investigate why a build failed. Returns the most recent lines by default (where build errors appear). Use errorsOnly to see just the failing lines.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "idOrUrl": {
        "type": "string",
        "description": "The unique identifier or hostname of the deployment."
      },
      "direction": {
        "type": "string",
        "enum": [
          "tail",
          "head"
        ],
        "default": "tail",
        "description": "Which end of the build log to return. \"tail\" (default) returns the most recent lines, where build errors appear. \"head\" returns the earliest lines."
      },
      "errorsOnly": {
        "type": "boolean",
        "default": false,
        "description": "Return only error, stderr, exit, and fatal events."
      },
      "limit": {
        "type": "number",
        "description": "Maximum number of log lines to return. Defaults is 100.",
        "default": 100
      },
      "since": {
        "type": "string",
        "description": "Start time - ISO date or relative (e.g. \"1h\", \"30m\")."
      },
      "until": {
        "type": "string",
        "description": "End time - ISO date or relative."
      },
      "buildId": {
        "type": "string",
        "description": "Filter to a specific build ID (bld_...) for multi-build deployments."
      },
      "teamId": {
        "type": "string",
        "description": "The team ID to get the deployment events for. Alternatively the team slug can be used.\nTeam IDs start with \"team_\".\nIf you do not know the team ID or slug, it can be found through these mechanism:\n- Read the file .vercel/project.json if it exists and extract the orgId\n- Use the `list_teams` tool"
      }
    },
    "required": [
      "idOrUrl",
      "teamId"
    ],
    "additionalProperties": false,
    "$schema": "http://json-schema.org/draft-07/schema#"
  }
}