# Example: Module Management
## List All Installed Modules
```json
{
"tool": "odoo_get_installed_modules",
"arguments": {
"limit": 100
}
}
```
## Search for Available Modules
```json
{
"tool": "odoo_search_read",
"arguments": {
"model": "ir.module.module",
"domain": [["state", "=", "uninstalled"]],
"fields": ["name", "shortdesc", "summary", "author"],
"limit": 20
}
}
```
## Check if a Module is Installed
```json
{
"tool": "odoo_search_read",
"arguments": {
"model": "ir.module.module",
"domain": [["name", "=", "sale_management"]],
"fields": ["name", "state", "installed_version"]
}
}
```
## Install a Module
```json
{
"tool": "odoo_install_module",
"arguments": {
"module_name": "sale_management"
}
}
```
## Install Multiple Modules
Install modules one by one (dependencies will be handled automatically):
```json
{
"tool": "odoo_install_module",
"arguments": {
"module_name": "crm"
}
}
```
```json
{
"tool": "odoo_install_module",
"arguments": {
"module_name": "website"
}
}
```
## Uninstall a Module
```json
{
"tool": "odoo_uninstall_module",
"arguments": {
"module_name": "sale_management"
}
}
```
## Upgrade a Module
```json
{
"tool": "odoo_upgrade_module",
"arguments": {
"module_name": "sale_management"
}
}
```
## Get Module Dependencies
```json
{
"tool": "odoo_read",
"arguments": {
"model": "ir.module.module",
"ids": [123],
"fields": ["name", "dependencies_id"]
}
}
```
## Update Module List (Scan for New Modules)
```json
{
"tool": "odoo_execute",
"arguments": {
"model": "ir.module.module",
"method": "update_list",
"args": []
}
}
```
## Get Modules by Category
```json
{
"tool": "odoo_search_read",
"arguments": {
"model": "ir.module.module",
"domain": [["category_id", "=", "Sales"]],
"fields": ["name", "shortdesc", "state"],
"limit": 20
}
}
```