List purchase order lines
list_purchase_order_linesList purchase order line items: description, optional part, quantity, unit_cost and quantity_received. Filter by purchase_order_id or part_id. A PO with lines takes its amount from them. unit_cost is a bare number with no currency: call get_organization_settings for currency_code before stating one.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_purchase_order_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: all pages fetched automatically) | |
| part_id | No | Filter by part ID - resolve via list_parts | |
| per_page | No | Items per page (default: 1000, max: 1000). All pages are fetched automatically. | |
| purchase_order_id | No | Filter by purchase order ID - resolve via list_purchase_orders |