wefact_request
Call any WeFact controller and action directly. Use for endpoints not covered by dedicated tools; pass controller, action, and optional parameters.
Instructions
Call any WeFact controller/action directly.
Use this for endpoints not covered by the dedicated tools below, or to pass parameters that the dedicated tools don't expose.
Args: controller: WeFact controller name (e.g. "debtor", "invoice", "subscription", "creditinvoice", "product", "ticket", "group"). action: Action on that controller (e.g. "list", "show", "add", "edit", "delete", "send", "credit", "markaspaid"). params: Extra parameters as a dict. Field names match the WeFact docs at developer.wefact.com (e.g. "DebtorCode", "Identifier", "InvoiceLines"). Do NOT include the api_key.
Returns: JSON-encoded response from WeFact.
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": {
"controller": "<controller>",
"action": "<action>"
},
"name": "wefact_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| params | No | ||
| controller | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |