sls_list_projects
List all SLS projects in a specified Alibaba Cloud region, with optional fuzzy search by project name. Retrieve project details including name, description, and region ID for quick identification and management.
Instructions
列出阿里云日志服务中的所有项目。
        ## 功能概述
        该工具可以列出指定区域中的所有SLS项目,支持通过项目名进行模糊搜索。如果不提供项目名称,则返回该区域的所有项目。
        ## 使用场景
        - 当需要查找特定项目是否存在时
        - 当需要获取某个区域下所有可用的SLS项目列表时
        - 当需要根据项目名称的部分内容查找相关项目时
        ## 返回数据结构
        返回的项目信息包含:
        - project_name: 项目名称
        - description: 项目描述
        - region_id: 项目所在区域
        ## 查询示例
        - "有没有叫 XXX 的 project"
        - "列出所有SLS项目"
        Args:
            ctx: MCP上下文,用于访问SLS客户端
            project_name_query: 项目名称查询字符串,支持模糊搜索
            limit: 返回结果的最大数量,范围1-100,默认10
            region_id: 阿里云区域ID,region id format like "xx-xxx",like "cn-hangzhou"
        Returns:
            包含项目信息的字典列表,每个字典包含project_name、description和region_id
        
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| limit | No | limit,max is 100 | |
| project_name_query | No | project name,fuzzy search | |
| region_id | Yes | aliyun region id | 
Input Schema (JSON Schema)
{
  "properties": {
    "limit": {
      "default": 10,
      "description": "limit,max is 100",
      "maximum": 100,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
    },
    "project_name_query": {
      "default": null,
      "description": "project name,fuzzy search",
      "title": "Project Name Query",
      "type": "string"
    },
    "region_id": {
      "description": "aliyun region id",
      "title": "Region Id",
      "type": "string"
    }
  },
  "required": [
    "region_id"
  ],
  "title": "sls_list_projectsArguments",
  "type": "object"
}