cbs__CreateSession
Creates a Q&A session for an existing CBS bot to initiate interactive question answering; new users should use the Q&A bot API instead.
Instructions
[CBS] 问答会话API由开启会话、处理会话、关闭会话三个接口组成。用户可通过调用该接口创建会话。该接口仅支持老用户,新用户请优先使用问答机器人API接口进行调用。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"qabot_id": "<qabot_id>"
},
"name": "cbs__CreateSession"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qabot_id | Yes | 机器人标识符。 | |
| project_id | Yes | 来自公有云的Project ID,用于资源隔离。获取方式请参见获取项目编码。 |