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

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.

الوظائف

tags.add

tags.add(account_id: str, tag_name: str, color_hex?: str, description?: str | null) -> Tag
الوسوم: tags.add.
الخاصيةالقيمةالخاصيةالقيمة
الإذن المطلوبtag.manageالمصادقة مطلوبةنعم
وضع التنفيذsyncالصلاحيةtag.manage
نوع الموردaccountحقل معرف الموردaccount_id
مسار API العامPOST /v1/public/accounts/{account_id}/tags
الاسمالنوعمطلوب
account_idstrنعم
tag_namestrنعم
color_hexstrلا
descriptionstr | nullلا
الحقلالنوعمطلوب
color_hexstrنعم
idstrنعم
namestrنعم
created_atstr | nullلا
descriptionstr | nullلا
updated_atstr | nullلا
الطلب:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "tags.add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", tag_name=\"<string>\", color_hex=\"<string>\", description=\"<string>\")"
}
الاستجابة:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": "<string>"
  },
  "responses": [
    {
      "index": 0,
      "function": "tags.add",
      "status": "completed",
      "result": "<string>"
    }
  ],
  "complexity_score": 1
}
الطلب:
{
  "jsonrpc": "2.0",
  "id": "example",
  "method": "tools/call",
  "params": {
    "name": "hybridbox_execute",
    "arguments": {
      "code": "tags.add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", tag_name=\"<string>\", color_hex=\"<string>\", description=\"<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\": \"tags.add\",\n      \"status\": \"completed\",\n      \"result\": \"<string>\"\n    }\n  ],\n  \"complexity_score\": 1\n}"
      }
    ],
    "isError": false
  }
}

tags.delete

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

tags.domains.assign

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

tags.domains.unassign

tags.domains.unassign(account_id: str, tag_id: str, domain_ids: [str]) -> {}
الوسوم: tags.domains.unassign.
الخاصيةالقيمةالخاصيةالقيمة
الإذن المطلوبtag.manageالمصادقة مطلوبةنعم
وضع التنفيذsyncالصلاحيةtag.manage
نوع الموردaccountحقل معرف الموردaccount_id
مسار API العامPOST /v1/public/accounts/{account_id}/tags/{tag_id}/domains/unassign
الاسمالنوعمطلوب
account_idstrنعم
tag_idstrنعم
domain_ids[str]نعم
الحقلالنوعمطلوب
result{}نعم
الطلب:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "tags.domains.unassign(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", tag_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain_ids=\"example.com\")"
}
الاستجابة:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": {}
  },
  "responses": [
    {
      "index": 0,
      "function": "tags.domains.unassign",
      "status": "completed",
      "result": {}
    }
  ],
  "complexity_score": 1
}
الطلب:
{
  "jsonrpc": "2.0",
  "id": "example",
  "method": "tools/call",
  "params": {
    "name": "hybridbox_execute",
    "arguments": {
      "code": "tags.domains.unassign(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", tag_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain_ids=\"example.com\")"
    }
  }
}
الاستجابة:
{
  "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\": \"tags.domains.unassign\",\n      \"status\": \"completed\",\n      \"result\": {}\n    }\n  ],\n  \"complexity_score\": 1\n}"
      }
    ],
    "isError": false
  }
}

tags.list

tags.list(account_id: str, page?: int, page_size?: int) -> Page[Tag]
الوسوم: tags.list.
الخاصيةالقيمةالخاصيةالقيمة
الإذن المطلوبtag.viewالمصادقة مطلوبةنعم
وضع التنفيذsyncالصلاحيةtag.view
نوع الموردaccountحقل معرف الموردaccount_id
مسار API العامGET /v1/public/accounts/{account_id}/tags
الاسمالنوعمطلوب
account_idstrنعم
pageintلا
page_sizeintلا
الحقلالنوعمطلوب
items[{"color_hex": str, "id": str, "name": str, "created_at"?: str | null, "description"?: str | null, "updated_at"?: str | null}]نعم
pageintنعم
page_sizeintنعم
totalintنعم
الطلب:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "tags.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": "tags.list",
      "status": "completed",
      "result": "<string>"
    }
  ],
  "complexity_score": 1
}
الطلب:
{
  "jsonrpc": "2.0",
  "id": "example",
  "method": "tools/call",
  "params": {
    "name": "hybridbox_execute",
    "arguments": {
      "code": "tags.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\": \"tags.list\",\n      \"status\": \"completed\",\n      \"result\": \"<string>\"\n    }\n  ],\n  \"complexity_score\": 1\n}"
      }
    ],
    "isError": false
  }
}

tags.update

tags.update(account_id: str, tag_id: str, color_hex?: str | null, description?: str | null, tag_name?: str | null) -> Tag
الوسوم: tags.update.
الخاصيةالقيمةالخاصيةالقيمة
الإذن المطلوبtag.manageالمصادقة مطلوبةنعم
وضع التنفيذsyncالصلاحيةtag.manage
نوع الموردaccountحقل معرف الموردaccount_id
مسار API العامPATCH /v1/public/accounts/{account_id}/tags/{tag_id}
الاسمالنوعمطلوب
account_idstrنعم
tag_idstrنعم
color_hexstr | nullلا
descriptionstr | nullلا
tag_namestr | nullلا
الحقلالنوعمطلوب
color_hexstrنعم
idstrنعم
namestrنعم
created_atstr | nullلا
descriptionstr | nullلا
updated_atstr | nullلا
الطلب:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "tags.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", tag_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", color_hex=\"<string>\", description=\"<string>\", tag_name=\"<string>\")"
}
الاستجابة:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": "<string>"
  },
  "responses": [
    {
      "index": 0,
      "function": "tags.update",
      "status": "completed",
      "result": "<string>"
    }
  ],
  "complexity_score": 1
}
الطلب:
{
  "jsonrpc": "2.0",
  "id": "example",
  "method": "tools/call",
  "params": {
    "name": "hybridbox_execute",
    "arguments": {
      "code": "tags.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", tag_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", color_hex=\"<string>\", description=\"<string>\", tag_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\": \"tags.update\",\n      \"status\": \"completed\",\n      \"result\": \"<string>\"\n    }\n  ],\n  \"complexity_score\": 1\n}"
      }
    ],
    "isError": false
  }
}