Feedback
Enviar feedback sobre o produto e relatórios de bugs a partir de agentes. Os exemplos usam o modo de código A2A. O MCP expõe o mesmo modo de código pela ferramentaexecute.
Funções
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.
| Propriedade | Valor | Propriedade | Valor |
|---|---|---|---|
| Autenticação obrigatória | sim | Modo de execução | sync |
| Rota da API pública | POST /v1/public/accounts/{account_id}/feedback |
Argumentos
Argumentos
| Nome | Tipo | Obrigatório |
|---|---|---|
account_id | str | sim |
category | "bug_report" | "product_feedback" | "feature_request" | "other" | sim |
description | str | sim |
title | str | sim |
attributes | {} | não |
paid_product_feature | bool | não |
Retorna
Retorna
| Campo | Tipo | Obrigatório |
|---|---|---|
account_id | str | sim |
attributes | {} | sim |
category | "bug_report" | "product_feedback" | "feature_request" | "other" | sim |
created_at | str | sim |
created_by_user_id | str | sim |
description | str | sim |
id | str | sim |
paid_product_feature | bool | sim |
status | "new" | "triaged" | "planned" | "in_progress" | "closed" | sim |
submitter_email | str | sim |
submitter_name | str | sim |
title | str | sim |
updated_at | str | sim |
admin_notes | str | null | não |
Exemplo A2A
Exemplo A2A
Requisição:Resposta:
{
"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
}
Exemplo MCP
Exemplo MCP
Requisição:Resposta:
{
"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
}
}