Company Read Tool
company-readList or show client companies (client teams). A company groups client accounts that collaborate: members with collaborate_on_new_orders/collaborate_on_new_tickets are added as collaborators on the company owner's new orders/tickets, and members with access_invoices can see invoices belonging to the owner. The owner decides whose invoices members with invoice access see. "list" supports the standard filters/sort/limit/page plus client_id, which finds the companies a given client belongs to, whether as a member or as the owner. "show" returns the owner, whether the owner is also a member (owner_is_member), and every member with their three flags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for "list". Default 1. | |
| sort | No | Sort fields for "list". Append :asc or :desc for direction (default :asc). Example: ["created_at:desc"]. Available fields: id, name, owner_id, created_at, updated_at. | |
| limit | No | Results per page for "list". Default 20, max 100. | |
| action | Yes | Action to perform. | |
| filters | No | Purity filter object for "list". Keys are field names, values are operator objects. Example: {"status":{"$eq":1}}. Available fields: id, name, owner_id, created_at, updated_at. | |
| client_id | No | Filter "list" to companies where this client is a member or the owner. | |
| company_id | No | Company id. Required for "show" actions. |