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.
DNS レコード
DNS レコードを一覧表示、作成、更新、削除します。
例では A2A コードモードを使用します。MCP は execute ツールを通じて同じコードモードを公開します。
dns_records.add
dns_records.add(account_id: str, domain: str, name: str, type: str, value: str, prio?: int | null, ttl?: int) -> DNSRecord
DNS レコード: dns_records.add.
| プロパティ | 値 | プロパティ | 値 |
|---|
| 必要な権限 | dns.record.create | 認証必須 | はい |
| 実行モード | sync | 機能権限 | dns.record.create |
| リソースタイプ | account | リソース ID フィールド | account_id |
| 公開 API ルート | POST /v1/public/accounts/{account_id}/dns-records | | |
| 名前 | 型 | 必須 |
|---|
account_id | str | はい |
domain | str | はい |
name | str | はい |
type | str | はい |
value | str | はい |
prio | int | null | いいえ |
ttl | int | いいえ |
| フィールド | 型 | 必須 |
|---|
id | int | はい |
name | str | はい |
ttl | int | はい |
type | str | はい |
value | str | はい |
is_system_managed | bool | いいえ |
priority | int | null | いいえ |
リクエスト:{
"request_id": "example",
"session_id": "session_123",
"code": "dns_records.add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", name=\"<string>\", type=\"<string>\", value=\"<string>\", prio=123, ttl=123)"
}
レスポンス:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": 123
},
"responses": [
{
"index": 0,
"function": "dns_records.add",
"status": "completed",
"result": 123
}
],
"complexity_score": 1
}
リクエスト:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "dns_records.add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", name=\"<string>\", type=\"<string>\", value=\"<string>\", prio=123, ttl=123)"
}
}
}
レスポンス:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": 123\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"dns_records.add\",\n \"status\": \"completed\",\n \"result\": 123\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
dns_records.delete
dns_records.delete(account_id: str, record_id: int) -> {}
DNS レコード: dns_records.delete.
| プロパティ | 値 | プロパティ | 値 |
|---|
| 必要な権限 | dns.record.delete | 認証必須 | はい |
| 実行モード | sync | 機能権限 | dns.record.delete |
| リソースタイプ | account | リソース ID フィールド | account_id |
| 公開 API ルート | DELETE /v1/public/accounts/{account_id}/dns-records/{record_id} | | |
| 名前 | 型 | 必須 |
|---|
account_id | str | はい |
record_id | int | はい |
リクエスト:{
"request_id": "example",
"session_id": "session_123",
"code": "dns_records.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", record_id=123)"
}
レスポンス:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": {}
},
"responses": [
{
"index": 0,
"function": "dns_records.delete",
"status": "completed",
"result": {}
}
],
"complexity_score": 1
}
リクエスト:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "dns_records.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", record_id=123)"
}
}
}
レスポンス:{
"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\": \"dns_records.delete\",\n \"status\": \"completed\",\n \"result\": {}\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
dns_records.list
dns_records.list(account_id: str, domain?: str | null, name?: str | null, page?: int, page_size?: int, type?: str | null) -> Page[DNSRecord]
DNS レコード: dns_records.list.
| プロパティ | 値 | プロパティ | 値 |
|---|
| 必要な権限 | dns.record.view | 認証必須 | はい |
| 実行モード | sync | 機能権限 | dns.record.view |
| リソースタイプ | account | リソース ID フィールド | account_id |
| 公開 API ルート | GET /v1/public/accounts/{account_id}/dns-records | | |
| 名前 | 型 | 必須 |
|---|
account_id | str | はい |
domain | str | null | いいえ |
name | str | null | いいえ |
page | int | いいえ |
page_size | int | いいえ |
type | str | null | いいえ |
| フィールド | 型 | 必須 |
|---|
items | [{"id": int, "name": str, "ttl": int, "type": str, "value": str, "is_system_managed"?: bool, "priority"?: int | null}] | はい |
page | int | はい |
page_size | int | はい |
total | int | はい |
リクエスト:{
"request_id": "example",
"session_id": "session_123",
"code": "dns_records.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", name=\"<string>\", page=123, page_size=123, type=\"<string>\")"
}
レスポンス:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": 123
},
"responses": [
{
"index": 0,
"function": "dns_records.list",
"status": "completed",
"result": 123
}
],
"complexity_score": 1
}
リクエスト:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "dns_records.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", name=\"<string>\", page=123, page_size=123, type=\"<string>\")"
}
}
}
レスポンス:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": 123\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"dns_records.list\",\n \"status\": \"completed\",\n \"result\": 123\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
dns_records.update
dns_records.update(account_id: str, record_id: int, disabled?: bool | null, name?: str | null, prio?: int | null, ttl?: int | null, value?: str | null) -> DNSRecord
DNS レコード: dns_records.update.
| プロパティ | 値 | プロパティ | 値 |
|---|
| 必要な権限 | dns.record.update | 認証必須 | はい |
| 実行モード | sync | 機能権限 | dns.record.update |
| リソースタイプ | account | リソース ID フィールド | account_id |
| 公開 API ルート | PATCH /v1/public/accounts/{account_id}/dns-records/{record_id} | | |
| 名前 | 型 | 必須 |
|---|
account_id | str | はい |
record_id | int | はい |
disabled | bool | null | いいえ |
name | str | null | いいえ |
prio | int | null | いいえ |
ttl | int | null | いいえ |
value | str | null | いいえ |
| フィールド | 型 | 必須 |
|---|
id | int | はい |
name | str | はい |
ttl | int | はい |
type | str | はい |
value | str | はい |
is_system_managed | bool | いいえ |
priority | int | null | いいえ |
リクエスト:{
"request_id": "example",
"session_id": "session_123",
"code": "dns_records.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", record_id=123, disabled=true, name=\"<string>\", prio=123, ttl=123, value=\"<string>\")"
}
レスポンス:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": 123
},
"responses": [
{
"index": 0,
"function": "dns_records.update",
"status": "completed",
"result": 123
}
],
"complexity_score": 1
}
リクエスト:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "dns_records.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", record_id=123, disabled=true, name=\"<string>\", prio=123, ttl=123, value=\"<string>\")"
}
}
}
レスポンス:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": 123\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"dns_records.update\",\n \"status\": \"completed\",\n \"result\": 123\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}