智能体

列出工具集

查看智能体可以启用的工具集及工具参数。

GET /agent/v1/toolsets● 支持

返回

200

返回工具集说明、插件名称与版本,以及每个工具的名称、说明、参数定义、是否只读和默认授权方式。通过 /agent/v1/toolsets 读取此目录;目录不会更改智能体配置。agent_toolset_20260401 包含全部 13 个原生工具;TaskOutput、TaskStop、Monitor、Agent、SendMessage 与其他工具一样可逐个开关及设置权限,它们都依赖 bash。兼容 API 只提供官方 8 个工具。

错误按 Anthropic 错误格式返回(type / message / request_id),参见 错误码

响应

HTTP 200

Available toolsets

application/json

名称类型说明
dataarray<object>Items of this page, in the order requested by the call.
data[].typestringToolset type id as used in an agent's tools entry, for example agent_toolset_20260401.
data[].pluginobjectUnit that registers the toolset, with its name and version.
data[].descriptionstringFree-text description; null when none was set.
data[].environmentstringEnvironment in which the toolset's tools run, for example node22.
data[].toolsarray<object>Tools offered to the model.
next_pagenullOpaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.