GovTribe

Show preferences panel MCP tool

Render a staged preferences editor that can send saved values back to chat.

Examples

Use a preferences panel when the user should review several durable settings before the agent applies them.

Let the user set saved-search notification preferences

{
  "tool": "Show_Preferences_Panel",
  "arguments": {
    "id": "saved-search-preferences",
    "title": "Saved search preferences",
    "description": "Set defaults for saved-search monitoring.",
    "summary": "These choices will guide future saved-search examples.",
    "sections": [
      {
        "label": "Notifications",
        "items": [
          {
            "id": "email-alerts",
            "label": "Email alerts",
            "description": "Receive email when matching records are found.",
            "type": "switch",
            "defaultChecked": true
          },
          {
            "id": "default-cadence",
            "label": "Default cadence",
            "type": "toggle",
            "options": [
              {
                "value": "Daily",
                "label": "Daily"
              },
              {
                "value": "Weekly",
                "label": "Weekly"
              },
              {
                "value": "Never",
                "label": "Never"
              }
            ],
            "defaultValue": "Weekly"
          }
        ]
      }
    ],
    "saveLabel": "Save preferences",
    "cancelLabel": "Cancel"
  }
}

Payload patterns

Use switch for binary preferences, toggle for short mutually exclusive choices, and select for longer option lists.

Ask for a default pipeline preference

{
  "tool": "Show_Preferences_Panel",
  "arguments": {
    "id": "pipeline-default-preferences",
    "title": "Pipeline defaults",
    "sections": [
      {
        "items": [
          {
            "id": "default-pipeline",
            "label": "Default pipeline",
            "type": "select",
            "selectOptions": [
              {
                "value": "federal-capture",
                "label": "Federal capture"
              },
              {
                "value": "state-local-capture",
                "label": "State and local capture"
              }
            ],
            "defaultSelected": "federal-capture"
          }
        ]
      }
    ]
  }
}