model/complete
Runs one model completion with no session on the host’s model; acks accepted and settles exactly once on model/completed — 4 in flight per connection, host-enforced 45s timeout.
Parameters
Section titled “Parameters”Type: ModelCompleteParams
model/complete params: the retry id, 1 to 32
messages (the first and the last user), an optional system text and
the output bound. No session and no model: the host picks the model
(ADR 90352 D3). The host answers an unknown field with invalidParams;
the type itself accepts it.
| Field | Type | Stability | Presence | Description |
|---|---|---|---|---|
commandId |
string |
required | The client-minted UUIDv7 retry id (required). | |
maxTokens |
integer |
required | The most tokens the model may write. | |
messages |
ModelCompleteMessage[] | required | What the model answers, oldest first. | |
system |
string |
optional | The system text, when the caller sends one. |
Source
schema/msp/experimental/msp.schema.json#/methods/model~2Fcomplete
{ "description": "Runs one model completion with no session on the host's model; acks `accepted` and settles exactly once on `model/completed` — 4 in flight per connection, host-enforced 45s timeout.", "params": { "$ref": "#/$defs/ModelCompleteParams" }, "result": { "$ref": "#/$defs/ModelCompleteResult" }}