pbl_agent_runtime/models/pbl_tool_registry.json

114 lines
2.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"summary": [
{
"name": "pbl_tool_registry",
"comment": "工具注册表13 启用 / 9 禁用含 pbl.publish",
"module": "pbl_agent_runtime",
"engine": "mariadb",
"charset": "utf8mb4",
"tenant_scoped": true
}
],
"fields": [
{
"name": "tenant_id",
"comment": "租户ID(强制打头)",
"null": false,
"type": "str",
"length": 32
},
{
"name": "id",
"comment": "主键",
"null": false,
"type": "int",
"length": 20,
"unsigned": true,
"auto_increment": true
},
{
"name": "tool_key",
"comment": "工具键",
"null": false,
"type": "str",
"length": 64
},
{
"name": "title",
"comment": "标题",
"null": false,
"type": "str",
"length": 128
},
{
"name": "agent_scope",
"comment": "作用域",
"null": false,
"type": "str",
"length": 64
},
{
"name": "permission_required",
"comment": "所需权限",
"null": false,
"type": "str",
"length": 64
},
{
"name": "enabled",
"comment": "启用",
"null": false,
"type": "bool"
},
{
"name": "params_schema_json",
"comment": "参数白名单Schema",
"null": true,
"type": "json"
},
{
"name": "disabled_reason",
"comment": "禁用原因",
"null": false,
"type": "str",
"length": 64
},
{
"name": "version_no",
"comment": "版本",
"null": false,
"type": "int"
},
{
"name": "created_at",
"comment": "创建时间",
"null": false,
"type": "datetime"
},
{
"name": "updated_at",
"comment": "更新时间",
"null": false,
"type": "datetime"
}
],
"indexes": [
{
"name": "uk_tr_key",
"unique": true,
"fields": [
"tenant_id",
"tool_key"
]
},
{
"name": "PRIMARY",
"unique": true,
"fields": [
"id"
]
}
],
"codes": []
}