generate_json2_payload
Build a JSON-2 payload preview for Odoo methods without network access. Provide model, method, and optional args/kwargs to inspect the exact request structure.
Instructions
Build a JSON-2 request preview without network access
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>",
"method": "<method>"
},
"name": "generate_json2_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| model | Yes | ||
| kwargs | No | ||
| method | Yes | ||
| base_url | No | ||
| database | No | ||
| include_database_header | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |