login
Authenticate to Odoo using API keys, passwords, or session tokens to access the odoo-mcp-gateway server's tools.
Instructions
Authenticate with Odoo. Methods: 'api_key', 'password', or 'session'.
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": {
"method": "<method>",
"credential": "<credential>"
},
"name": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| credential | Yes | ||
| username | No | ||
| database | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||