list_history
Retrieve a project branch's newest-first history, including pushes, commits, rebuilds, and stage moves for tracking and audit purposes.
Instructions
List the history of a branch of a project, newest first: each push with its commits, each rebuild and each move between stages.
Returns: the events, each with its kind, date, pusher, commits, stages and the number, status and result of the build it made, and truncated, true when there are more.
Touches: reads only
Bounds: two requests to Odoo.sh, then one for each 20 of limit + 1 events, eight in all at most, the pages within 60 seconds; limit events, 10 by default and 100 at most.
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>",
"branch": "<branch>"
},
"name": "list_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| branch | Yes | ||
| project | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | ||
| truncated | Yes |