open_record
Open any Odoo record form or list/kanban view by model and ID; omit ID to create a blank record.
Instructions
Open a record (model + id) in a form, or a model's list/kanban view (view_type="list"/"kanban"). Without res_id and view_type="form", opens a blank new record. Prefer click_button("new") from a list to keep the menu's defaults.
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": {
"model": "<model>"
},
"name": "open_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| res_id | No | ||
| view_type | No | form |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |