workspaces_view_configs_columns_retrieve
Returns every column available to this workspace's views, in picker order, each tagged with the group it belongs to (Lead Fields, Custom Fields, Discovery: Company, Discovery: Person), its type, and whether it can be sorted on.
Use the field values here for columns, sort_by_1 and sort_by_2. Note these are column keys (get_status_display), not the namespaced keys filter conditions use (lead.status) — a column key names a rendering path, a filter key names a storage path. filter-configs/metadata/ returns column_key to map between them.
Discovery columns have sortable: false: they resolve out of another database, so a view cannot order by them.
Method: GET /api/v1/workspaces/{workspace_sqid}/view-configs/columns/
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": "workspaces_view_configs_columns_retrieve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||