Odoo instance capacity check
hodiploy_check_capacityOdoo's sizing next to PostgreSQL's and the container's: workers, cron threads, db_maxconn, memory and time limits, the most connections Odoo can open, PostgreSQL max_connections and connections in use by state, container memory and CPU, restarts and whether it was last killed for lack of memory, and the HTTP workers busy right now (busyWorkersNow / peakWorkersNow, measured over 5 seconds). Returns warnings in plain words (all workers busy at once, connection pools that can exhaust the database, sessions idle in a transaction, workers that do not fit in memory). For the history of busy workers, use hodiploy_get_metrics.
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": {
"instance_id": "<instance_id>"
},
"name": "hodiploy_check_capacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_id | No | Hodiploy service id from hodiploy_list_instances. Optional when the user has a single Hodiploy service. | |
| instance_id | Yes | Instance id from hodiploy_list_instances. |