Contact
The Contact type stores contact information for a person or entity.
Schema
Section titled “Schema”| Field | Type | Required | Description |
|---|---|---|---|
name | string | ✅ yes | Contact name |
email | email | no | Email address |
phone | string | no | Phone number |
company | string | no | Company or organization |
notes | textarea | no | Additional notes |
Metadata
Section titled “Metadata”| Property | Value |
|---|---|
| Slug | contact |
| ID | builtin-contact |
| Icon | 👤 |
| System | Yes |
| Layer | — (base type) |
Example
Section titled “Example”{ "title": "Jane Smith", "minionTypeId": "builtin-contact", "fields": { "name": "Jane Smith", "email": "jane@example.com", "company": "Acme AI", "notes": "Met at AI conference 2024. Interested in agent collaboration." }}import { TypeRegistry, createMinion } from 'minions-sdk';
const registry = new TypeRegistry();const type = registry.getBySlug('contact')!;
const { minion, validation } = createMinion({ title: 'Jane Smith', fields: { name: 'Jane Smith', email: 'jane@example.com' },}, type);from minions import TypeRegistry, create_minion
registry = TypeRegistry()type_ = registry.get_by_slug("contact")
minion, validation = create_minion( {"title": "Jane Smith", "fields": {"name": "Jane Smith", "email": "jane@example.com"}}, type_,)