create_profile
Creates a database profile to store connection settings. Duplicate names trigger a unique constraint error, so update existing profiles with update_profile instead.
Instructions
新建 profile 到 profiles.db(INSERT-only)。已存在同名 profile 抛 UNIQUE 约束错误,改用 update_profile。SQLite 类型不要传 config.filePath。[group: profiles]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| role | No | ||
| tags | No | ||
| type | Yes | ||
| config | Yes | ||
| enabled | No | ||
| description | No | ||
| permissionMode | No | v5.0.0: 权限预设。设了之后会自动展开为 config.permissions(read/insert/update/delete/ddl/script/batch 之一) |