> For the complete documentation index, see [llms.txt](https://api-docs.hengelending.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.hengelending.com/mcp/tool-reference/issue-reports.md). Agents can also search and read this documentation through its [MCP server](https://api-docs.hengelending.com/~gitbook/mcp).

# Issue reports

Report a problem and follow the reports you have made.

{% hint style="info" %}
Generated from the MCP server's code. Do not edit this page in GitBook: changes are overwritten on the next sync.
{% endhint %}

## get\_report

Read one report by its id, with its live status and its group's status. An Admin also gets the issue number and link, the area and every issue in the group, and can read any reporter's report; everyone else can read only their own, and another person's report is reported as not found.

**Who can call it:** Admin, CompanyAdmin, Agent, DualLicensedAgent, Processor, ConciergeKey, Assistant, Employee, User, Client

**Reads or writes:** reads only

| Input | Type          | Description                                                          |
| ----- | ------------- | -------------------------------------------------------------------- |
| `id`  | string (uuid) | The report id (GUID) returned by report\_issue or list\_my\_reports. |

## list\_my\_reports

List the caller's own reports filed with report\_issue or the web app, newest first, 50 to a page. Each has its kind, title, category, urgency, a plain status (Sent for a Process report; for a Technical report the live state of its issue) and its group's status when other reports describe the same problem. Descriptions are left out: use get\_report for one report.

**Who can call it:** Admin, CompanyAdmin, Agent, DualLicensedAgent, Processor, ConciergeKey, Assistant, Employee, User, Client

**Reads or writes:** reads only

| Input  | Type    | Description                                                             |
| ------ | ------- | ----------------------------------------------------------------------- |
| `page` | integer | 1-based page number; 50 reports to a page, newest first. Defaults to 1. |

## report\_issue

File a report about a problem with Henge, the same as the Report an issue form in the web app. kind Technical (default) creates a GitHub issue for the engineering team and returns its issueNumber and issueUrl; kind Process emails the processing team and returns no issue. Give a clear title and a description of what happened and what was expected. Optionally tie it to a loan (externalId or loanApplicationId; the caller must be able to read it) and attach up to 5 files as base64. The reply carries the report id: use get\_report with it to check on the report. A failure to reach GitHub or to send the email is returned as an error, and the report is not filed.

**Who can call it:** Admin, CompanyAdmin, Agent, DualLicensedAgent, Processor, ConciergeKey, Assistant, Employee, User, Client

**Reads or writes:** writes

| Input                         | Type            | Description                                                                                                                                                                                                                     |
| ----------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `title`                       | string          | A short summary of the problem (up to 256 characters).                                                                                                                                                                          |
| `description`                 | string          | What happened, what was expected and how to reproduce it (up to 20000 characters).                                                                                                                                              |
| `kind`                        | string          | Technical (something in the software is broken or behaves wrongly; opens a GitHub issue for the engineering team) or Process (a question or problem with how work is done; emails the processing team). Defaults to Technical.  |
| `category`                    | string          | Optional area of the product the report is about, e.g. "Pricing" or "Documents" (up to 128 characters).                                                                                                                         |
| `urgency`                     | integer         | How urgent it is: 1 Nice to have, 2 Would be more efficient with it, 3 Important but has a workaround, 4 Urgent with no workaround. Defaults to 2.                                                                              |
| `loanApplicationId`           | string (uuid)   | Optional. The Henge internal loan application ID (GUID) the report is about. The caller must be able to read the loan. If externalId is also supplied, externalId wins.                                                         |
| `externalId`                  | string          | Optional. The MLM ExternalId of the loan the report is about. The caller must be able to read the loan.                                                                                                                         |
| `attachments`                 | array of object | Optional files, at most 5 of up to 5 MB each and 15 MB in all (png, jpg, jpeg, gif, webp, pdf, txt, csv, log, json, xml, docx, xlsx). A Technical report's files show in the issue; a Process report's files go with the email. |
| `attachments[].name`          | string          | The file name with its extension, e.g. "error.png".                                                                                                                                                                             |
| `attachments[].contentType`   | string          | The MIME type, e.g. "image/png". It must match the file extension.                                                                                                                                                              |
| `attachments[].contentBase64` | string          | The file's bytes, base64 encoded.                                                                                                                                                                                               |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://api-docs.hengelending.com/mcp/tool-reference/issue-reports.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
