Skip to main content
syrto_get_search_filter_docs is the catalog of the filters object taken by syrto_search_companies and syrto_aggregate_companies. It lists which filter sections exist and documents each section’s exact fields, types, and constraints. Those two tools take a single filters object rather than many parameters, which keeps their schema small as the filter catalog grows. This tool is how the catalog stays discoverable. It makes no API call and consumes no quota.

Use this tool to

  • List the available filter sections and what each one covers
  • Get a section’s exact field names, types, and a worked JSON example before building a filter
  • Check which sections require the top-level year parameter
Related tools: Search companies and Aggregate companies consume the object this tool documents. The same sections are also written out on the Search companies page.

Arguments

string[]
Section names to fetch full documentation for, e.g. ["anagraphic", "radar"]. Omit to get the index of all sections with one-line summaries.An unknown section name returns an error listing the valid ones.

Workflow

1

Get the index

Call with no arguments. You get every section with a one-line summary and whether it needs a year.
2

Fetch the sections you need

Call again with sections=[...] to get their exact field names, types, constraints, and a worked JSON example.
3

Build the filters object

Assemble filters from those examples and pass it to syrto_search_companies or syrto_aggregate_companies.
Each section name is a top-level key of filters. year, sort_by, and after are top-level parameters of the search and aggregate tools, not part of filters. All set filters combine with AND.

Returns

With no arguments - the index:
string
How the sections assemble into the filters object.
object[]
One entry per section, each with:
  • name - the top-level key in filters
  • summary - one-line description of what the section filters on
  • requires_year - whether using this section obliges you to pass the top-level year
With sections - the full documentation:
object[]
One entry per requested section, in the catalog’s own order, each with:
  • name - the section name
  • requires_year - whether the section obliges a year
  • documentation - the section’s fields, types, constraints, and a worked example, as markdown

Example

Get the index:
Fetch two sections in full: