# Workspace

## `list_lists` {#list_lists}


**List lists.** The workspace's lists, by name, and whether each is archived. get_list_members shows what's on a list.

| Access | Permission | Limit |
|---|---|---|
| Read | `lists:read` | Reading |

This tool takes no arguments.

**Returns:** `lists`, with [paging fields](https://docs.searchsoftware.nl/mcp/working-with-records.md#paging).


## `get_list` {#get_list}


**Get list.** One list's name, and whether it's archived. get_list_members shows what's on it.

| Access | Permission | Limit |
|---|---|---|
| Read | `lists:read` | Reading |

| Argument | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | The ID from list_lists. |

**Returns:** one object with the fields above that apply.


## `get_list_members` {#get_list_members}


**Get list members.** The people, companies and jobs on a list, newest first. A list ID comes from list_lists.

| Access | Permission | Limit |
|---|---|---|
| Read | `lists:read` | Reading |

| Argument | Type | Required | Description |
|---|---|---|---|
| `list_id` | string | yes | The ID from list_lists. |
| `limit` | integer | no | 1 to 50, default 10. |
| `object` | string | no | Only this type: people, companies or jobs. |
| `offset` | integer | no |  |

**Returns:** `members`, with [paging fields](https://docs.searchsoftware.nl/mcp/working-with-records.md#paging).


## `list_record_lists` {#list_record_lists}


**List a record's lists.** The lists a record is on, archived ones included.

| Access | Permission | Limit |
|---|---|---|
| Read | `companies:read`, `jobs:read`, `lists:read`, `people:read` or `records:read` | Reading |

| Argument | Type | Required | Description |
|---|---|---|---|
| `record` | string | yes | The record, such as people:abc123 or invoices:xyz789. |

**Returns:** `lists`, with [paging fields](https://docs.searchsoftware.nl/mcp/working-with-records.md#paging).

The other direction: which lists one record is on. "Take Anna off the newsletter lists" uses `list_record_lists`, then `remove_from_list` for each.


## `list_workflows` {#list_workflows}


**List workflows.** Workflows with their phases and stages. hide_content means a rejected phase and is_final means placed; is_final wins when both are set.

| Access | Permission | Limit |
|---|---|---|
| Read | `workflows:read` | Reading |

This tool takes no arguments.

**Returns:** `workflows`, with [paging fields](https://docs.searchsoftware.nl/mcp/working-with-records.md#paging).


## `list_users` {#list_users}


**List users.** The workspace's users, to resolve a name to the ID that assigned_to and author_id hold.

| Access | Permission | Limit |
|---|---|---|
| Read | `users:read` | Reading |

This tool takes no arguments.

**Returns:** `users`, with [paging fields](https://docs.searchsoftware.nl/mcp/working-with-records.md#paging).


## `list_sources` {#list_sources}


**List sources.** The workspace's record sources.

| Access | Permission | Limit |
|---|---|---|
| Read | `sources:read` | Reading |

This tool takes no arguments.

**Returns:** `sources`, with [paging fields](https://docs.searchsoftware.nl/mcp/working-with-records.md#paging).


## `list_categories` {#list_categories}


**List categories.** The workspace's categories, optionally by group or name. Use add_category to tag a record.

| Access | Permission | Limit |
|---|---|---|
| Read | `categories:read` | Reading |

| Argument | Type | Required | Description |
|---|---|---|---|
| `group_id` | string | no |  |
| `limit` | integer | no | 1 to 50, default 10. |
| `name` | string | no |  |
| `offset` | integer | no |  |

**Returns:** `categories`, with [paging fields](https://docs.searchsoftware.nl/mcp/working-with-records.md#paging).


## `create_list` {#create_list}


**Create list.** Creates a new list on each call, even if the name is taken. Check list_lists first.

| Access | Permission | Limit |
|---|---|---|
| Add | `lists:write` | Changing |

| Argument | Type | Required | Description |
|---|---|---|---|
| `name` | string | yes |  |

**Returns:** `id`.


## `add_to_list` {#add_to_list}


**Add to list.** Adds an existing person, company or job to a list. Says so if it's already on the list. Can't add to an archived list.

| Access | Permission | Limit |
|---|---|---|
| Add | `lists:write` | Changing |

| Argument | Type | Required | Description |
|---|---|---|---|
| `list_id` | string | yes | The list's ID, from list_lists. |
| `record` | string | yes | A person, company or job, such as people:abc123. |

**Returns:** `id`.


## `remove_from_list` {#remove_from_list}


**Remove from list.** Removes a person, company or job from a list. The record itself isn't changed or deleted. list_record_lists shows which lists a record is on.

| Access | Permission | Limit |
|---|---|---|
| Change | `lists:write` | Changing |

| Argument | Type | Required | Description |
|---|---|---|---|
| `list_id` | string | yes | The list's ID, from list_lists. |
| `record` | string | yes | A person, company or job, such as people:abc123. |

**Returns:** `id`.


## `add_category` {#add_category}


**Add category.** Tags a person, company, job or custom record with a category from list_categories. Says so if it already has it.

| Access | Permission | Limit |
|---|---|---|
| Add | `companies:write`, `jobs:write`, `people:write` or `records:write` | Changing |

| Argument | Type | Required | Description |
|---|---|---|---|
| `category_id` | string | yes | A category ID from list_categories, without a prefix. Category groups can't be linked. |
| `record` | string | yes | Any record, such as companies:abc123 or invoices:abc123. |

**Returns:** `id`.


## `remove_category` {#remove_category}


**Remove category.** Removes a category from a record. The category itself isn't changed or deleted.

| Access | Permission | Limit |
|---|---|---|
| Change | `companies:write`, `jobs:write`, `people:write` or `records:write` | Changing |

| Argument | Type | Required | Description |
|---|---|---|---|
| `category_id` | string | yes | A category ID from list_categories, without a prefix. Category groups can't be linked. |
| `record` | string | yes | Any record, such as companies:abc123 or invoices:abc123. |

**Returns:** `id`.

Category links work on people, companies, jobs and custom records. Choose a category ID from `list_categories`; groups cannot be linked. `add_category` reports `added: false` when the category is already linked. Removing a link leaves the record and the category in place. Both tools use the record type’s write scope (`records:write` for custom records), without `categories:write`.
