lts__ListStructTemplate
Query Log Tank Service structured templates by project, optionally filtering by template ID; omit the ID to return all custom structured templates in the project.
Instructions
[LTS] 该接口用于查询结构化模板。
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>"
},
"name": "lts__ListStructTemplate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | 待查询模板id,非必填,不传时返回项目下所有自定义结构化模板 | |
| project_id | Yes | 项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。 |