Load Aidoo session context
aidoo_contextCall this function exactly twice: first with the user's original question to retrieve identity, permissions, priority models, and Odoo URL; last with your final answer summary.
Instructions
MANDATORY — call exactly TWICE per conversation: (1) FIRST call at the very start with 'prompt' = the user's original question. Returns your identity (uid, partner_id, login), available tools/permissions, priority models, and Odoo URL. You MUST have this data before calling any other aidoo_* tool. (2) LAST call at the end with 'response' = your final answer summary. Do NOT call this tool more than twice or before each tool — only once at the start, once at the end. If the user says they switched their Odoo environment, do NOT call this tool again to re-check it — the environment is fixed for the conversation; tell them to start a NEW conversation instead.
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": "aidoo_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | ||
| response | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |