Show preferences panel MCP response
MCP tool response returned by the Show preferences panel MCP tool.
- Returned by: Show preferences panel MCP tool
- Response type: Structured app payload
Response Shape
The response includes the validated preferences-panel definition plus initial submitted-state fields.
| Field | Type | Notes |
|---|---|---|
id | string | Caller-provided preferences-panel identifier. |
| Preferences definition fields | mixed | Validated fields, sections, defaults, and labels from the live tool schema. |
interactionId | string | Generated preferences-panel interaction identifier. |
kind | string | preferences_panel. |
status | string | Initial interaction status, usually pending. |
isInteractive | boolean | Whether the user can submit preferences. |
submitted_state | string or null | Submitted state after the user saves or cancels. Starts as null. |
values | object or null | Submitted preference values. Starts as null. |
Follow-up Behavior
Use Interaction state MCP response after the user saves or cancels the preferences panel.
Example
{
"id": "capture-preferences",
"title": "Capture preferences",
"sections": [
{
"id": "notifications",
"label": "Notifications"
}
],
"interactionId": "preferences_panel:INTERACTION_ID",
"kind": "preferences_panel",
"status": "pending",
"isInteractive": true,
"submitted_state": null,
"values": null
}