Skill schemas
How a launchable skill declares typed input and output JSON Schemas, how `$ref`s are resolved, and the structured result a cloud launch returns.
Authoring the schemas block
---
name: greet
description: Greet someone by name.
schemas:
inputs:
$ref: ./schemas/inputs.schema.json
output:
$ref: ./schemas/output.schema.json
---schemas:
output:
type: object
properties:
message: { type: string }
required: [message]
additionalProperties: false$ref forms
Form
Example
Resolved from
Local $refs are contained to the skill bundle
Remote $refs are fetched safely
Resolution precedence
The returned result
Consuming the result from the CLI
Last updated

