create_note_type
Define and configure a new note type with custom description, agent instructions, and optional metadata schema for structured data organization in Flint Note.
Instructions
Create a new note type with description, agent instructions, and metadata schema
Input Schema
Name | Required | Description | Default |
---|---|---|---|
agent_instructions | No | Optional custom agent instructions for this note type | |
description | Yes | Description of the note type purpose and usage | |
metadata_schema | No | Optional metadata schema definition for this note type | |
type_name | Yes | Name of the note type (filesystem-safe) | |
vault_id | No | Optional vault ID to operate on. If not provided, uses the current active vault. |
Input Schema (JSON Schema)
{
"properties": {
"agent_instructions": {
"description": "Optional custom agent instructions for this note type",
"items": {
"type": "string"
},
"type": "array"
},
"description": {
"description": "Description of the note type purpose and usage",
"type": "string"
},
"metadata_schema": {
"description": "Optional metadata schema definition for this note type",
"properties": {
"fields": {
"items": {
"properties": {
"constraints": {
"description": "Optional field constraints (min, max, options, etc.)",
"type": "object"
},
"default": {
"description": "Optional default value for the field"
},
"description": {
"description": "Optional description of the field",
"type": "string"
},
"name": {
"description": "Name of the metadata field",
"type": "string"
},
"required": {
"description": "Whether this field is required",
"type": "boolean"
},
"type": {
"description": "Type of the metadata field",
"enum": [
"string",
"number",
"boolean",
"date",
"array",
"select"
],
"type": "string"
}
},
"required": [
"name",
"type"
],
"type": "object"
},
"type": "array"
},
"version": {
"description": "Optional schema version",
"type": "string"
}
},
"required": [
"fields"
],
"type": "object"
},
"type_name": {
"description": "Name of the note type (filesystem-safe)",
"type": "string"
},
"vault_id": {
"description": "Optional vault ID to operate on. If not provided, uses the current active vault.",
"type": "string"
}
},
"required": [
"type_name",
"description"
],
"type": "object"
}