Loading...
Loading...
Compare original and translation side by side
Call MCP tool: harness_diagnose
Parameters:
pipeline_id: "<pipeline_identifier>" # or execution_id or url
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_diagnose
Parameters:
pipeline_id: "<pipeline_identifier>" # 或execution_id或url
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_diagnose
Parameters:
execution_id: "<execution_id>"
org_id: "<organization>"
project_id: "<project>"
summary: false # raw diagnostic payload
include_yaml: true # include pipeline definition
include_logs: true # include failed step logs
log_snippet_lines: 120 # tail N lines per step (0 = unlimited)
max_failed_steps: 5 # cap number of steps to fetch logs forCall MCP tool: harness_diagnose
Parameters:
execution_id: "<execution_id>"
org_id: "<organization>"
project_id: "<project>"
summary: false # 原始诊断负载
include_yaml: true # 包含流水线定义
include_logs: true # 包含失败步骤的日志
log_snippet_lines: 120 # 每个步骤的末尾N行日志(0表示无限制)
max_failed_steps: 5 # 限制获取日志的失败步骤数量| Parameter | Default | Description |
|---|---|---|
| -- | Specific execution to analyze |
| -- | Fetch latest execution for this pipeline |
| -- | Harness UI URL (auto-extracts IDs) |
| true | Structured report (true) or raw payload (false) |
| false (summary) / true (raw) | Include pipeline YAML definition |
| false (summary) / true (raw) | Include failed step logs |
| 120 | Max log lines per step (tail). 0 = unlimited |
| 5 | Max steps to fetch logs for. 0 = unlimited |
| 参数 | 默认值 | 描述 |
|---|---|---|
| -- | 要分析的特定执行实例 |
| -- | 获取该流水线的最新执行实例 |
| -- | Harness UI URL(自动提取ID) |
| true | 返回结构化报告(true)或原始负载(false) |
| false(摘要模式)/ true(原始模式) | 是否包含流水线YAML定义 |
| false(摘要模式)/ true(原始模式) | 是否包含失败步骤的日志 |
| 120 | 每个步骤的最大日志行数(末尾部分)。0表示无限制 |
| 5 | 最多获取日志的失败步骤数量。0表示无限制 |
Call MCP tool: harness_status
Parameters:
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_status
Parameters:
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_list
Parameters:
resource_type: "execution"
org_id: "<organization>"
project_id: "<project>"
search_term: "<pipeline name>"Call MCP tool: harness_list
Parameters:
resource_type: "execution"
org_id: "<organization>"
project_id: "<project>"
search_term: "<pipeline name>"Call MCP tool: harness_get
Parameters:
resource_type: "execution"
resource_id: "<execution_id>"
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_get
Parameters:
resource_type: "execution"
resource_id: "<execution_id>"
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_get
Parameters:
resource_type: "execution_log"
resource_id: "<execution_id>"
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_get
Parameters:
resource_type: "execution_log"
resource_id: "<execution_id>"
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_get
Parameters:
resource_type: "pipeline"
resource_id: "<pipeline_identifier>"
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_get
Parameters:
resource_type: "pipeline"
resource_id: "<pipeline_identifier>"
org_id: "<organization>"
project_id: "<project>"undefinedundefinedundefinedundefinedharness_diagnoseharness_diagnoseharness_statusharness_diagnoseharness_diagnoseharness_diagnoseinclude_logs: trueharness_diagnoseharness_diagnoseharness_statusharness_diagnoseharness_diagnoseinclude_logs: trueharness_diagnose