0001_create_mcp_tool.py•910 B
# Generated by Django 4.2.18 on 2025-03-28 15:35
from django.db import migrations, models
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='MCPTool',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False, unique=True)),
('name', models.CharField(max_length=255, unique=True)),
('description', models.TextField(blank=True)),
('module_path', models.CharField(blank=True, max_length=255)),
('parameters', models.JSONField(blank=True, null=True)),
],
options={
'verbose_name': 'MCP Tool',
'verbose_name_plural': 'MCP Tools',
'ordering': ['name'],
},
),
]