curl --request GET \
--url https://huajune.duliday.com/api/v1/config-schema \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"context": {},
"sandboxId": {
"type": "string",
"required": false,
"description": "首选品牌名称"
},
"toolContext": {
"type": "string",
"required": false,
"description": "首选品牌名称"
}
}
}返回 Chat API 中 context、sandboxId、toolContext 参数的字段类型说明
curl --request GET \
--url https://huajune.duliday.com/api/v1/config-schema \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"context": {},
"sandboxId": {
"type": "string",
"required": false,
"description": "首选品牌名称"
},
"toolContext": {
"type": "string",
"required": false,
"description": "首选品牌名称"
}
}
}使用 Bearer Token 进行认证,格式:Bearer YOUR_API_KEY
成功获取配置字段定义
true
Show child attributes
上下文字段定义。每个字段包含 type、required、description。