Skip to content
Developer Preview

LaunchContext

Experimental

InitializeResult.launchContext (ADR 86936 D1): the two launcher variables of the serve process’s environment, verbatim, read once at process start; one value for every connection and session the process hosts. Each member is null when its variable is unset.

  • invocationContext — Experimental
  • invocationId — Experimental
Source

schema/msp/experimental/msp.schema.json#/types/LaunchContext

{
"description": "`InitializeResult.launchContext` (ADR 86936 D1): the two launcher\nvariables of the serve process's environment, verbatim, read once at\nprocess start; one value for every connection and session the process\nhosts. Each member is `null` when its variable is unset.",
"properties": {
"invocationContext": {
"description": "`META_3PAI_INVOCATION_CONTEXT` (required, nullable).",
"type": [
"string",
"null"
]
},
"invocationId": {
"description": "`META_3PAI_INVOCATION_ID` (required, nullable).",
"type": [
"string",
"null"
]
}
},
"required": [
"invocationContext",
"invocationId"
],
"type": "object",
"x-msp-descriptor": "InitializeResult.launchContext",
"x-msp-stability": "experimental"
}