Documentation Index
Fetch the complete documentation index at: https://superwire.dev/llms.txt
Use this file to discover all available pages before exploring further.
Schemas define reusable object shapes.
schema task {
title: string
priority: enum { low, medium, high }
tags: [string]
}
Use schemas anywhere a type is expected.
input {
task: schema.task
}
agent summarize {
model: model.fast
instruction: "Summarize {{ input.task.title }}."
output {
summary: string
priority: schema.task.priority
}
}
Nested reusable fields
A schema field can be referenced from another schema.
schema shared {
status: enum {
draft
ready
published
}
}
schema article {
title: string
status: schema.shared.status
}
Field descriptions
Use triple-slash comments to document schema fields. These descriptions are preserved for schema-aware tooling and can improve structured output quality.
schema release_note {
/// Short title shown to the user
title: string
/// Severity bucket
impact: enum { low, medium, high }
}
Inline enum variants use commas:
enum { draft, ready, published }
Multiline enum variants do not require commas:
enum {
draft
ready
published
}