Skip to content
Developer Preview

skill/setActivation

Writes one skill’s activation in any scope through the single SkillsService::set_activation seam; answers the applied state plus previous. commandId-idempotent; each successful write is a skill/changed detection point.

Type: SkillSetActivationParams

skill/setActivation params: turn one skill on or off in any scope through the single SkillsService::set_activation seam.

Field Type Stability Presence Description
activation SkillActivationState required The activation to apply.
commandId string required The idempotency handle (UUIDv7).
scope SkillActivationScope required The activation target.
selector string required Names one skill: a bare or plugin-qualified token from the session’s full catalog, the row vocabulary.
sessionId string required The target session.
Source

schema/msp/experimental/msp.schema.json#/methods/skill~2FsetActivation

{
"description": "Writes one skill's activation in any scope through the single `SkillsService::set_activation` seam; answers the applied state plus `previous`. `commandId`-idempotent; each successful write is a `skill/changed` detection point.",
"params": {
"$ref": "#/$defs/SkillSetActivationParams"
},
"result": {
"$ref": "#/$defs/SkillSetActivationResult"
}
}