# suggestCrustdataFilterValues

**Identifier:** `crustdata_suggestCrustdataFilterValues`

**Provider:** [Crustdata](https://kirha.com/providers/crustdata.md)

Suggest the exact values Crustdata uses for a search filter (industry, country, investor, job title, employer, skill, school, job category) from a partial text. Use it when a Crustdata search returns nothing because a filter value is not the label Crustdata expects.

## Run it with the CLI

```bash
kirha tools run crustdata_suggestCrustdataFilterValues \
  --input '{
    "field": "companyIndustry"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "crustdata_suggestCrustdataFilterValues",
  "input": {
    "field": "companyIndustry"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "field": {
      "enum": [
        "companyIndustry",
        "companyCountry",
        "companyInvestor",
        "personTitle",
        "personCompany",
        "personSkill",
        "personSchool",
        "jobCategory",
        "jobTitle"
      ],
      "type": "string"
    },
    "limit": {
      "default": 15,
      "maximum": 40,
      "minimum": 1,
      "type": "integer"
    },
    "query": {
      "description": "Partial text, e.g., softw; empty for the most common values",
      "type": "string"
    }
  },
  "required": [
    "field"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "field": {
      "type": "string"
    },
    "values": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "context",
    "field",
    "values"
  ],
  "type": "object"
}
```

-----

[All Crustdata tools](https://kirha.com/providers/crustdata.md) · [< Back to tools list](https://kirha.com/tools.md)