sls_describe_logstore
Retrieve detailed structure and index information for a specified SLS log store, including field types, aliases, and case sensitivity. Use this tool to analyze log data schema and optimize query building.
Instructions
获取SLS日志库的结构信息。
        ## 功能概述
        该工具用于获取指定SLS项目中日志库的索引信息和结构定义,包括字段类型、别名、是否大小写敏感等信息。
        ## 使用场景
        - 当需要了解日志库的字段结构时
        - 当需要获取日志库的索引配置信息时
        - 当构建查询语句前需要了解可用字段时
        - 当需要分析日志数据结构时
        ## 返回数据结构
        返回一个字典,键为字段名,值包含以下信息:
        - alias: 字段别名
        - sensitive: 是否大小写敏感
        - type: 字段类型
        - json_keys: JSON字段的子字段信息
        ## 查询示例
        - "我想查询 XXX 的日志库的 schema"
        - "我想查询 XXX 的日志库的 index"
        - "我想查询 XXX 的日志库的结构信息"
        Args:
            ctx: MCP上下文,用于访问SLS客户端
            project: SLS项目名称,必须精确匹配
            log_store: SLS日志库名称,必须精确匹配
            region_id: 阿里云区域ID
        Returns:
            包含日志库结构信息的字典
        
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| log_store | Yes | sls log store name,must exact match,not fuzzy search | |
| project | Yes | sls project name,must exact match,not fuzzy search | |
| region_id | Yes | aliyun region id,region id format like 'xx-xxx',like 'cn-hangzhou' | 
Input Schema (JSON Schema)
{
  "properties": {
    "log_store": {
      "description": "sls log store name,must exact match,not fuzzy search",
      "title": "Log Store",
      "type": "string"
    },
    "project": {
      "description": "sls project name,must exact match,not fuzzy search",
      "title": "Project",
      "type": "string"
    },
    "region_id": {
      "description": "aliyun region id,region id format like 'xx-xxx',like 'cn-hangzhou'",
      "title": "Region Id",
      "type": "string"
    }
  },
  "required": [
    "project",
    "log_store",
    "region_id"
  ],
  "title": "sls_describe_logstoreArguments",
  "type": "object"
}