delete_note_type
Remove a specific note type in Flint Note's system, specifying actions for existing notes: prevent deletion, migrate to another type, or delete entirely. Requires confirmation for execution.
Instructions
Delete a note type and optionally handle existing notes
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Action to take with existing notes: error (prevent deletion), migrate (move to target type), delete (remove all notes) | |
confirm | No | Explicit confirmation required for deletion | |
target_type | No | Target note type for migration (required when action is migrate) | |
type_name | Yes | Name of the note type to delete |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"description": "Action to take with existing notes: error (prevent deletion), migrate (move to target type), delete (remove all notes)",
"enum": [
"error",
"migrate",
"delete"
],
"type": "string"
},
"confirm": {
"default": false,
"description": "Explicit confirmation required for deletion",
"type": "boolean"
},
"target_type": {
"description": "Target note type for migration (required when action is migrate)",
"type": "string"
},
"type_name": {
"description": "Name of the note type to delete",
"type": "string"
}
},
"required": [
"type_name",
"action"
],
"type": "object"
}