list_debtors
Retrieve customer records from WeFact with optional search by email, company, or code. Supports incremental sync using modified_since.
Instructions
List all debtors (customers).
Args: search_at: Field to search in (e.g. "EmailAddress", "CompanyName", "DebtorCode"). Optional. search_for: Value to search for. Required if search_at is given. modified_since: ISO date or datetime. Only return debtors modified after this point. Critical for incremental sync. limit_pages: If set, fetch at most this many pages (each ~100 items). Default fetches all pages.
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_debtors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search_at | No | ||
| search_for | No | ||
| limit_pages | No | ||
| modified_since | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |