list_accounts
List accounts (companies). Optional search on name, label (name or id: only accounts with this label), stale_days (last activity older than N days), order_by: last_activity|name|created (default last_activity). Returns last_activity_at and labels[].
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_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Label | |
| limit | No | Maximum number of entries to return | |
| offset | No | Number of entries to skip (for paging) | |
| search | No | Free-text search term | |
| order_by | No | Field to sort by | |
| stale_days | No | Only accounts whose last activity is older than this many days |