Обратная связь
Отправлять отзывы о продукте и отчеты об ошибках от агентов. В примерах используется режим кода A2A. MCP предоставляет тот же режим кода через инструментexecute.
Функции
feedback.submit
feedback.submit(account_id: str, category: "bug_report" | "product_feedback" | "feature_request" | "other", description: str, title: str, attributes?: {}, paid_product_feature?: bool) -> Feedback
feedback.submit.
| Свойство | Значение | Свойство | Значение |
|---|---|---|---|
| Требуется аутентификация | да | Режим выполнения | sync |
| Публичный маршрут API | POST /v1/public/accounts/{account_id}/feedback |
Аргументы
Аргументы
| Имя | Тип | Обязательный |
|---|---|---|
account_id | str | да |
category | "bug_report" | "product_feedback" | "feature_request" | "other" | да |
description | str | да |
title | str | да |
attributes | {} | нет |
paid_product_feature | bool | нет |
Возвращает
Возвращает
| Поле | Тип | Обязательный |
|---|---|---|
account_id | str | да |
attributes | {} | да |
category | "bug_report" | "product_feedback" | "feature_request" | "other" | да |
created_at | str | да |
created_by_user_id | str | да |
description | str | да |
id | str | да |
paid_product_feature | bool | да |
status | "new" | "triaged" | "planned" | "in_progress" | "closed" | да |
submitter_email | str | да |
submitter_name | str | да |
title | str | да |
updated_at | str | да |
admin_notes | str | null | нет |
Пример A2A
Пример A2A
Запрос:Ответ:
{
"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)"
}
{
"request_id": "example",
"status": "completed",
"result": {
"last_value": "<string>"
},
"responses": [
{
"index": 0,
"function": "feedback.submit",
"status": "completed",
"result": "<string>"
}
],
"complexity_score": 1
}
Пример MCP
Пример MCP
Запрос:Ответ:
{
"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)"
}
}
}
{
"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
}
}