> Call `talotrace_start_session` to test an app. Full index: /llms.txt. Errors: /reference/problems.

# Findings

## `talotrace_list_findings`

List the bugs and issues found, most severe first.

Annotations: reads only.

| Argument            | Type                   | Required | What it is |
| ------------------- | ---------------------- | -------- | ---------- |
| `project_id`        | `string \| null`       | no       |            |
| `session_id`        | `string \| null`       | no       |            |
| `state`             | `FindingState \| null` | no       |            |
| `kind`              | `BugKind \| null`      | no       |            |
| `severity_at_least` | `BugSeverity \| null`  | no       |            |
| `limit`             | `integer`              | no       |            |
| `cursor`            | `string \| null`       | no       |            |

```json
{
  "$defs": {
    "BugKind": {
      "enum": [
        "bug",
        "flag"
      ],
      "type": "string"
    },
    "BugSeverity": {
      "description": "The single severity vocabulary for bugs, findings, tickets, APIs and persistence.",
      "enum": [
        "P0",
        "P1",
        "P2",
        "P3",
        "P4"
      ],
      "type": "string"
    },
    "FindingState": {
      "enum": [
        "needs_review",
        "open",
        "fixed",
        "dismissed"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "cursor": {
      "anyOf": [
        {
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "kind": {
      "anyOf": [
        {
          "$ref": "#/$defs/BugKind"
        },
        {
          "type": "null"
        }
      ]
    },
    "limit": {
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "project_id": {
      "anyOf": [
        {
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "session_id": {
      "anyOf": [
        {
          "pattern": "^ses_[0-9A-HJKMNP-TV-Z]{26}$",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "severity_at_least": {
      "anyOf": [
        {
          "$ref": "#/$defs/BugSeverity"
        },
        {
          "type": "null"
        }
      ]
    },
    "state": {
      "anyOf": [
        {
          "$ref": "#/$defs/FindingState"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object"
}
```

## `talotrace_get_finding`

Read one finding in full: its steps, evidence links and the video the judge watched.

Annotations: reads only.

| Argument     | Type     | Required | What it is |
| ------------ | -------- | -------- | ---------- |
| `finding_id` | `string` | yes      |            |

```json
{
  "additionalProperties": false,
  "properties": {
    "finding_id": {
      "maxLength": 128,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "finding_id"
  ],
  "type": "object"
}
```

## `talotrace_triage_finding`

Move a finding: accept, dismiss, mark as fixed, reopen or mark as needing review.

Annotations: changes data, never deletes.

| Argument          | Type                    | Required | What it is                |
| ----------------- | ----------------------- | -------- | ------------------------- |
| `project_id`      | `string \| null`        | no       |                           |
| `finding_id`      | `string`                | yes      |                           |
| `decision`        | `TriageDecision`        | yes      |                           |
| `reason`          | `string`                | yes      |                           |
| `dismiss_reason`  | `DismissReason \| null` | no       |                           |
| `fix_ref`         | `FixRef \| null`        | no       |                           |
| `idempotency_key` | `string`                | yes      | Reuse it to retry safely. |

```json
{
  "$defs": {
    "DismissReason": {
      "enum": [
        "works_as_intended",
        "cannot_reproduce",
        "duplicate"
      ],
      "type": "string"
    },
    "FixRef": {
      "additionalProperties": false,
      "properties": {
        "commit": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "pr_url": {
          "anyOf": [
            {
              "maxLength": 2048,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "type": "object"
    },
    "TriageDecision": {
      "enum": [
        "accept",
        "dismiss",
        "mark_fixed",
        "reopen",
        "needs_review"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "decision": {
      "$ref": "#/$defs/TriageDecision"
    },
    "dismiss_reason": {
      "anyOf": [
        {
          "$ref": "#/$defs/DismissReason"
        },
        {
          "type": "null"
        }
      ]
    },
    "finding_id": {
      "minLength": 1,
      "type": "string"
    },
    "fix_ref": {
      "anyOf": [
        {
          "$ref": "#/$defs/FixRef"
        },
        {
          "type": "null"
        }
      ]
    },
    "idempotency_key": {
      "description": "Reuse it to retry safely.",
      "maxLength": 128,
      "minLength": 8,
      "type": "string"
    },
    "project_id": {
      "anyOf": [
        {
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "reason": {
      "maxLength": 2000,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "finding_id",
    "decision",
    "reason",
    "idempotency_key"
  ],
  "type": "object"
}
```

## `talotrace_retest_finding`

Check once whether a finding is fixed, with a short session of its own.

Annotations: changes data, never deletes.

| Argument          | Type                             | Required | What it is                |
| ----------------- | -------------------------------- | -------- | ------------------------- |
| `project_id`      | `string \| null`                 | no       |                           |
| `finding_id`      | `string`                         | yes      |                           |
| `instructions`    | `string \| null`                 | no       |                           |
| `preview_url`     | `string \| null`                 | no       |                           |
| `ports`           | `array of integer`               | no       |                           |
| `target`          | `TargetUrl \| TargetApp \| null` | no       |                           |
| `idempotency_key` | `string`                         | yes      | Reuse it to retry safely. |

```json
{
  "$defs": {
    "TargetApp": {
      "additionalProperties": false,
      "description": "An app to test, and the build to install (``apps.build`` says how one is picked).",
      "properties": {
        "app_id": {
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "build_id": {
          "anyOf": [
            {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "channel": {
          "anyOf": [
            {
              "pattern": "^[a-z0-9][a-z0-9-]{0,62}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "tag": {
          "anyOf": [
            {
              "pattern": "^\\S{1,128}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "app_id"
      ],
      "type": "object"
    },
    "TargetUrl": {
      "additionalProperties": false,
      "properties": {
        "url": {
          "format": "uri",
          "maxLength": 2083,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "url"
      ],
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "finding_id": {
      "maxLength": 128,
      "minLength": 1,
      "type": "string"
    },
    "idempotency_key": {
      "description": "Reuse it to retry safely.",
      "maxLength": 128,
      "minLength": 8,
      "type": "string"
    },
    "instructions": {
      "anyOf": [
        {
          "maxLength": 2000,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "ports": {
      "items": {
        "maximum": 65535,
        "minimum": 1,
        "type": "integer"
      },
      "type": "array"
    },
    "preview_url": {
      "anyOf": [
        {
          "maxLength": 2048,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "project_id": {
      "anyOf": [
        {
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "target": {
      "anyOf": [
        {
          "$ref": "#/$defs/TargetUrl"
        },
        {
          "$ref": "#/$defs/TargetApp"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "finding_id",
    "idempotency_key"
  ],
  "type": "object"
}
```

## `talotrace_tracker_options`

Read what a Jira or Linear ticket can be filed with: teams, statuses, priorities and the prefilled title.

Annotations: reads only.

| Argument     | Type              | Required | What it is |
| ------------ | ----------------- | -------- | ---------- |
| `provider`   | `TrackerProvider` | yes      |            |
| `team_id`    | `string \| null`  | no       |            |
| `finding_id` | `string \| null`  | no       |            |

```json
{
  "$defs": {
    "TrackerProvider": {
      "description": "Issue trackers TaloTrace exports confirmed findings to.",
      "enum": [
        "jira",
        "linear"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "finding_id": {
      "anyOf": [
        {
          "maxLength": 128,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "provider": {
      "$ref": "#/$defs/TrackerProvider"
    },
    "team_id": {
      "anyOf": [
        {
          "maxLength": 128,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "provider"
  ],
  "type": "object"
}
```

## `talotrace_file_finding`

File a finding a person accepted as a Jira or Linear ticket. TaloTrace never edits the ticket afterwards.

Annotations: changes data, never deletes.

| Argument          | Type              | Required | What it is                       |
| ----------------- | ----------------- | -------- | -------------------------------- |
| `finding_id`      | `string`          | yes      |                                  |
| `provider`        | `TrackerProvider` | yes      |                                  |
| `idempotency_key` | `string`          | yes      | Reuse it to retry safely.        |
| `title`           | `string \| null`  | no       |                                  |
| `description`     | `string \| null`  | no       |                                  |
| `project_key`     | `string \| null`  | no       |                                  |
| `team_id`         | `string \| null`  | no       |                                  |
| `state_id`        | `string \| null`  | no       |                                  |
| `priority`        | `integer \| null` | no       |                                  |
| `assignee_id`     | `string \| null`  | no       |                                  |
| `label_ids`       | `array of string` | no       |                                  |
| `project_id`      | `string \| null`  | no       | Linear project id (Linear only). |
| `due_date`        | `string \| null`  | no       |                                  |

```json
{
  "$defs": {
    "TrackerProvider": {
      "description": "Issue trackers TaloTrace exports confirmed findings to.",
      "enum": [
        "jira",
        "linear"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "assignee_id": {
      "anyOf": [
        {
          "maxLength": 128,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "description": {
      "anyOf": [
        {
          "maxLength": 32768,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "due_date": {
      "anyOf": [
        {
          "format": "date",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "finding_id": {
      "maxLength": 128,
      "minLength": 1,
      "type": "string"
    },
    "idempotency_key": {
      "description": "Reuse it to retry safely.",
      "maxLength": 128,
      "minLength": 8,
      "type": "string"
    },
    "label_ids": {
      "items": {
        "minLength": 1,
        "type": "string"
      },
      "maxLength": 50,
      "type": "array"
    },
    "priority": {
      "anyOf": [
        {
          "maximum": 4,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "project_id": {
      "anyOf": [
        {
          "maxLength": 128,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Linear project id (Linear only)."
    },
    "project_key": {
      "anyOf": [
        {
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "provider": {
      "$ref": "#/$defs/TrackerProvider"
    },
    "state_id": {
      "anyOf": [
        {
          "maxLength": 128,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "team_id": {
      "anyOf": [
        {
          "maxLength": 128,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "title": {
      "anyOf": [
        {
          "maxLength": 300,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "finding_id",
    "provider",
    "idempotency_key"
  ],
  "type": "object"
}
```