Køb forbrugsvarer
lager_forbrugWithdraw items from inventory for a project at today's sales price. Set bestil to true to order a line via procurement, charged only upon pickup.
Instructions
Udtag til projektet med dagens salgspris; en linje med bestil: true bestilles via indkøb og koster først ved afhentning.
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": {
"projektId": "<projektId>",
"linjer": "<linjer>"
},
"name": "lager_forbrug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| linjer | Yes | ||
| lagerId | No | Lager-id. Udelades, når du kun har adgang til ét lager (se lager_me). | |
| projektId | Yes | Projektets id (se lager_projekter). |