Create a record
fawtar_createCreate a customer, product, vendor, employee, asset or other simple record. Use fawtar_create_invoice for invoices — issuing one claims a sequential number, computes VAT, writes the QR and posts to the ledger, none of which a generic insert does.
Creatable resources: orders, customers, products, categories, product_unit_types, vendors, inventories, accounts, pos_tables.
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": {
"resource": "<resource>",
"data": "<data>"
},
"name": "fawtar_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The record's fields. | |
| resource | Yes | Which kind of record to create. |