查看执行日志正文
get_job_log_contentRetrieve incremental job execution log content from the executor. Continue reading with toLineNum+1 until isEnd is true to capture the full log.
Instructions
增量拉取某条执行记录的日志正文(来自执行器)。logId、executorAddress、triggerTime 取自 list_job_logs 的返回。日志较长时,用返回的 toLineNum+1 作为下一次 fromLineNum 继续读取,直到 isEnd=true。
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": {
"logId": "<logId>",
"executorAddress": "<executorAddress>",
"triggerTime": "<triggerTime>"
},
"name": "get_job_log_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logId | Yes | 执行日志记录 id(list_job_logs 返回的 id) | |
| fromLineNum | No | 起始行号,首次传 1,续读传上次 toLineNum+1 | |
| triggerTime | Yes | 触发时间(list_job_logs 返回的 triggerTime 原值) | |
| executorAddress | Yes | 执行器地址(list_job_logs 返回的 executorAddress) |