피드백
에이전트에서 제품 피드백과 버그 보고서를 제출합니다. 예시는 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
}
}