cls_describe_index
Retrieve the index configuration for a log topic in Tencent Cloud Log Service to determine which fields are searchable and analyzable.
Instructions
查询日志主题的索引配置。索引决定了哪些字段可被检索和分析。
参数说明
topic_id: 日志主题 ID(必填)
region: 地域(可选),如 ap-guangzhou、na-ashburn,不传则使用默认地域,可通过 cls_describe_regions 查询所有可用地域
返回信息
全文索引配置(是否开启、分词符等)
键值索引配置(字段名、类型、是否开启统计)
索引状态
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": {
"topic_id": "<topic_id>"
},
"name": "cls_describe_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_id | Yes | ||
| region | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |