ActionController::MCPServer::UIMeta
Inherits JSON::Serializable < Struct < Value < Object
How hosts render a card, the _meta.ui of an MCP Apps resource.
Set a default with MCPServer.ui_meta, or override it for a card with a
<card>.meta.json file next to it, i.e. bookings/card.meta.json
Constructors
new(pull : JSON::PullParser)
Sourcenew(csp : ActionController::MCPServer::UICSP | Nil = nil, permissions : Nil | Hash(String, JSON::Any) = nil, domain : Nil | String = nil, prefers_border : Bool | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Source