> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Feedback

> Inviare feedback sul prodotto e segnalazioni di bug dagli agenti.

# Feedback

Inviare feedback sul prodotto e segnalazioni di bug dagli agenti.

<script src="/locale-bridge.js" />

Gli esempi usano la modalità codice A2A. MCP espone la stessa modalità codice tramite lo strumento `execute`.

## Funzioni

### `feedback.submit`

```text theme={null}
feedback.submit(account_id: str, category: "bug_report" | "product_feedback" | "feature_request" | "other", description: str, title: str, attributes?: {}, paid_product_feature?: bool) -> Feedback
```

Feedback: `feedback.submit`.

| Proprietà                | Valore                                           | Proprietà              | Valore |
| ------------------------ | ------------------------------------------------ | ---------------------- | ------ |
| Autenticazione richiesta | `sì`                                             | Modalità di esecuzione | `sync` |
| Route API pubblica       | `POST /v1/public/accounts/{account_id}/feedback` |                        |        |

<AccordionGroup>
  <Accordion title="Argomenti">
    | Nome                   | Tipo                                                                 | Obbligatorio |
    | ---------------------- | -------------------------------------------------------------------- | ------------ |
    | `account_id`           | `str`                                                                | sì           |
    | `category`             | `"bug_report" \| "product_feedback" \| "feature_request" \| "other"` | sì           |
    | `description`          | `str`                                                                | sì           |
    | `title`                | `str`                                                                | sì           |
    | `attributes`           | `{}`                                                                 | no           |
    | `paid_product_feature` | `bool`                                                               | no           |
  </Accordion>

  <Accordion title="Restituisce">
    | Campo                  | Tipo                                                                 | Obbligatorio |
    | ---------------------- | -------------------------------------------------------------------- | ------------ |
    | `account_id`           | `str`                                                                | sì           |
    | `attributes`           | `{}`                                                                 | sì           |
    | `category`             | `"bug_report" \| "product_feedback" \| "feature_request" \| "other"` | sì           |
    | `created_at`           | `str`                                                                | sì           |
    | `created_by_user_id`   | `str`                                                                | sì           |
    | `description`          | `str`                                                                | sì           |
    | `id`                   | `str`                                                                | sì           |
    | `paid_product_feature` | `bool`                                                               | sì           |
    | `status`               | `"new" \| "triaged" \| "planned" \| "in_progress" \| "closed"`       | sì           |
    | `submitter_email`      | `str`                                                                | sì           |
    | `submitter_name`       | `str`                                                                | sì           |
    | `title`                | `str`                                                                | sì           |
    | `updated_at`           | `str`                                                                | sì           |
    | `admin_notes`          | `str \| null`                                                        | no           |
  </Accordion>

  <Accordion title="Esempio A2A">
    Richiesta:

    ```json theme={null}
    {
      "request_id": "example",
      "session_id": "session_123",
      "code": "feedback.submit(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", category=\"<string>\", description=\"<string>\", title=\"<string>\", attributes=\"<string>\", paid_product_feature=true)"
    }
    ```

    Risposta:

    ```json theme={null}
    {
      "request_id": "example",
      "status": "completed",
      "result": {
        "last_value": "<string>"
      },
      "responses": [
        {
          "index": 0,
          "function": "feedback.submit",
          "status": "completed",
          "result": "<string>"
        }
      ],
      "complexity_score": 1
    }
    ```
  </Accordion>

  <Accordion title="Esempio MCP">
    Richiesta:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "method": "tools/call",
      "params": {
        "name": "hybridbox_execute",
        "arguments": {
          "code": "feedback.submit(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", category=\"<string>\", description=\"<string>\", title=\"<string>\", attributes=\"<string>\", paid_product_feature=true)"
        }
      }
    }
    ```

    Risposta:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "result": {
        "content": [
          {
            "type": "text",
            "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": \"<string>\"\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"feedback.submit\",\n      \"status\": \"completed\",\n      \"result\": \"<string>\"\n    }\n  ],\n  \"complexity_score\": 1\n}"
          }
        ],
        "isError": false
      }
    }
    ```
  </Accordion>
</AccordionGroup>
