Tools

Workspace

Lists, workflows, users, sources and categories in the Searchsoftware connector

list_lists

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

AccessPermissionLimit
Readlists:readReading

This tool takes no arguments.

Returns: lists, with paging fields.

get_list

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

AccessPermissionLimit
Readlists:readReading
ArgumentTypeRequiredDescription
idstringyesThe ID from list_lists.

Returns: one object with the fields above that apply.

get_list_members

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

AccessPermissionLimit
Readlists:readReading
ArgumentTypeRequiredDescription
list_idstringyesThe ID from list_lists.
limitintegerno1 to 50, default 10.
objectstringnoOnly this type: people, companies or jobs.
offsetintegerno

Returns: members, with paging fields.

list_record_lists

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

AccessPermissionLimit
Readcompanies:read, jobs:read, lists:read, people:read or records:readReading
ArgumentTypeRequiredDescription
recordstringyesThe record, such as people:abc123 or invoices:xyz789.

Returns: lists, with paging fields.

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. Workflows with their phases and stages. hide_content means a rejected phase and is_final means placed; is_final wins when both are set.

AccessPermissionLimit
Readworkflows:readReading

This tool takes no arguments.

Returns: workflows, with paging fields.

list_users

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

AccessPermissionLimit
Readusers:readReading

This tool takes no arguments.

Returns: users, with paging fields.

list_sources

List sources. The workspace's record sources.

AccessPermissionLimit
Readsources:readReading

This tool takes no arguments.

Returns: sources, with paging fields.

list_categories

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

AccessPermissionLimit
Readcategories:readReading
ArgumentTypeRequiredDescription
group_idstringno
limitintegerno1 to 50, default 10.
namestringno
offsetintegerno

Returns: categories, with paging fields.

create_list

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

AccessPermissionLimit
Addlists:writeChanging
ArgumentTypeRequiredDescription
namestringyes

Returns: id.

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.

AccessPermissionLimit
Addlists:writeChanging
ArgumentTypeRequiredDescription
list_idstringyesThe list's ID, from list_lists.
recordstringyesA person, company or job, such as people:abc123.

Returns: id.

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.

AccessPermissionLimit
Changelists:writeChanging
ArgumentTypeRequiredDescription
list_idstringyesThe list's ID, from list_lists.
recordstringyesA person, company or job, such as people:abc123.

Returns: id.

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.

AccessPermissionLimit
Addcompanies:write, jobs:write, people:write or records:writeChanging
ArgumentTypeRequiredDescription
category_idstringyesA category ID from list_categories, without a prefix. Category groups can't be linked.
recordstringyesAny record, such as companies:abc123 or invoices:abc123.

Returns: id.

remove_category

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

AccessPermissionLimit
Changecompanies:write, jobs:write, people:write or records:writeChanging
ArgumentTypeRequiredDescription
category_idstringyesA category ID from list_categories, without a prefix. Category groups can't be linked.
recordstringyesAny 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.