Create purchase order
create_purchase_orderCreate a purchase order. po_number is assigned automatically. Optionally link subcontractor_id if the vendor is an existing subcontractor.
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": {
"project_id": "<project_id>",
"vendor_name": "<vendor_name>"
},
"name": "create_purchase_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| amount | No | ||
| status | No | ||
| agent_id | No | ||
| order_date | No | ||
| project_id | Yes | ||
| description | No | ||
| vendor_name | Yes | ||
| subcontractor_id | No | ||
| expected_delivery_date | No |