الانتقال إلى المحتوى الرئيسي

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.

كلمات المرور الرئيسية

إنشاء كلمات مرور رئيسية محددة النطاق وسردها وإعادة تسميتها وحذفها. تستخدم الأمثلة وضع الكود في A2A. يتيح MCP وضع الكود نفسه عبر أداة execute.

الوظائف

credentials.add

credentials.add(account_id: str, name: str, domain?: str | null, generate?: bool, value?: str | null, workspace_id?: str | null) -> MasterPassword
كلمات المرور الرئيسية: credentials.add.
الخاصيةالقيمةالخاصيةالقيمة
الإذن المطلوبcredential.manageالمصادقة مطلوبةنعم
وضع التنفيذsyncالصلاحيةcredential.manage
نوع الموردaccountحقل معرف الموردaccount_id
مسار API العامPOST /v1/public/accounts/{account_id}/credentials
الاسمالنوعمطلوب
account_idstrنعم
namestrنعم
domainstr | nullلا
generateboolلا
valuestr | nullلا
workspace_idstr | nullلا
الحقلالنوعمطلوب
created_atstrنعم
idstrنعم
namestrنعم
scope_idstrنعم
scope_type"account" | "workspace" | "domain"نعم
updated_atstrنعم
generated_secretstr | nullلا
الطلب:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "credentials.add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", name=\"<string>\", domain=\"example.com\", generate=true, value=\"<string>\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
الاستجابة:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": "<string>"
  },
  "responses": [
    {
      "index": 0,
      "function": "credentials.add",
      "status": "completed",
      "result": "<string>"
    }
  ],
  "complexity_score": 1
}
الطلب:
{
  "jsonrpc": "2.0",
  "id": "example",
  "method": "tools/call",
  "params": {
    "name": "hybridbox_execute",
    "arguments": {
      "code": "credentials.add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", name=\"<string>\", domain=\"example.com\", generate=true, value=\"<string>\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
    }
  }
}
الاستجابة:
{
  "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\": \"credentials.add\",\n      \"status\": \"completed\",\n      \"result\": \"<string>\"\n    }\n  ],\n  \"complexity_score\": 1\n}"
      }
    ],
    "isError": false
  }
}

credentials.delete

credentials.delete(account_id: str, credential_id: str) -> {}
كلمات المرور الرئيسية: credentials.delete.
الخاصيةالقيمةالخاصيةالقيمة
الإذن المطلوبcredential.manageالمصادقة مطلوبةنعم
وضع التنفيذsyncالصلاحيةcredential.manage
نوع الموردaccountحقل معرف الموردaccount_id
مسار API العامDELETE /v1/public/accounts/{account_id}/credentials/{credential_id}
الاسمالنوعمطلوب
account_idstrنعم
credential_idstrنعم
الحقلالنوعمطلوب
result{}نعم
الطلب:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "credentials.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", credential_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
الاستجابة:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": {}
  },
  "responses": [
    {
      "index": 0,
      "function": "credentials.delete",
      "status": "completed",
      "result": {}
    }
  ],
  "complexity_score": 1
}
الطلب:
{
  "jsonrpc": "2.0",
  "id": "example",
  "method": "tools/call",
  "params": {
    "name": "hybridbox_execute",
    "arguments": {
      "code": "credentials.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", credential_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
    }
  }
}
الاستجابة:
{
  "jsonrpc": "2.0",
  "id": "example",
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": {}\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"credentials.delete\",\n      \"status\": \"completed\",\n      \"result\": {}\n    }\n  ],\n  \"complexity_score\": 1\n}"
      }
    ],
    "isError": false
  }
}

credentials.list

credentials.list(account_id: str, page?: int, page_size?: int) -> Page[MasterPassword]
كلمات المرور الرئيسية: credentials.list.
الخاصيةالقيمةالخاصيةالقيمة
الإذن المطلوبcredential.viewالمصادقة مطلوبةنعم
وضع التنفيذsyncالصلاحيةcredential.view
نوع الموردaccountحقل معرف الموردaccount_id
مسار API العامGET /v1/public/accounts/{account_id}/credentials
الاسمالنوعمطلوب
account_idstrنعم
pageintلا
page_sizeintلا
الحقلالنوعمطلوب
items[{"created_at": str, "id": str, "name": str, "scope_id": str, "scope_type": "account" | "workspace" | "domain", "updated_at": str}]نعم
pageintنعم
page_sizeintنعم
totalintنعم
الطلب:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "credentials.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", page=123, page_size=123)"
}
الاستجابة:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": "<string>"
  },
  "responses": [
    {
      "index": 0,
      "function": "credentials.list",
      "status": "completed",
      "result": "<string>"
    }
  ],
  "complexity_score": 1
}
الطلب:
{
  "jsonrpc": "2.0",
  "id": "example",
  "method": "tools/call",
  "params": {
    "name": "hybridbox_execute",
    "arguments": {
      "code": "credentials.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", page=123, page_size=123)"
    }
  }
}
الاستجابة:
{
  "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\": \"credentials.list\",\n      \"status\": \"completed\",\n      \"result\": \"<string>\"\n    }\n  ],\n  \"complexity_score\": 1\n}"
      }
    ],
    "isError": false
  }
}

credentials.update

credentials.update(account_id: str, credential_id: str, name: str) -> MasterPassword
كلمات المرور الرئيسية: credentials.update.
الخاصيةالقيمةالخاصيةالقيمة
الإذن المطلوبcredential.manageالمصادقة مطلوبةنعم
وضع التنفيذsyncالصلاحيةcredential.manage
نوع الموردaccountحقل معرف الموردaccount_id
مسار API العامPATCH /v1/public/accounts/{account_id}/credentials/{credential_id}
الاسمالنوعمطلوب
account_idstrنعم
credential_idstrنعم
namestrنعم
الحقلالنوعمطلوب
created_atstrنعم
idstrنعم
namestrنعم
scope_idstrنعم
scope_type"account" | "workspace" | "domain"نعم
updated_atstrنعم
الطلب:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "credentials.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", credential_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", name=\"<string>\")"
}
الاستجابة:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": "<string>"
  },
  "responses": [
    {
      "index": 0,
      "function": "credentials.update",
      "status": "completed",
      "result": "<string>"
    }
  ],
  "complexity_score": 1
}
الطلب:
{
  "jsonrpc": "2.0",
  "id": "example",
  "method": "tools/call",
  "params": {
    "name": "hybridbox_execute",
    "arguments": {
      "code": "credentials.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", credential_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", name=\"<string>\")"
    }
  }
}
الاستجابة:
{
  "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\": \"credentials.update\",\n      \"status\": \"completed\",\n      \"result\": \"<string>\"\n    }\n  ],\n  \"complexity_score\": 1\n}"
      }
    ],
    "isError": false
  }
}