All Products
Search
Document Center

PolarDB:DescribePolarClawAgentTools

Last Updated:Jun 30, 2026

Mengkueri katalog tool Agen PolarClaw.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Sintaks permintaan

POST  HTTP/1.1

Parameter permintaan

Parameter

Type

Required

Description

Example

ApplicationId

string

Yes

ID aplikasi.

pa-xxx

AgentId

string

Yes

ID agen.

main

IncludePlugins

boolean

No

Apakah akan menyertakan tool plugin.

true

Elemen respons

Element

Type

Description

Example

object

Skema Tanggapan.

RequestId

string

ID permintaan.

F45FFACC-xxx

Message

string

Paket tanggapan.

success

Code

integer

Kode status tanggapan.

200

ApplicationId

string

ID aplikasi.

pa-xxx

AgentId

string

ID agen.

main

CurrentConfig

object

Konfigurasi tool saat ini.

Profile

string

Profil tool.

full

Allow

array

Daftar tool yang diizinkan secara eksplisit.

string

Pengenal tool.

read

AlsoAllow

array

Daftar tool yang diizinkan tambahan.

string

Pengenal tool.

send_message

Deny

array

Daftar tool yang ditolak.

string

Pengenal tool.

exec

Profiles

array<object>

Daftar profil yang tersedia.

object

Informasi profil.

Id

string

Pengenal profil.

full

Label

string

Nama tampilan.

全部工具

Groups

array<object>

Daftar kelompok tool.

array<object>

Kelompok tool.

Id

string

Pengenal kelompok.

file

Label

string

Nama kelompok.

文件操作

Source

string

Sumber, yaitu core atau ID plugin.

core

Tools

array<object>

Daftar tool.

object

Informasi tool.

Id

string

read

Label

string

读取文件

Description

string

读取指定文件内容

Source

string

core

DefaultProfiles

array

string

full

Contoh

Respons sukses

JSONformat

{
  "RequestId": "F45FFACC-xxx",
  "Message": "success",
  "Code": 200,
  "ApplicationId": "pa-xxx",
  "AgentId": "main",
  "CurrentConfig": {
    "Profile": "full",
    "Allow": [
      "read"
    ],
    "AlsoAllow": [
      "send_message"
    ],
    "Deny": [
      "exec"
    ]
  },
  "Profiles": [
    {
      "Id": "full",
      "Label": "全部工具"
    }
  ],
  "Groups": [
    {
      "Id": "file",
      "Label": "文件操作",
      "Source": "core",
      "Tools": [
        {
          "Id": "read",
          "Label": "读取文件",
          "Description": "读取指定文件内容",
          "Source": "core",
          "DefaultProfiles": [
            "full"
          ]
        }
      ]
    }
  ]
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.