davinci_job_logs
Reads job logs in segments, merging stdout and stderr, and uses offset-based paging to inspect large logs without filling the context.
Instructions
分段读取作业日志(stdout + stderr 已合并落盘)。
大日志用 offset/next_offset 增量读取,避免一次灌满上下文。
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": {
"job_id": "<job_id>"
},
"name": "davinci_job_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| offset | No | ||
| max_chars | No |