create_filter
Create a company filter with required fields: displayName, section, isDefault, and rules (array of operator, attribute, and setting values). Use it to organize records in sections like subscriptions or invoices.
Instructions
Create a company filter. POST /companies/filters. Required: displayName, section, isDefault, rules (array of { operatorId, attributeId, settingValues }). Optional per rule: operatorDisplayName. Section: billRuns, companyInbox, companyInvoices, companyLogs, companyNotifications, companyUpcomingSchedule, creditNotes, customers, ...
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": {
"displayName": "<displayName>",
"section": "<section>",
"isDefault": "<isDefault>",
"rules": "<rules>"
},
"name": "create_filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| displayName | Yes | Display name (required) | |
| section | Yes | Section (required). One of: subscriptions, invoices, customers, products, orders, etc. | |
| isDefault | Yes | Set as default filter (required) | |
| rules | Yes | Rules array (required). Each: operatorId (number), attributeId (number), settingValues (array of { value }), optional operatorDisplayName |