الملاحظات
إرسال ملاحظات المنتج وتقارير الأخطاء من الوكلاء. تستخدم الأمثلة وضع الكود في 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
}
}