create_part
Define headers and footers for PDF documents. Specify layout and position in page coordinates to structure your Odoo report templates.
Instructions
Create a header or footer part: {slots[]} in page coordinates (a header near the top, a footer near the bottom of the A4 page).
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": {
"kind": "<kind>",
"name": "<name>",
"layout": "<layout>"
},
"name": "create_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| layout | Yes | ||
| description | No |