Link
The Link type represents a web bookmark or URL reference.
Schema
Section titled “Schema”| Field | Type | Required | Description |
|---|---|---|---|
url | url | ✅ yes | The target URL (http/https) |
description | textarea | no | Description of the link |
Metadata
Section titled “Metadata”| Property | Value |
|---|---|
| Slug | link |
| ID | builtin-link |
| Icon | 🔗 |
| System | Yes |
| Layer | — (base type) |
Example
Section titled “Example”{ "title": "OpenAI API Docs", "minionTypeId": "builtin-link", "fields": { "url": "https://platform.openai.com/docs", "description": "Official OpenAI API documentation." }}import { TypeRegistry, createMinion } from 'minions-sdk';
const registry = new TypeRegistry();const type = registry.getBySlug('link')!;
const { minion, validation } = createMinion({ title: 'OpenAI Docs', fields: { url: 'https://platform.openai.com/docs', description: 'API docs.' },}, type);from minions import TypeRegistry, create_minion
registry = TypeRegistry()type_ = registry.get_by_slug("link")
minion, validation = create_minion( {"title": "OpenAI Docs", "fields": {"url": "https://platform.openai.com/docs", "description": "API docs."}}, type_,)