get_build
Read an Odoo.sh project branch build by number or retrieve its latest build, returning the commit and database address.
Instructions
Read one build of a branch of a project: the build of that number, or the latest one when none is given. Odoo.sh has no settings request for a build: a new build takes its branch's settings, which get_branch_settings reads.
Returns: the build, with its commit and the address of its database. Touches: reads only Bounds: three requests to Odoo.sh; a build older than the branch's latest ones is not found.
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": "get_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | ||
| project | Yes | ||
| build_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| build | Yes |