get_obs_package_log
Return the tail of one package's OBS build log.
The default is a bounded current snapshot, never a stream. Set
last_completed=true to inspect the last finished native build even while
dependencies have scheduled another one. It is historical diagnostic output,
not proof that the current source is published. Counts describe
that retrieved window, not the complete historical log. To find a failure
outside the tail, supply repository, start_byte and literal search_text;
next_byte_offset advances one bounded window, and matches include context.
Preserve overlap when searching a string across adjacent byte windows.
The tail is where a build log says why it failed; the head is boilerplate
chroot setup. This returns lines only -- read them, decide what is wrong,
fix the source in your repository, publish_internal_repository, and
resubmit the same project at the new revision.
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": "<project>",
"package": "<package>"
},
"name": "get_obs_package_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arch | No | Build architecture. | x86_64 |
| package | Yes | OBS package name returned by submit_obs_package. | |
| project | Yes | Full OBS project path returned by submit_obs_package. | |
| repository | No | OBS repository such as Debian_13. Defaults to the first repository OBS reports a result for. | |
| start_byte | No | Optional bounded historical search offset. Requires repository and search_text. | |
| tail_lines | No | How many trailing log lines to return (max 2000). | |
| search_text | No | Literal text to find within one bounded log window, with nearby context. Requires start_byte and repository. | |
| last_completed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||