accounts_discovery
Discover connected accounts for a data source.
Only call if data_source_discovery config shows has_account_list=true.
RETURNS: account_id, account_name, group_name (when present), tags (when present), and any saved business context for the account: shown as context when short enough to include, otherwise as context_tags naming what context exists — when a tag is relevant to the action you're taking, fetch that context with get_business_context (ds_id + account_id, filtered by tag).
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": {
"ds_id": "<ds_id>"
},
"name": "accounts_discovery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ds_id | Yes | Data source ID from data_source_discovery (e.g. 'FA', 'AW', 'GAWA') | |
| filter | No | Case-insensitive filter against account ID, name, group, tags (comma-separated) | |
| compress | No | Always recommended. Encodes response as compact text, reducing size and token usage. In tables, an empty cell means not set and list values are |-joined. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| notes | No | ||
| success | Yes | ||
| business_context | No |