Current user and date
odoo_contextReturns the Odoo session context: current user, company, currency, time zone, today's date and UTC time. Use it to resolve relative dates like 'last quarter' or the current user and company.
Instructions
Return the session context: who you are connected as (user id, name, login), the current company and its currency, the companies you can access, language, time zone, today's date in that time zone ('YYYY-MM-DD'), the current UTC date and time ('YYYY-MM-DD HH:MM:SS') and the Odoo version. Use it to resolve relative dates such as 'last quarter', the current user or company, or the current company's currency. It reads no business records. No arguments.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "odoo_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||