Motion kit command

prefs.reset

Reset Settings

Resets the settings on `page` (general, labels, project…) or all settings to their defaults; script permissions stay as the user set them when a script calls it.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
no

Parameters

Parameters of prefs.reset
NameTypeRequiredDescription
pagestringnogeneral|labels|project|…

Call through motion_run

text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "prefs.reset" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: page. motion_run answers the step’s result in completed[i].result.

Result

Result of prefs.reset
NameTypeRequiredDescription
resetstringno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "reset": {
      "type": "string"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "page": {
      "description": "general|labels|project|…",
      "type": "string"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.