GovTribe

Search custom field definitions MCP tool

Searches the workspace's pursuit custom field definitions and returns each field's ID, name, type (text, number, date, or dollar), and whether it is required. Use the returned IDs as custom_field_id when reading or writing a pursuit's custom_fields.

Examples

Use this tool to find the custom_field_id values your workspace uses for pursuit custom fields before reading them from a pursuit or writing them with Create pursuit or Update pursuit. Custom fields store one of four value types: text, number, date, or dollar.

List every custom field the workspace tracks on pursuits

{
  "tool": "Search_Custom_Field_Definitions",
  "arguments": {
    "sort": {
      "key": "alphabeticalSort",
      "direction": "asc"
    },
    "fields_to_return": [
      "govtribe_id",
      "name",
      "field_type",
      "required",
      "placeholder_text"
    ]
  }
}

Find the dollar and number fields for a pricing update

{
  "tool": "Search_Custom_Field_Definitions",
  "arguments": {
    "field_types": [
      "dollar",
      "number"
    ],
    "fields_to_return": [
      "govtribe_id",
      "name",
      "field_type"
    ]
  }
}

Which custom fields are required when a pursuit is edited?

{
  "tool": "Search_Custom_Field_Definitions",
  "arguments": {
    "required": true,
    "fields_to_return": [
      "govtribe_id",
      "name",
      "field_type"
    ]
  }
}

Resolve a definition by name

{
  "tool": "Search_Custom_Field_Definitions",
  "arguments": {
    "query": "bid decision",
    "fields_to_return": [
      "govtribe_id",
      "name",
      "field_type"
    ]
  }
}