{
"name": "update_mode",
"description": "Update a mode",
"inputSchema": {
"type": "object",
"properties": {
"tokenset_id": {
"type": "string",
"description": "The ID of the tokenset"
},
"mode_id": {
"type": "string",
"description": "The ID of the mode to update"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "The new name of the mode"
},
"is_default": {
"type": "boolean",
"description": "Whether this mode should be the default mode"
}
},
"required": ["tokenset_id", "mode_id"]
}
}