Skip to content

SettingsWriteValueParams

Experimental

settings/writeValue params: {keyPath, value} — one persisted dotted key path verbatim with its new absolute value. A null value clears the member to absent and the built-in fallback applies, for every key group. Values are absolute, so a retry is naturally idempotent and the method carries no commandId.

  • keyPath — Experimental
  • value — Experimental
Source

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

{
"description": "`settings/writeValue` params: `{keyPath, value}` — one persisted dotted\nkey path verbatim with its new absolute value. A `null`\nvalue clears the member to absent and the built-in fallback applies, for\nevery key group. Values are absolute, so a retry is naturally idempotent\nand the method carries no `commandId`.",
"properties": {
"keyPath": {
"description": "The persisted dotted key path verbatim (file spelling, transmitted\nas-is — a casing exemption in the `commandRejected`-reason sense,\nnot camelCase wire vocabulary).",
"type": "string"
},
"value": {
"description": "The new absolute value, or `null` to clear the member to absent.\nFree-form: the per-key shape is enforced at the config seam.",
"type": [
"string",
"boolean",
"null"
]
}
},
"required": [
"keyPath",
"value"
],
"type": "object",
"x-msp-descriptor": "settings/writeValue",
"x-msp-stability": "experimental"
}