codeartspipeline__ListProjectStrategy
Retrieves a paginated list of strategy rules for a CodeArts Pipeline project, filterable by name, type, validity, and tenant-level rule inclusion.
Instructions
[CODEARTSPIPELINE] 获取策略列表
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": {
"include_tenant_rule_set": "<include_tenant_rule_set>",
"limit": "<limit>",
"offset": "<offset>",
"project_id": "<project_id>"
},
"name": "codeartspipeline__ListProjectStrategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 策略名称,用于模糊查询 | |
| type | No | 策略类型 | |
| limit | Yes | 每页显示的条目数量 | |
| offset | Yes | 偏移量,表示从此偏移量开始查询,offset大于等于0 | |
| is_valid | No | 是否有效 | |
| project_id | Yes | 项目ID | |
| include_tenant_rule_set | Yes | 是否包含租户级规则 |