Skip to content
Developer Preview

model/list

Reads the catalog of models the host will accept in session/setModel; a query, not a command.

Type: ModelListParams

model/list params: the discovery half of the model-picker gesture. A query, not a command — no commandId, no durable intake record, no view event.

Field Type Stability Presence Description
sessionId string optional When present, the row matching that session’s effective model is flagged isActive. When absent, no row is active — a client may list before it has a session.
Source

schema/msp/experimental/msp.schema.json#/methods/model~2Flist

{
"description": "Reads the catalog of models the host will accept in `session/setModel`; a query, not a command.",
"params": {
"$ref": "#/$defs/ModelListParams"
},
"result": {
"$ref": "#/$defs/ModelListResult"
}
}