Skip to main content

Documentation Index

Fetch the complete documentation index at: https://superwire.dev/llms.txt

Use this file to discover all available pages before exploring further.

Type annotations appear after a field name.
input {
    project_id: number
    title: string
    urgent: boolean
}

Field descriptions

Use triple-slash comments for schema field descriptions.
schema task_summary {
    /// Short display title
    title: string

    /// One paragraph summary
    summary: string

    /// Routing priority
    priority: enum { low, medium, high }
}

Agent outputs

Agent output contracts are required and object-shaped.
agent summarize {
    model: model.fast
    instruction: "Summarize {{ input.title }}."

    output {
        summary: string
        action_items: [string]
    }
}

Reusing schemas

schema summary_output {
    summary: string
    action_items: [string]
}

agent summarize {
    model: model.fast
    instruction: "Summarize {{ input.title }}."
    output: schema.summary_output
}

Tool contracts

input {} and output {} on tools define schemas. They do not bind runtime values.
tool fetch_task from mcp.tasks.tool.fetch_task {
    input {
        task_id: number
    }

    output {
        title: string
        description: string
        status: string
    }
}
Runtime values are supplied with bindings {} at the call site.