add_object_to_category
Add a product, customer, supplier, member, or contact to a Dolibarr category by providing the category ID and object details.
Instructions
Ajouter un objet à une catégorie
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": {
"id": "<id>",
"object_type": "<object_type>",
"object_id": "<object_id>"
},
"name": "add_object_to_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID de la catégorie | |
| object_id | Yes | ID de l'objet à catégoriser | |
| object_type | Yes | Type: 'product', 'customer', 'supplier', 'member', 'contact' |