Create stock movement
create_stock_movementCreate a stock in or out draft. Lines need item_id and quantity.
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": {
"movement_type": "<movement_type>",
"location_id": "<location_id>",
"lines": "<lines>"
},
"name": "create_stock_movement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| lines | Yes | ||
| customer_id | No | ||
| location_id | Yes | ||
| supplier_id | No | ||
| sheet_number | No | ||
| movement_type | Yes |